Description of problem: Seems like python-neutronclient is missing dependency. During Packstack installation "neutron subnet-list" fails with ImportError: ^[[mNotice: Puppet::Type::Neutron_subnet::ProviderNeutron: Unable to complete neutron request due to non-fatal error: "Execution of '/usr/bin/neutron subnet-list --format=csv --column=id --quote=none' returned 1: Traceback (most recent call last): File "/usr/bin/neutron", line 6, in <module> from neutronclient.shell import main File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 31, in <module> import os_client_config ImportError: No module named os_client_config". Retrying for 10 sec.^[[0m Version-Release number of selected component (if applicable): [root@test-controller ~]# rpm -qa python-neutron* python-neutron-lib-0.0.3-0.20160227020344.999828a.el7.centos.noarch python-neutronclient-4.1.2-0.20160304195803.5d28651.el7.centos.noarch python-neutron-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch [root@test-controller ~]#
Hmm, so rpm seems to be installed: Package python2-os-client-config-1.16.1-0.20160225220243.22ee863.el7.centos.noarch already installed and latest version And importing the module manually in Python shell works, so problem might be somewhere else then packaging.
Actually this is Packstack issue. On distributed setup Packstack is trying to run "neutron subnet-list" on network node, which fails of course, because client stuff is installed only on controller node.
Applying fd00::1b17_provision_demo_bridge.pp fd00::1b17_provision_demo_bridge.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: fd00::1b17_provision_demo_bridge.pp ImportError: No module named os_client_config". Retrying for 10 sec. You will find full trace in log /var/tmp/packstack/20160310-163421-reNyOf/manifests/fd00::1b17_provision_demo_bridge.pp.log [root@test-controller ~(keystone_admin)]# cat /var/tmp/packstack/20160310-163421-reNyOf/manifests/fd00::1b17_provision_demo_bridge.pp.log Notice: Compiled catalog for test-network.internal in environment production in 0.14 seconds Notice: Puppet::Type::Neutron_subnet::ProviderNeutron: Unable to complete neutron request due to non-fatal error: "Execution of '/usr/bin/neutron subnet-list --format=csv --column=id --quote=none' returned 1: Traceback (most recent call last): File "/usr/bin/neutron", line 6, in <module> from neutronclient.shell import main File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 31, in <module> import os_client_config ImportError: No module named os_client_config". Retrying for 10 sec. Notice: Puppet::Type::Neutron_subnet::ProviderNeutron: Unable to complete neutron request due to non-fatal error: "Execution of '/usr/bin/neutron subnet-list --format=csv --column=id --quote=none' returned 1: Traceback (most recent call last): File "/usr/bin/neutron", line 6, in <module> from neutronclient.shell import main File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 31, in <module> import os_client_config ImportError: No module named os_client_config". Retrying for 8 sec. Notice: Puppet::Type::Neutron_subnet::ProviderNeutron: Unable to complete neutron request due to non-fatal error: "Execution of '/usr/bin/neutron subnet-list --format=csv --column=id --quote=none' returned 1: Traceback (most recent call last): File "/usr/bin/neutron", line 6, in <module> from neutronclient.shell import main File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 31, in <module> import os_client_config ImportError: No module named os_client_config". Retrying for 5 sec. Notice: Puppet::Type::Neutron_subnet::ProviderNeutron: Unable to complete neutron request due to non-fatal error: "Execution of '/usr/bin/neutron subnet-list --format=csv --column=id --quote=none' returned 1: Traceback (most recent call last): File "/usr/bin/neutron", line 6, in <module> from neutronclient.shell import main File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 31, in <module> import os_client_config ImportError: No module named os_client_config". Retrying for 3 sec. Notice: Puppet::Type::Neutron_subnet::ProviderNeutron: Unable to complete neutron request due to non-fatal error: "Execution of '/usr/bin/neutron subnet-list --format=csv --column=id --quote=none' returned 1: Traceback (most recent call last): File "/usr/bin/neutron", line 6, in <module> from neutronclient.shell import main File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 31, in <module> import os_client_config ImportError: No module named os_client_config". Retrying for 1 sec. Error: /Stage[main]/Main/Neutron_l3_ovs_bridge[demo_bridge]: Could not evaluate: Can't retrieve subnet-list because Neutron or Keystone API is not available. Notice: Finished catalog run in 11.94 seconds [root@test-controller ~(keystone_admin)]#
Works with openstack-packstack-8.0.0-0.20160321212000.5939a9f.el7.centos.noarch.
Sorry, please ignore comment #4, I commented wrong bug. Actually this was reproduced with openstack-packstack-8.0.0-0.20160321212000.5939a9f.el7.centos.noarch
This bug is against a Version which has reached End of Life. If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.