[Bug 1488809] Re: [Juno][UCA] Non default configuration sections ignored for nova.conf

Bogdan Dobrelya bdobrelia at mirantis.com
Thu Aug 27 12:06:55 UTC 2015


** Changed in: cloud-archive
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ubuntu-cloud-archive.
https://bugs.launchpad.net/bugs/1488809

Title:
  [Juno][UCA] Non default configuration sections ignored for nova.conf

Status in ubuntu-cloud-archive:
  Invalid
Status in OpenStack Compute (nova):
  Invalid
Status in oslo.config:
  Invalid

Bug description:
  Non default configuration sections [glance], [neutron] ignored for
  nova.conf then installed from UCA packages:

  How to reproduce:
  1) Install and configure OpenStack Juno Nova with Neutron at compute node using UCA (http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages):
  python-oslo.config 1:1.2.1-0ubuntu2
  python-oslo.messaging 1.3.0-0ubuntu1.2
  python-oslo.rootwrap 1.2.0-0ubuntu1
  nova-common 1:2014.1.5-0ubuntu1.2
  python-nova 1:2014.1.5-0ubuntu1.2
  neutron-common 1:2014.1.5-0ubuntu1

  /etc/nova/nova.conf example:
  [DEFAULT]
  debug=True
  ...
  [glance]
  api_servers=10.0.0.3:9292

  [neutron]
  admin_auth_url=http://10.0.0.3:5000/v2.0
  admin_username=admin
  admin_tenant_name=services
  admin_password=admin
  url=http://10.0.0.3:9696
  ...

  2) From nova log, check which values has been applied:
  # grep -E 'admin_auth_url\s+=|admin_username\s+=|api_servers\s+=' /var/log/nova/nova-compute.log
  2015-08-26 07:34:48.193 30535 DEBUG nova.openstack.common.service [-] glance_api_servers             = ['192.168.121.14:9292'] log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
  2015-08-26 07:34:48.210 30535 DEBUG nova.openstack.common.service [-] neutron_admin_auth_url         = http://localhost:5000/v2.0 log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
  2015-08-26 07:34:48.211 30535 DEBUG nova.openstack.common.service [-] neutron_admin_username         = None log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941

  Expected:
  configuration options to be applied from [glance], [neutron] sections according to the docs http://docs.openstack.org/juno/config-reference/content/list-of-compute-config-options.html

  Actual:
  Defaults for the deprecated options were applied from the [DEFAULT] section instead

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1488809/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list