← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1525275] Re: Loading configuration items from keystoneauth is causing warnings

 

** Also affects: keystoneauth
   Importance: Undecided
       Status: New

** No longer affects: keystone

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1525275

Title:
  Loading configuration items from keystoneauth is causing warnings

Status in keystoneauth:
  New

Bug description:
  Neutron uses the oslo-config-generator to automatically generate
  configuration files.

  Some configuration items are authentication items retrieved from
  keystone like 'domain-id', 'password' etc. These items are retrieved
  in
  https://github.com/openstack/neutron/blob/master/neutron/opts.py#L275.

  The following warnings are now been output when you run the tox target
  to generate config items (tox -e genconfig) or pep8 as it also
  generates the config files:

  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option auth_type should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option auth_section should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option auth-url should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option default-domain-id should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option default-domain-name should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option domain-id should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option domain-name should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option password should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option project-domain-id should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option project-domain-name should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option project-id should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option project-name should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option tenant-id should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option tenant-name should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option trust-id should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option user-domain-id should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option user-domain-name should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option user-id should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)
  /opt/stack/neutron/.tox/pep8/local/lib/python2.7/site-packages/oslo_config/generator.py:204: UserWarning: Option user-name should have a type derived from types.ConfigType instead of <type 'str'>
    warnings.warn(msg)

  These warnings may have been introduced with the following change:
  https://github.com/openstack/neutron/commit/a37e11f637b21785307e14e9725de3db14a1d37b

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystoneauth/+bug/1525275/+subscriptions


References