[Bug 1537155] Re: Xenial - ImportError: cannot import name NUM_CPUS
James Page
james.page at ubuntu.com
Fri Jan 29 09:32:36 UTC 2016
** Changed in: charm-helpers
Status: In Progress => Fix Committed
** Branch unlinked: lp:~thedac/charm-helpers/lp1537155
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Juju Charms Collection.
Matching subscriptions: charm-bugs
https://bugs.launchpad.net/bugs/1537155
Title:
Xenial - ImportError: cannot import name NUM_CPUS
Status in Charm Helpers:
Fix Committed
Status in cinder package in Juju Charms Collection:
Triaged
Status in glance package in Juju Charms Collection:
In Progress
Status in keystone package in Juju Charms Collection:
In Progress
Status in neutron-api package in Juju Charms Collection:
Triaged
Status in nova-cloud-controller package in Juju Charms Collection:
Triaged
Status in swift-storage package in Juju Charms Collection:
Triaged
Bug description:
glance/next + keystone/next @ xenial-mitaka
Install hook fails:
2016-01-22 17:32:16 INFO install Unpacking python-psutil (3.4.1-1) ...
2016-01-22 17:32:16 INFO install Setting up python-psutil (3.4.1-1) ...
2016-01-22 17:32:16 INFO install Traceback (most recent call last):
2016-01-22 17:32:16 INFO install File "/var/lib/juju/agents/unit-glance-0/charm/hooks/install.real", line 537, in <module>
2016-01-22 17:32:16 INFO install assess_status(CONFIGS)
2016-01-22 17:32:16 INFO install File "/var/lib/juju/agents/unit-glance-0/charm/hooks/glance_utils.py", line 537, in assess_status
2016-01-22 17:32:16 INFO install configs, REQUIRED_INTERFACES, charm_func=check_optional_relations)
2016-01-22 17:32:16 INFO install File "/var/lib/juju/agents/unit-glance-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 806, in set_os_workload_status
2016-01-22 17:32:16 INFO install incomplete_rel_data = incomplete_relation_data(configs, required_interfaces)
2016-01-22 17:32:16 INFO install File "/var/lib/juju/agents/unit-glance-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 938, in incomplete_relation_data
2016-01-22 17:32:16 INFO install complete_ctxts = configs.complete_contexts()
2016-01-22 17:32:16 INFO install File "/var/lib/juju/agents/unit-glance-0/charm/hooks/charmhelpers/contrib/openstack/templating.py", line 295, in complete_contexts
2016-01-22 17:32:16 INFO install for i in six.itervalues(self.templates)]
2016-01-22 17:32:16 INFO install File "/var/lib/juju/agents/unit-glance-0/charm/hooks/charmhelpers/contrib/openstack/templating.py", line 120, in complete_contexts
2016-01-22 17:32:16 INFO install self.context()
2016-01-22 17:32:16 INFO install File "/var/lib/juju/agents/unit-glance-0/charm/hooks/charmhelpers/contrib/openstack/templating.py", line 105, in context
2016-01-22 17:32:16 INFO install _ctxt = context()
2016-01-22 17:32:16 INFO install File "/var/lib/juju/agents/unit-glance-0/charm/hooks/charmhelpers/contrib/openstack/context.py", line 1271, in __call__
2016-01-22 17:32:16 INFO install ctxt = {"workers": self.num_cpus * multiplier}
2016-01-22 17:32:16 INFO install File "/var/lib/juju/agents/unit-glance-0/charm/hooks/charmhelpers/contrib/openstack/context.py", line 1265, in num_cpus
2016-01-22 17:32:16 INFO install from psutil import NUM_CPUS
2016-01-22 17:32:16 INFO install ImportError: cannot import name NUM_CPUS
2016-01-22 17:32:17 INFO juju.worker.uniter.context context.go:579 handling reboot
2016-01-22 17:32:17 ERROR juju.worker.uniter.operation runhook.go:107 hook "install" failed: exit status 1
2016-01-22 17:32:17 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] failed: run install hook
2016-01-22 17:32:17 INFO juju.worker.uniter modes.go:569 ModeContinue exiting
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-helpers/+bug/1537155/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list