Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2014-03-10 07:30:58 -0500

dubi gravatar image

Packstack issue

Running packstack --alinone on fedora -19 (havan openstack) to completion (success) I see upon issuing

'openstack-status' error 500 for openstack-dashboard component with the following error message at the end of /var/log/horizon/horizon.log :

File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py",

line 36, in <module>

from openstack_dashboard.api import base

ImportError: cannot import name base ~

Also: 'failed' for the last configured component (heat in my case) where /var/log/heat/engine.log has :

2014-03-10 07:09:25.612 2930 TRACE heat @six.add_metaclass(abc.ABCMeta) 2014-03-10 07:09:25.612 2930 TRACE heat AttributeError: 'module' object has no attribute 'add_metaclass'

Any idea how to get rid of this or what am I doing wrong ?

Besides i have in /var/log/neutron\dhcp-agent.log:

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap',

'/etc/neutron/rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-b0c8d366-8714-464d-bfb1-281442a88fbf']

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns

failed: Permission denied\n'

Packstack issue

Running packstack --alinone on fedora -19 (havan openstack) to completion (success) I see upon issuing

'openstack-status' error 500 for openstack-dashboard component with the following error message at the end of /var/log/horizon/horizon.log :

File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py",

line 36, in <module>

from openstack_dashboard.api import base

ImportError: cannot import name base ~

Also: 'failed' for the last configured component (heat in my case) where /var/log/heat/engine.log has :

2014-03-10 07:09:25.612 2930 TRACE heat @six.add_metaclass(abc.ABCMeta) 2014-03-10 07:09:25.612 2930 TRACE heat AttributeError: 'module' object has no attribute 'add_metaclass'

Any idea how to get rid of this or what am I doing wrong ?

Besides i have in /var/log/neutron\dhcp-agent.log:

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap',

'/etc/neutron/rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-b0c8d366-8714-464d-bfb1-281442a88fbf']

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns

failed: Permission denied\n'

Packstack issue

Running packstack --alinone on fedora -19 (havan openstack) to completion (success) I see upon issuing

'openstack-status' error 500 for openstack-dashboard component with the following error message at the end of /var/log/horizon/horizon.log :

File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py",

line 36, in <module>

from openstack_dashboard.api import base

ImportError: cannot import name base ~

This shows up before and after the necessary reboot ( using Fedora -19 with kernel 3.9.5-301.fc19.x86_64 or 3.13.5-103.fc19.x86_64)

Also: 'failed' for the last configured component (heat in my case) where /var/log/heat/engine.log has :

2014-03-10 07:09:25.612 2930 TRACE heat @six.add_metaclass(abc.ABCMeta) 2014-03-10 07:09:25.612 2930 TRACE heat AttributeError: 'module' object has no attribute 'add_metaclass'

Any idea how to get rid of this or what am I doing wrong ?

Besides i have in /var/log/neutron\dhcp-agent.log:

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap',

'/etc/neutron/rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-b0c8d366-8714-464d-bfb1-281442a88fbf']

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns

failed: Permission denied\n'

Packstack issue

Running packstack --alinone --allinone on fedora -19 (havan openstack) to completion (success) I see upon issuing

'openstack-status' error 500 for openstack-dashboard component with the following error message at the end of /var/log/horizon/horizon.log :

File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py",

line 36, in <module>

from openstack_dashboard.api import base

ImportError: cannot import name base ~

This shows up before and after the necessary reboot ( using Fedora -19 with kernel 3.9.5-301.fc19.x86_64 or 3.13.5-103.fc19.x86_64)

Also: 'failed' for the last configured component (heat in my case) where /var/log/heat/engine.log has :

2014-03-10 07:09:25.612 2930 TRACE heat @six.add_metaclass(abc.ABCMeta) 2014-03-10 07:09:25.612 2930 TRACE heat AttributeError: 'module' object has no attribute 'add_metaclass'

Any idea how to get rid of this or what am I doing wrong ?

Besides i have in /var/log/neutron\dhcp-agent.log:

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap',

'/etc/neutron/rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-b0c8d366-8714-464d-bfb1-281442a88fbf']

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns

failed: Permission denied\n'

Packstack issue

Running packstack --allinone on fedora -19 (havan openstack) to completion (success) I see upon issuing

'openstack-status' error 500 for openstack-dashboard component with the following error message at the end of /var/log/horizon/horizon.log :

File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py",

line 36, in <module>

from openstack_dashboard.api import base

ImportError: cannot import name base ~

This shows up before and after the necessary reboot ( using Fedora -19 with kernel 3.9.5-301.fc19.x86_64 or 3.13.5-103.fc19.x86_64)

Also: 'failed' for the last configured component (heat in my case) where /var/log/heat/engine.log has :

2014-03-10 07:09:25.612 2930 TRACE heat @six.add_metaclass(abc.ABCMeta) 2014-03-10 07:09:25.612 2930 TRACE heat AttributeError: 'module' object has no attribute 'add_metaclass'

