"Failed to format sample" warning in neutron.conf.sample file

Bug #1561233 reported by Matt Kassawara
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
New
Undecided
Anseela M M

Bug Description

After generating the neutron configuration files, the following warnings appear in the [nova] section of the neutron.conf.sample file:

#
# From nova.auth
#

# Warning: Failed to format sample for auth_url
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for default_domain_id
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for default_domain_name
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for domain_id
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for domain_name
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for password
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for project_domain_id
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for project_domain_name
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for project_id
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for project_name
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for tenant_id
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for tenant_name
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for trust_id
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for user_domain_id
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for user_domain_name
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for user_id
# isinstance() arg 2 must be a class, type, or tuple of classes and types

# Warning: Failed to format sample for username
# isinstance() arg 2 must be a class, type, or tuple of classes and types

Revision history for this message
Henry Gessau (gessau) wrote :

I think this is a problem in oslo.config

Revision history for this message
Henry Gessau (gessau) wrote :

These opts don't have a mutable property.

Revision history for this message
Henry Gessau (gessau) wrote :
Revision history for this message
Henry Gessau (gessau) wrote :
Download full text (3.9 KiB)

However, when I use the oslo.config patch, I see the following warnings:

/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for auth_url (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for default_domain_id (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for default_domain_name (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for domain_id (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for domain_name (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for password (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for project_domain_id (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for project_domain_name (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for project_id (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for project_name (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for tenant_id (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for tenant_name (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for trust_id (<class 'keystoneauth1.loading.opts.Opt'>): 'Opt' object has no attribute 'mutable'
  (opt.dest, opt.__class__, err),
/home/henry/Dev/oslo/config/oslo_config/generator.py:210: UserWarning: Incompatible option class for user_do...

Read more...

Changed in neutron:
assignee: nobody → Anseela M M (anseela-m00)
Revision history for this message
Henry Gessau (gessau) wrote :
no longer affects: oslo.config
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.