[openstack-dev] [Vitrage] [aodh] Generig alarm help

Weyl, Alexey (Nokia - IL) alexey.weyl at nokia.com
Wed Dec 21 06:55:00 UTC 2016


Hi,

I have pushed the first code of the generic alarm to the aodhclient.

I encountered an error there in py27 which I don't quite understand why it happens because I have changed all the correct places in the client (maybe I need to have some appropriate code for this in the aodh project itself as well?)

The error is:
FAIL: aodhclient.tests.functional.test_alarm.AodhClientTest.test_generic_scenario
tags: worker-0
----------------------------------------------------------------------
Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "aodhclient/tests/functional/test_alarm.py", line 436, in test_generic_scenario
    '--project-id %s' % project_id))
  File "aodhclient/tests/functional/base.py", line 67, in aodh
    return self.clients.aodh(*args, **kwargs)
  File "aodhclient/tests/functional/base.py", line 44, in aodh
    merge_stderr, self.cli_dir)
  File "/home/jenkins/workspace/gate-python-aodhclient-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/tempest/lib/cli/base.py", line 68, in execute
    result_err)
tempest.lib.exceptions.CommandFailed: Command '['/home/jenkins/workspace/gate-python-aodhclient-python27-ubuntu-xenial/.tox/py27/bin/aodh', '--os-auth-plugin', 'aodh-noauth', '--user-id', '3862e83e-a752-42fa-8a4f-a66bdd23c503', '--project-id', 'b4cdce18-f33e-4d6a-9d4f-9e6d4c4437bb', '--aodh-endpoint', 'http://localhost:8042', 'alarm', 'create', '--type', 'generic', '--name', 'gen_alarm_1', '--project-id', 'd2243574-8472-46b0-a63b-70f6bba6fd99']' returned non-zero exit status 1.
stdout:

stderr:
Unknown attribute for argument data: generic_rule (HTTP 400) (Request-ID: req-2e5db4a4-a07b-40fa-92a8-c3eeae6155e4)

You can find it here:
https://review.openstack.org/#/c/413008/

Can any please take a look at it, and knows why it happens?

Thanks in advance,
Alexey




More information about the OpenStack-dev mailing list