NOTE: -allinone means CONFIG_PROVISION_DEMO=y and CONFIG_NEUTRON_USE_NAMESPACES=y.

Any idea how to get rid of this or what am I doing wrong ?

Besides i have in /var/log/neutron\dhcp-agent.log:

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap',

'/etc/neutron/rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-b0c8d366-8714-464d-bfb1-281442a88fbf']

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns

failed: Permission denied\n'

Packstack issue

Running packstack --allinone on fedora -19 (havan openstack) to completion (success) I see upon issuing

'openstack-status' error 500 I have the following in /var/log/neutron\dhcp-agent.log which means dhcp is not giving addresses to local private net guets:

2014-03-11 07:53:45.642 Unable to enable dhcp for openstack-dashboard component with the following error message at the end of /var/log/horizon/horizon.log :

File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py",

line 36, in <module>

from openstack_dashboard.api import base

ImportError: cannot import name base ~

This shows up before and after the necessary reboot ( using Fedora -19 with kernel 3.9.5-301.fc19.x86_64 or 3.13.5-103.fc19.x86_64)

Also: 'failed' for the last configured component (heat in my case) where /var/log/heat/engine.log has :

2014-03-10 07:09:25.612 2930 TRACE heat @six.add_metaclass(abc.ABCMeta) 2014-03-10 07:09:25.612 2930 TRACE heat AttributeError: 'module' object has no attribute 'add_metaclass'157603cd-bb14-4511-b87c-62c8d16c54f8.

....

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap',

'/etc/neutron/rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-b0c8d366-8714-464d-bfb1-281442a88fbf']

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns

failed: Permission denied\n'

NOTE: -allinone means CONFIG_PROVISION_DEMO=y and CONFIG_NEUTRON_USE_NAMESPACES=y.

But even if I give them value =n and re-packstack+ reboot the problem remains . Maybe because for allinone system (only 1 host) namespace mode is the only option taken by the builder also the answer file has : CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local.

     -Making neutron (user that issues the mount --make-shared) a sudoer (by visudo ) with no need for password 
       does not help.

Any idea how to get rid of this or what am I doing wrong ? will fedora-20 solve the problem ?

Besides i have in /var/log/neutron\dhcp-agent.log:

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap',

'/etc/neutron/rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-b0c8d366-8714-464d-bfb1-281442a88fbf']

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns

failed: Permission denied\n'

Packstack issue

Running packstack --allinone on fedora -19 (havan openstack) to completion (success) I see upon issuing

I have the following in /var/log/neutron\dhcp-agent.log which means dhcp is not giving addresses to local private net guets:

2014-03-11 07:53:45.642 Unable to enable dhcp for 157603cd-bb14-4511-b87c-62c8d16c54f8.

....

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap',

'/etc/neutron/rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-b0c8d366-8714-464d-bfb1-281442a88fbf']

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns

failed: Permission denied\n'

NOTE: -allinone means CONFIG_PROVISION_DEMO=y and CONFIG_NEUTRON_USE_NAMESPACES=y. CONFIG_NEUTRON_USE_NAMESPACES=y (using neutron !) But even if I give them value =n and re-packstack+ reboot the problem remains . Maybe because for allinone system (only 1 host) namespace mode is the only option taken by the builder also the answer file has : CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local.

     -Making the user neutron (user that issues the mount --make-shared) a sudoer (by visudo ) )

with no need for password does not help. help.

Any idea how to get rid of this or what am I doing wrong ? will fedora-20 solve the problem ?

Packstack issue

I am Running packstack --allinone on fedora -19 (havan openstack) to completion (success) I . This happens in the last week and I did not see upon issuing

I have during such earlier install: when I do openstack-status It fails with the following in /var/log/neutron\dhcp-agent.log error on screen which means dhcp is not giving addresses also appear in the last installed component log file (in this case - heat engine) :

014-03-11 15:11:27.199 25718 CRITICAL heat [-] 'module' object has no attribute 'add_metaclass'

2014-03-11 15:11:27.199 25718 TRACE heat Traceback (most recent call last):

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/bin/heat-engine", line 63, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from heat.engine import service as engine

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/heat/engine/service.py", line 31, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from heat.engine import clients

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/heat/engine/clients.py", line 26, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from novaclient import shell as novashell

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 47, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat import novaclient.extension

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/extension.py", line 16, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from novaclient import base

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 32, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from novaclient.openstack.common.apiclient import base

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/openstack/common /apiclient/base.py", line 204, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat @six.add_metaclass(abc.ABCMeta)

2014-03-11 15:11:27.199 25718 TRACE heat AttributeError: 'module' object has no attribute 'add_metaclass'

I solve it by upgrading six package to local private net guets:

2014-03-11 07:53:45.642 Unable to enable dhcp for 157603cd-bb14-4511-b87c-62c8d16c54f8.

