After deploying tripleo with: "./tripleo-quickstart/quickstart.sh -R newton -T all -t all -N tripleo-quickstart/config/nodes/1ctlr_1comp_1ceph.ym", when I upgrade undercloud to ocata (by following steps https://docs.openstack.org/developer/tripleo-docs/post_deployment/upgrade.html), then "openstack undercloud upgrade" fails with:
2017-06-13 19:59:32,451 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017 99-refresh-completed completed
2017-06-13 19:59:32,452 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017 ----------------------- PROFILING -----------------------
2017-06-13 19:59:32,453 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017
2017-06-13 19:59:32,455 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017 Target: post-configure.d
2017-06-13 19:59:32,456 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017
2017-06-13 19:59:32,457 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017 Script Seconds
2017-06-13 19:59:32,458 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017 --------------------------------------- ----------
2017-06-13 19:59:32,459 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017
2017-06-13 19:59:32,468 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017 10-iptables 0.004
2017-06-13 19:59:32,473 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017 80-seedstack-masquerade 0.022
2017-06-13 19:59:32,478 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017 98-undercloud-setup 156.676
2017-06-13 19:59:32,483 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017 99-refresh-completed 1.228
2017-06-13 19:59:32,485 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017
2017-06-13 19:59:32,486 INFO: dib-run-parts Tue Jun 13 19:59:32 UTC 2017 --------------------- END PROFILING ---------------------
2017-06-13 19:59:32,487 INFO: [2017-06-13 19:59:32,486] (os-refresh-config) [INFO] Completed phase post-configure
2017-06-13 19:59:32,495 INFO: os-refresh-config completed successfully
2017-06-13 19:59:34,351 INFO: Not creating flavor "baremetal" because it already exists.
2017-06-13 19:59:34,377 INFO: Not creating flavor "control" because it already exists.
2017-06-13 19:59:34,404 INFO: Not creating flavor "compute" because it already exists.
2017-06-13 19:59:34,432 INFO: Not creating flavor "ceph-storage" because it already exists.
2017-06-13 19:59:34,462 INFO: Not creating flavor "block-storage" because it already exists.
2017-06-13 19:59:34,488 INFO: Not creating flavor "swift-storage" because it already exists.
2017-06-13 19:59:34,488 DEBUG: An exception occurred
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1587, in install
_post_config(instack_env)
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1499, in _post_config
session=sess)
File "/usr/lib/python2.7/site-packages/mistralclient/api/client.py", line 19, in client
return client_v2.Client(auth_type=auth_type, **kwargs)
File "/usr/lib/python2.7/site-packages/mistralclient/api/v2/client.py", line 42, in __init__
req = copy.deepcopy(kwargs)
File "/usr/lib64/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib64/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/python2.7/copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/python2.7/copy.py", line 334, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib64/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib64/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/python2.7/copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/python2.7/copy.py", line 334, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib64/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib64/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/python2.7/copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/python2.7/copy.py", line 329, in _reconstruct
y = callable(*args)
File "/usr/lib64/python2.7/copy_reg.py", line 93, in __newobj__
return cls.__new__(cls, *args)
TypeError: object.__new__(thread.lock) is not safe, use thread.lock.__new__()
2017-06-13 19:59:34,490 ERROR:
#############################################################################
Undercloud upgrade 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
log can be found at /home/stack/.instack/install-undercloud.log.
#############################################################################
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1587, in install
_post_config(instack_env)
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1499, in _post_config
session=sess)
File "/usr/lib/python2.7/site-packages/mistralclient/api/client.py", line 19, in client
return client_v2.Client(auth_type=auth_type, **kwargs)
File "/usr/lib/python2.7/site-packages/mistralclient/api/v2/client.py", line 42, in __init__
req = copy.deepcopy(kwargs)
File "/usr/lib64/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib64/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/python2.7/copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/python2.7/copy.py", line 334, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib64/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib64/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/python2.7/copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/python2.7/copy.py", line 334, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib64/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib64/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib64/python2.7/copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib64/python2.7/copy.py", line 329, in _reconstruct
y = callable(*args)
File "/usr/lib64/python2.7/copy_reg.py", line 93, in __newobj__
return cls.__new__(cls, *args)
TypeError: object.__new__(thread.lock) is not safe, use thread.lock.__new__()
Command 'instack-upgrade-undercloud' returned non-zero exit status 1
there were actually following changes in the oooq config file (-N parameter): nodes/3ctlr_ 1comp_ceph. yml
# cat config/
# This config file is used to deploy a dedicated node in the overcloud for ceph
# Define a controller node, a compute node, and a ceph node. port: 6230
overcloud_nodes:
- name: control_0
flavor: control
virtualbmc_
- name: control_1 port: 6231
flavor: control
virtualbmc_
- name: control_2 port: 6232
flavor: control
virtualbmc_
- name: compute_0 port: 6233
flavor: compute
virtualbmc_
- name: ceph_0 port: 6234
flavor: ceph
virtualbmc_
node_count: 5
# Tell tripleo which nodes to deploy. storage- scale 1 templates_ path}}/ environments/ storage- environment. yaml templates_ path}}/ environments/ enable- swap.yaml templates_ path}}/ environments/ puppet- pacemaker. yaml templates_ path}}/ environments/ manila- cephfsnative- config. yaml
topology: >-
--ceph-
--control-scale 3
-e {{overcloud_
-e {{overcloud_
-e {{overcloud_
-e {{overcloud_
network_isolation: true isolation_ type: 'single-nic-vlans'
network_