OC upgrade O->P containers fails with error: su: unrecognized option '--sacks-number=128'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Pradeep Kilambi |
Bug Description
Description
===========
During the upgrade from Ocata to Pike (containerized) using latest master it was returned an error in one of the steps and the upgrade didn't succeed:
http://
The root cause seems to be a wrong argument in the command : /usr/bin/
"Usage:",
" su [options] [-] [USER [arg]...]",
"Change the effective user id and group id to that of USER.",
"A mere - implies -l. If USER not given, assume root.",
" -m, -p, --preserve-
" -g, --group <group> specify the primary group",
" -G, --supp-group <group> specify a supplemental group",
" -, -l, --login make the shell a login shell",
" -c, --command <command> pass a single command to the shell with -c",
" --session-command <command> pass a single command to the shell with -c",
" and do not create a new session",
" -f, --fast pass -f to the shell (for csh or tcsh)",
" -s, --shell <shell> run shell if /etc/shells allows it",
" -h, --help display this help and exit",
" -V, --version output version information and exit",
"For more details see su(1).",
Steps to reproduce
==================
Follow this instructions: http://
1. Deploy Pike undercloud and overcloud using TripleO-quickstart:
bash ./tripleo-
export VIRTHOST=127.0.0.2
export CONFIG=
bash ./tripleo-
2. Delete overcloud:
source ~/stackrc
openstack stack delete overcloud
3. Delete images and load new ones
4. Download tht for ocata and deploy Ocata overcloud (non-HA)
git clone -b stable/ocata https:/
openstack overcloud deploy \
--libvirt-type qemu \
--ntp-server pool.ntp.org \
--templates /home/stack/
-e /home/stack/
5. Once deployed, download tht-master and load docker images:
git clone https:/
openstack overcloud container image upload --config-file /usr/share/
6. Perform overcloud upgrade:
source ~/stackrc
export THT=/home/
openstack overcloud deploy
--templates $THT
--libvirt-type qemu
--ntp-server pool.ntp.org
-e $THT/overcloud-
-e $THT/environmen
-e upgrade_repos.yaml
-e $THT/environmen
-e $THT/environmen
-e $THT/environmen
-e docker_
Expected result
===============
Overcloud upgrade from Ocata to Pike successfully performed
Actual result
=============
(undercloud) [stack@undercloud ~]$ openstack stack list
+------
| ID | Stack Name | Project | Stack Status | Creation Time | Updated Time |
+------
| 4accb024-
+------
Full failure output:
http://
Changed in tripleo: | |
status: | New → In Progress |
assignee: | nobody → Jose Luis Franco (jfrancoa) |
Changed in tripleo: | |
importance: | Undecided → Critical |
status: | In Progress → Triaged |
Changed in tripleo: | |
milestone: | none → pike-rc1 |
Changed in tripleo: | |
assignee: | Jose Luis Franco (jfrancoa) → Giulio Fidente (gfidente) |
Changed in tripleo: | |
assignee: | Giulio Fidente (gfidente) → Jose Luis Franco (jfrancoa) |
Changed in tripleo: | |
assignee: | Jose Luis Franco (jfrancoa) → Jiří Stránský (jistr) |
Changed in tripleo: | |
assignee: | Jiří Stránský (jistr) → Pradeep Kilambi (pkilambi) |
Fix proposed to branch: master /review. openstack. org/491826
Review: https:/