....

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap',

'/etc/neutron/rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-b0c8d366-8714-464d-bfb1-281442a88fbf']

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-10 08:27:59.849 17100 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns

failed: Permission denied\n'

NOTE: -allinone means CONFIG_PROVISION_DEMO=y 1.4.0 (saw in the web) and CONFIG_NEUTRON_USE_NAMESPACES=y (using neutron !) But even reboot but I wonder if I give them value =n it should be like this and re-packstack+ reboot the if it indicates some problem remains . Maybe because for with the installed code / repository or whether it has implication on the functionality of the installed Openstack

Does anybody else see it in allinone system (only 1 host) namespace mode is the only option taken by the builder also the answer file has : CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local.

     -Making the user neutron (user that issues the mount --make-shared) a sudoer (by visudo )

with no need for password does not help.

Any idea how to get rid of this install (fedora 19) or what am I doing something wrong ? will fedora-20 solve the problem ?

Packstack issue

I am Running packstack --allinone on fedora -19 (havan openstack) to completion (success) . This happens in the last week and I did not see it during such earlier install: when I do openstack-status It fails with the following error on screen which also appear in the last installed component log file (in this case - heat engine) :

014-03-11 15:11:27.199 25718 CRITICAL heat [-] 'module' object has no attribute 'add_metaclass'

2014-03-11 15:11:27.199 25718 TRACE heat Traceback (most recent call last):

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/bin/heat-engine", line 63, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from heat.engine import service as engine

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/heat/engine/service.py", line 31, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from heat.engine import clients

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/heat/engine/clients.py", line 26, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from novaclient import shell as novashell

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 47, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat import novaclient.extension

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/extension.py", line 16, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from novaclient import base

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 32, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from novaclient.openstack.common.apiclient import base

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/openstack/common /apiclient/base.py", line 204, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat @six.add_metaclass(abc.ABCMeta)

2014-03-11 15:11:27.199 25718 TRACE heat AttributeError: 'module' object has no attribute 'add_metaclass'

I solve it by upgrading six package to 1.4.0 (saw in the web) and reboot but I wonder if it should be like this and if it indicates some problem with the installed code / repository or whether it has implication on the functionality of the installed Openstack . 10 days ago I did not get the error and the Havana code could live with the older (1.3.0) six package code

Does anybody else see it in allinone install (fedora 19) or am I doing something wrong ?

Packstack issue

I am Running re-Running packstack --allinone on fedora -19 (havan openstack) .

I now want to change CONFIG_PROVISION_DEMO_FLOATRANGE which states the address range of the floating addresses assigned to completion (success) . VMs from its default values .

This happens in the last week and

But I did not see it during such earlier install: when I do openstack-status It fails with receive the following error on screen which also appear in the last installed component log file (in this case - heat engine) :

014-03-11 15:11:27.199 25718 CRITICAL heat [-] 'module' object has no attribute 'add_metaclass'ERROR : Error appeared during Puppet run: 9.148.26.146_provision.pp Error: Property cidr does not support being updated

2014-03-11 15:11:27.199 25718 TRACE heat Traceback (most recent call last):

2014-03-11 15:11:27.199 25718 TRACE heat Is there a way to fix that aside from File "/usr/bin/heat-engine", line 63, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat installing fedora again and running packstack from start (first time) from heat.engine import service as engine

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/heat/engine/service.py", line 31, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from heat.engine import clients

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/heat/engine/clients.py", line 26, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from novaclient import shell as novashell

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 47, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat import novaclient.extension

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/extension.py", line 16, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from novaclient import base

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 32, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat from novaclient.openstack.common.apiclient import base

2014-03-11 15:11:27.199 25718 TRACE heat File "/usr/lib/python2.7/site-packages/novaclient/openstack/common /apiclient/base.py", line 204, in <module>

2014-03-11 15:11:27.199 25718 TRACE heat @six.add_metaclass(abc.ABCMeta)

2014-03-11 15:11:27.199 25718 TRACE heat AttributeError: 'module' object has no attribute 'add_metaclass'

I solve it by upgrading six package to 1.4.0 (saw in the web) and reboot but I wonder if it should be like this and if it indicates some problem with the installed code / repository or whether it has implication on the functionality of the installed Openstack . 10 days ago I did not get the error and the Havana code could live with the older (1.3.0) six package code

Does anybody else see it in allinone install (fedora 19) or am I doing something wrong ?

Packstack issue

I am re-Running packstack --allinone on fedora -19 (havan openstack) .

I now want to change CONFIG_PROVISION_DEMO_FLOATRANGE which states the address range of the floating addresses assigned to VMs from its default values .

But re - running the packstack I receive the following error :

ERROR : Error appeared during Puppet run: 9.148.26.146_provision.pp Error: Property cidr does not support being updated

Is there a way to fix that aside from installing fedora again and running packstack from start (first time) ?