Newton - Ocata Undercloud Upgrade fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Brad P. Crochet |
Bug Description
Following the tripleo instructions http://
I successfully deployed undercloud and then overcloud on a fresh install of Centos 7.3 using latest RDO Newton Delorean repo's,
https:/
when I try to upgrade the undercloud to the Ocata release
https:/
sudo rm /etc/yum.
sudo curl -L -o /etc/yum.
sudo curl -L -o /etc/yum.
sudo yum -y install --enablerepo=extras centos-
sudo sed -i -e 's%gpgcheck=
sudo yum clean all
sudo systemctl stop openstack-*
sudo systemctl stop neutron-*
sudo systemctl stop openvswitch
sudo systemctl stop httpd
sudo yum -y update python-
openstack undercloud upgrade
I get the following error
2017-06-21 13:16:48,817 DEBUG: POST call to compute for http://
2017-06-21 13:16:48,817 INFO: Not creating flavor "swift-storage" because it already exists.
2017-06-21 13:16:48,819 DEBUG: found extension EntryPoint.
2017-06-21 13:16:48,819 DEBUG: found extension EntryPoint.
2017-06-21 13:16:48,820 DEBUG: Making authentication request to http://
2017-06-21 13:16:48,822 INFO: Starting new HTTP connection (1): 10.13.13.1
2017-06-21 13:16:49,059 DEBUG: "POST /v2.0/tokens HTTP/1.1" 200 1259
2017-06-21 13:16:49,062 INFO: Starting new HTTP connection (1): 10.13.13.1
2017-06-21 13:16:49,301 DEBUG: "GET /v2/environment
2017-06-21 13:16:49,304 DEBUG: HTTP GET http://
2017-06-21 13:16:49,306 INFO: Starting new HTTP connection (1): 10.13.13.1
2017-06-21 13:16:49,322 DEBUG: "GET /v2/environments HTTP/1.1" 200 7148
2017-06-21 13:16:49,323 DEBUG: HTTP GET http://
2017-06-21 13:16:49,324 INFO: Not creating default plan "overcloud" because it already exists.
2017-06-21 13:16:49,325 INFO: Starting new HTTP connection (1): 10.13.13.1
2017-06-21 13:16:49,911 DEBUG: "POST /v2/executions HTTP/1.1" 400 2037
2017-06-21 13:16:49,912 DEBUG: HTTP POST http://
2017-06-21 13:16:49,913 ERROR:
#######
Undercloud upgrade failed.
Reason: Failed when querying database, error type: DBError, error message: (pymysql.
tail /var/log/
This error is consistent - this upgrade sucessfully completed on 19-Jun-
Expected result - successfully upgraded undercloud
Actual result - undercloud upgrade failed
description: | updated |
description: | updated |
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → pike-3 |
tags: | added: upgrade |
Changed in tripleo: | |
importance: | High → Critical |
Changed in tripleo: | |
assignee: | nobody → Brad P. Crochet (brad-9) |
Changed in tripleo: | |
status: | Fix Committed → Fix Released |
For info:
Fresh Newton install: undercloud- newton versions]$ sudo mistral-db-manage --config-file /etc/mistral/ mistral. conf history task_execution_ unique_ key_size _v2.unique_ key keys_for_ non_locking_ model scripts_ discrepancies _table_ increase_ names members_ v2_table constraints
[centos@
019 -> 020 (head), Increase environments_v2 column size from JsonDictType to JsonLongDictType
018 -> 019, Change scheduler schema.
017 -> 018, increate_
016 -> 017, Add named lock table
015 -> 016, Increase size of task_executions
014 -> 015, add_unique_
013 -> 014, fix_past_
012 -> 013, split_execution
011 -> 012, add event triggers table
010 -> 011, add workflow id for execution
009 -> 010, add_resource_
008 -> 009, Add database indices
007 -> 008, Increase size of state_info column from String to Text
006 -> 007, Move system flag to base definition
005 -> 006, add a Boolean column 'processed' to the table delayed_calls_v2
004 -> 005, Increase executions_v2 column size from JsonDictType to JsonLongDictType
003 -> 004, add description for execution
002 -> 003, cron_trigger_
001 -> 002, Kilo
<base> -> 001, Kilo release
After upgrade: mistral. conf history task_execution_ unique_ key_size _v2.unique_ key keys_for_ non_locking_ model scripts_ discrepancies _table_ increase_ names members_ v2_table constraints
[stack@undercloud versions]$ sudo mistral-db-manage --config-file /etc/mistral/
020 -> 021 (head), Increase environments_v2 column size from JsonDictType to JsonLongDictType
019 -> 020, add type to task execution
018 -> 019, Change scheduler schema.
017 -> 018, increate_
016 -> 017, Add named lock table
015 -> 016, Increase size of task_executions
014 -> 015, add_unique_
013 -> 014, fix_past_
012 -> 013, split_execution
011 -> 012, add event triggers table
010 -> 011, add workflow id for execution
009 -> 010, add_resource_
008 -> 009, Add database indices
007 -> 008, Increase size of state_info column from String to Text
006 -> 007, Move system flag to base definition
005 -> 006, add a Boolean column 'processed' to the table delayed_calls_v2
004 -> 005, Increase executions_v2 column size from JsonDictType to JsonLongDictType
003 -> 004, add description for execution
002 -> 003, cron_trigger_
001 -> 002, Kilo
<base> -> 001, Kilo release