aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhuvan Arumugam (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AURORA-535) HealthCheckConfig flags not compatible in osx aurora client
Date Tue, 17 Jun 2014 19:39:04 GMT
Bhuvan Arumugam created AURORA-535:
--------------------------------------

             Summary: HealthCheckConfig flags not compatible in osx aurora client
                 Key: AURORA-535
                 URL: https://issues.apache.org/jira/browse/AURORA-535
             Project: Aurora
          Issue Type: Bug
          Components: Client
    Affects Versions: 0.5.0
            Reporter: Bhuvan Arumugam


We use HealthCheckConfig in our jobs. The HealthCheckConfig object use uri and expected_response
parameters. We could create, update, cancel these jobs from aurora client on linux. We couldn't
create, update or cancel these jobs from aurora client on osx. It complain following error.
We use latest HEAD if it matter:

{code}
Traceback (most recent call last):
  File "/Users/bhuvan/.pex/install/twitter.common.app-0.3.0-py26-none-any.whl.39a7d9ff23948a078cf535ba2b92409edd73deb8/twitter.common.app-0.3.0-py26-none-any.whl/twitter/common/app/application.py",
line 738, in _wrap_method
    return_code = method()
  File "/Users/bhuvan/.pex/install/twitter.common.app-0.3.0-py26-none-any.whl.39a7d9ff23948a078cf535ba2b92409edd73deb8/twitter.common.app-0.3.0-py26-none-any.whl/twitter/common/app/application.py",
line 760, in <lambda>
    main = lambda: main_method(*args, **kwargs)
  File "/usr/local/bin/aurora_client.pex/apache/aurora/client/base.py", line 72, in wrapped_function
    return fn(*args)
  File "/usr/local/bin/aurora_client.pex/apache/aurora/client/commands/core.py", line 277,
in inspect
    config = get_job_config(job_spec, config_file, options)
  File "/usr/local/bin/aurora_client.pex/apache/aurora/client/commands/core.py", line 97,
in get_job_config
    select_env=select_env)
  File "/usr/local/bin/aurora_client.pex/apache/aurora/client/config.py", line 262, in get_config
    select_env=select_env)
  File "/usr/local/bin/aurora_client.pex/apache/aurora/config/__init__.py", line 117, in load
    env = AuroraConfigLoader.load(filename)
  File "/usr/local/bin/aurora_client.pex/apache/aurora/config/loader.py", line 61, in load
    return cls.load_raw(loadable).environment
  File "/usr/local/bin/aurora_client.pex/apache/aurora/config/loader.py", line 65, in load_raw
    return cls(loadable)
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/config.py",
line 165, in __init__
    root_executor(initial_config, context)
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/config.py",
line 63, in ast_executor
    cls.compile_into(context, from_path, config_file)
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/config.py",
line 54, in compile_into
    context.compile(from_path, config_file, fp.read())
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/config.py",
line 29, in compile
    Compatibility.exec_function(compile(data, include_string, 'exec'), self.environment)
  File "<exec_function>", line 5, in exec_function
  File "MZInit.aurora", line 3, in <module>
    include('../../common/webobjects.aurora')
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/config.py",
line 163, in <lambda>
    self._environment.update(include=lambda fn: root_executor(fn, context))
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/config.py",
line 63, in ast_executor
    cls.compile_into(context, from_path, config_file)
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/config.py",
line 54, in compile_into
    context.compile(from_path, config_file, fp.read())
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/config.py",
line 29, in compile
    Compatibility.exec_function(compile(data, include_string, 'exec'), self.environment)
  File "<exec_function>", line 5, in exec_function
  File "../../common/webobjects.aurora", line 90, in <module>
    WebObjectsService = get_webobjects_service()
  File "../../common/webobjects.aurora", line 13, in get_webobjects_service
    initial_interval_secs=180
  File "health.aurora", line 26, in get_health_check_process
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/composite.py",
line 161, in __init__
    self._update_schema_data(**copy.copy(kw))
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/composite.py",
line 180, in _update_schema_data
    self._schema_data[attr] = self._process_schema_attribute(attr, value)
  File "/Users/bhuvan/.pex/install/pystachio-0.7.2-py26-none-any.whl.05c2aeda925d91775f1c6f3231b313815800e1b0/pystachio-0.7.2-py26-none-any.whl/pystachio/composite.py",
line 169, in _process_schema_attribute
    raise AttributeError('Unknown schema attribute %s' % attr)
AttributeError: Unknown schema attribute uri
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message