yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62235
[Bug 1671847] Re: Incorrect set deprecated flag for notify_on_state_change
Reviewed: https://review.openstack.org/444357
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=abd18a12e3e6b571d35499857a005a7bfd7237a4
Submitter: Jenkins
Branch: master
commit abd18a12e3e6b571d35499857a005a7bfd7237a4
Author: Ionuț Bîru <ionut@xxxxxxxxx>
Date: Fri Mar 10 17:22:22 2017 +0200
Correctly set up deprecation warning
In the current state, no warning was output in the logs.
With this fix, a warning is output in the logs and the value from
[DEFAULT] is used correctly.
Change-Id: I6a7f856e583aed31a3316c0b174a5559cd09e34b
Closes-Bug: #1671847
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1671847
Title:
Incorrect set deprecated flag for notify_on_state_change
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) ocata series:
In Progress
Bug description:
grep notify_on_state_change /var/log/nova/nova-api-os-compute.log
2017-03-10 16:26:51.974 13421 DEBUG oslo_service.service [req-f7d5880a-5c31-491b-b821-45666eddc10a - - - - -] notifications.notify_on_state_change = None log_opt_values /openstack/venvs/nova-15.0.0/lib/python2.7/site-packages/oslo_config/cfg.py:2744
2017-03-10 16:30:19.035 13435 DEBUG oslo_service.service [req-8c2f196d-5cac-430c-8194-1cc560e73636 - - - - -] notifications.notify_on_state_change = None log_opt_values /openstack/venvs/nova-15.0.0/lib/python2.7/site-packages/oslo_config/cfg.py:2744
2017-03-10 16:34:34.418 13510 DEBUG oslo_service.service [req-310dc3b3-db07-4290-acec-f758d246452b - - - - -] notifications.notify_on_state_change = vm_and_task_state log_opt_values /openstack/venvs/nova-15.0.0/lib/python2.7/site-packages/oslo_config/cfg.py:2744
No warning return. The 3rd line has the correct value after setting in
[notifications] section.
I'll submit the patch
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1671847/+subscriptions
References