Re: [openstack-dev] [Vitrage] [aodh] Generig alarm help
Thanks Julien (I thought that this may be the problem, but wasn't sure). I have pushed some changes to gerrit for aodh and the client. If you could take a look and give some feedback that would be great :) BR, Alexey > -Original Message- > From: Julien Danjou [mailto:jul...@danjou.info] > Sent: Wednesday, December 21, 2016 5:20 PM > To: Weyl, Alexey (Nokia - IL) > Cc: OpenStack Development Mailing List (not for usage questions) > Subject: Re: [openstack-dev] [Vitrage] [aodh] Generig alarm help > > On Wed, Dec 21 2016, Weyl, Alexey (Nokia - IL) wrote: > > > 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 client tests are ran against Aodh itself… and since you did not > implement that in Aodh, well, it can't work. > > So you need to move to the next step to have the tests working one day. > :) > > -- > Julien Danjou > ;; Free Software hacker > ;; https://julien.danjou.info __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Vitrage] [aodh] Generig alarm help
On Wed, Dec 21 2016, Weyl, Alexey (Nokia - IL) wrote: > 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 client tests are ran against Aodh itself… and since you did not implement that in Aodh, well, it can't work. So you need to move to the next step to have the tests working one day. :) -- Julien Danjou ;; Free Software hacker ;; https://julien.danjou.info signature.asc Description: PGP signature __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Vitrage] [aodh] Generig alarm help
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 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev