undercloud install failed due to TypeError thread.lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Expired
|
Undecided
|
Unassigned |
Bug Description
I am following the installation instructions at: http://
I chose the ocata release. The OS is a fresh install and fully updated version of CentOS 7 in a KVM virtual machine. The goal is to get the undercloud running in a virt to manage a overcloud of 3 physical machines.
I blew away the VM the first time I ran into this and tried it again and had the same results. Appears to be a conflict with some python version or something like that. I don't know where to begin looking.
As far as the commands I ran I just copied and pasted them from the installation instructions, choosing the ocata curl commands for setting up the repositories.
This is the message I get with the install at the end of /home/stack/
2017-05-03 02:26:30,754 DEBUG: POST call to compute for http://
2017-05-03 02:26:30,755 INFO: Created flavor "swift-storage" with profile "swift-storage"
2017-05-03 02:26:30,755 ERROR:
#######
Undercloud install failed.
Reason: object.
See the previous output for details about what went wrong. The full install
log can be found at /home/stack/
#######
Here what I saw in the command line output from 'openstack undercloud install'
2017-05-03 02:26:30,588 INFO: Created flavor "ceph-storage" with profile "ceph-storage"
2017-05-03 02:26:30,671 INFO: Created flavor "block-storage" with profile "block-storage"
2017-05-03 02:26:30,755 INFO: Created flavor "swift-storage" with profile "swift-storage"
2017-05-03 02:26:30,755 ERROR:
#######
Undercloud install failed.
Reason: object.
See the previous output for details about what went wrong. The full install
log can be found at /home/stack/
#######
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
_post_
File "/usr/lib/
session=sess)
File "/usr/lib/
return client_
File "/usr/lib/
req = copy.deepcopy(
File "/usr/lib64/
y = copier(x, memo)
File "/usr/lib64/
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/
state = deepcopy(state, memo)
File "/usr/lib64/
y = copier(x, memo)
File "/usr/lib64/
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/
state = deepcopy(state, memo)
File "/usr/lib64/
y = copier(x, memo)
File "/usr/lib64/
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/
y = callable(*args)
File "/usr/lib64/
return cls.__new__(cls, *args)
TypeError: object.
Command 'instack-
Here is my undercloud.conf:
[DEFAULT]
undercloud_hostname = undercloud.
local_interface = eth1
local_ip = 10.0.0.4/16
network_gateway = 10.0.0.4
undercloud_
undercloud_
local_mtu = 1500
network_cidr = 10.0.0.20/16
masquerade_network = 10.0.0.20/16
dhcp_start = 10.0.0.5
dhcp_end = 10.0.0.25
inspection_iprange = 10.0.0.26,10.0.0.37
discovery_iprange = 10.0.0.26,10.0.0.37
enable_
undercloud_debug = true
undercloud_
enable_tempest = true
enable_ui = true
enable_cinder = false
clean_nodes = true
# http://
enabled_drivers = pxe_ipmitool,
[auth]
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → pike-2 |
Changed in tripleo: | |
milestone: | pike-2 → pike-3 |
Changed in tripleo: | |
milestone: | pike-3 → pike-rc1 |
Changed in tripleo: | |
milestone: | pike-rc1 → queens-1 |
Changed in tripleo: | |
milestone: | queens-1 → queens-2 |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Changed in tripleo: | |
milestone: | queens-rc1 → rocky-1 |
Changed in tripleo: | |
milestone: | rocky-1 → rocky-2 |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
Changed in tripleo: | |
milestone: | stein-1 → stein-2 |
I'm also running into the same issue/error.
I had successfully deployed an TripleO Undercloud Node about 1 weeks ago.
Now, I'm trying to install the undercloud on a different node and it fails with above error.
Looks like some code have changed within the last week.
PS: I'm installing undercloud on a baremetal node.
ERRORS: ####### ####### ####### ####### ####### ####### ####### ####### ####### #######
===========
2017-05-03 15:16:17,448 INFO: Created flavor "swift-storage" with profile "swift-storage"
2017-05-03 15:16:17,449 ERROR:
#######
Undercloud install failed.
Reason: object. __new__ (thread. lock) is not safe, use thread. lock.__ new__()
See the previous output for details about what went wrong. The full install .instack/ install- undercloud. log.
log can be found at /home/stack/
####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######
Traceback (most recent call last): python2. 7/site- packages/ instack_ undercloud/ undercloud. py", line 1529, in install config( instack_ env) python2. 7/site- packages/ instack_ undercloud/ undercloud. py", line 1454, in _post_config python2. 7/site- packages/ mistralclient/ api/client. py", line 19, in client v2.Client( auth_type= auth_type, **kwargs) python2. 7/site- packages/ mistralclient/ api/v2/ client. py", line 42, in __init__ kwargs) python2. 7/copy. py", line 163, in deepcopy python2. 7/copy. py", line 257, in _deepcopy_dict python2. 7/copy. py", line 190, in deepcopy python2. 7/copy. py", line 334, in _reconstruct python2. 7/copy. py", line 163, in deepcopy python2. 7/copy. py", line 257, in _deepcopy_dict python2. 7/copy. py", line 190, in deepcopy python2. 7/copy. py", line 334, in _reconstruct python2. 7/copy. py", line 163, in deepcopy python2. 7/copy. py", line 257, in _deepcopy_dict python2. 7/copy. py", line 190, in deepcopy python2. 7/copy. py", line 329, in _reconstruct python2. 7/copy_ reg.py" , line 93, in __newobj__ __new__ (thread. lock) is not safe, use thread. lock.__ new__() install- undercloud' returned non-zero exit status 1
File "<string>", line 1, in <module>
File "/usr/lib/
_post_
File "/usr/lib/
session=sess)
File "/usr/lib/
return client_
File "/usr/lib/
req = copy.deepcopy(
File "/usr/lib64/
y = copier(x, memo)
File "/usr/lib64/
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/
state = deepcopy(state, memo)
File "/usr/lib64/
y = copier(x, memo)
File "/usr/lib64/
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/
state = deepcopy(state, memo)
File "/usr/lib64/
y = copier(x, memo)
File "/usr/lib64/
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/
y = callable(*args)
File "/usr/lib64/
return cls.__new__(cls, *args)
TypeError: object.
Command 'instack-
===========