[openstack-dev] [nova] mutate config options on compute service

Chen CH Ji jichenjc at cn.ibm.com
Thu Jan 5 05:38:16 UTC 2017


According to http://docs.openstack.org/newton/config-reference/mutable.html
, seems this option is valid to compute service (as it says: Log onto the
compute node. )
but from following test result seems it's not honored by compute service,
is it a bug or wrong usage?

this is a all in one environment, Newton release version
I did change debug options from True to none (default to False) in the node
and tried command 'pkill -HUP nova'

compute logs shows it's still in DEBUG mode (and only service restart will
make the debug logs disappear)

2017-01-05 05:16:46.174 62225 INFO oslo_service.service
[req-de8349f2-ceb7-4eef-94ce-7cb09fd289bf - - - - -] Caught SIGHUP, exiting
2017-01-05 05:16:46.175 62225 DEBUG oslo_concurrency.lockutils
[req-de8349f2-ceb7-4eef-94ce-7cb09fd289bf - - - - -] Acquired semaphore
"singleton_lock"
lock /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:212
2017-01-05 05:16:46.175 62225 DEBUG oslo_concurrency.lockutils
[req-de8349f2-ceb7-4eef-94ce-7cb09fd289bf - - - - -] Releasing semaphore
"singleton_lock"
lock /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:225
2017-01-05 05:16:51.287 62225 DEBUG oslo_messaging._drivers.amqpdriver [-]
CALL msg_id: a86b7b1cb66745e485e5ab75a1eb2a83 exchange 'nova' topic
'conductor'
_send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:448
2017-01-05 05:16:51.295 62225 INFO nova.compute.manager
[req-de8349f2-ceb7-4eef-94ce-7cb09fd289bf - - - - -] Reloading compute RPC
API

api log shows it honored the flag and follow on there is no debug log based
on the 'Option DEFAULT.debug changed from [true] to [None]'

2017-01-05 05:16:46.130 62146 INFO oslo_service.service
[req-1dc88c01-f1a2-4553-b13d-0a06f8242879 - - - - -] Child caught SIGHUP,
exiting
2017-01-05 05:16:46.130 62146 DEBUG oslo_concurrency.lockutils
[req-1dc88c01-f1a2-4553-b13d-0a06f8242879 - - - - -] Acquired semaphore
"singleton_lock"
lock /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:212
2017-01-05 05:16:46.130 62146 DEBUG oslo_concurrency.lockutils
[req-1dc88c01-f1a2-4553-b13d-0a06f8242879 - - - - -] Releasing semaphore
"singleton_lock"
lock /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:225
2017-01-05 05:16:46.151 62145 INFO oslo_config.cfg
[req-1dc88c01-f1a2-4553-b13d-0a06f8242879 - - - - -] Option DEFAULT.debug
changed from [true] to [None]
2017-01-05 05:16:46.151 62145 INFO nova.wsgi
[req-1dc88c01-f1a2-4553-b13d-0a06f8242879 - - - - -] Stopping WSGI server.
2017-01-05 05:16:46.151 62145 INFO nova.osapi_compute.wsgi.server
[req-3d3dfc79-4c42-460e-8311-7eab381adff3 - - - - -] (62145) wsgi exited,
is_accepting=True
2017-01-05 05:16:46.152 62145 INFO nova.wsgi
[req-1dc88c01-f1a2-4553-b13d-0a06f8242879 - - - - -] WSGI server has
stopped.
2017-01-05 05:16:46.154 62146 INFO oslo_config.cfg
[req-1dc88c01-f1a2-4553-b13d-0a06f8242879 - - - - -] Option DEFAULT.debug
changed from [true] to [None]
2017-01-05 05:16:46.155 62146 INFO nova.wsgi
[req-1dc88c01-f1a2-4553-b13d-0a06f8242879 - - - - -] Stopping WSGI server.
........
<there used to be some debug log here if debug is True>
........
2017-01-05 05:16:46.164 62146 INFO nova.osapi_compute.wsgi.server
[req-c0aaa8de-b181-4fb0-a3e1-0e4ed201457b - - - - -] (62146) wsgi starting
up on https://0.0.0.0:8774
Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM at IBMCN   Internet: jichenjc at cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
Beijing 100193, PRC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170105/cfb92388/attachment.html>


More information about the OpenStack-dev mailing list