Upgrades, rollback for bootstrap brakes slaves bootstrapping
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Evgeniy L | ||
5.0.x |
Fix Committed
|
High
|
Evgeniy L |
Bug Description
1. install 5.0 master node
2. run 5.0.1/5.1 upgrade, make it fail (add exception raising in post bootstrap upgarde section)
3. wait until rollback is done
4. try to reboot slave
Actual result:
Node bootstrapping fails
Expected result:
Node booted with bootstrap image
It happens because of symlink magic in cobbler container
[root@c3afdaa2107d nailgun]# ls -l /var/www/nailgun/
total 0
lrwxrwxrwx 1 root root 15 Jun 4 11:51 bootstrap -> /repo/bootstrap
lrwxrwxrwx 1 root root 12 Jun 4 11:51 centos -> /repo/centos
lrwxrwxrwx 1 root root 12 Jun 4 11:51 docker -> /repo/docker
lrwxrwxrwx 1 root root 5 Jul 24 12:44 dump -> /dump
lrwxrwxrwx 1 root root 22 Jun 4 11:51 puppet-slave.tgz -> /repo/puppet-
lrwxrwxrwx 1 root root 12 Jun 4 11:51 ubuntu -> /repo/ubuntu
[root@c3afdaa2107d nailgun]# ls -l /repo/
total 1236
drwxr-xr-x 2 root root 38 Jun 4 11:31 5.0_bootstrap
drwxr-xr-x 4 root root 32 Jul 23 13:55 5.1
drwxr-xr-x 2 root root 38 Jun 4 13:25 5.1_bootstrap
lrwxrwxrwx 1 root root 31 Jul 24 12:46 bootstrap -> /var/www/
drwxr-xr-x. 3 root root 20 Jun 4 11:31 centos
drwxr-xr-x. 4 root root 49 Jun 4 11:32 docker
drwxr-xr-x 2 root root 6 Jun 4 11:51 dump
-rwxr-xr-x. 1 root root 1265298 Jun 4 11:31 puppet-slave.tgz
drwxr-xr-x. 3 root root 20 Jun 4 11:31 ubuntu
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "5.1"
api: "1.0"
build_number: "70"
build_id: "2014-07-
astute_sha: "fd9b8e3b6f59b2
fuellib_sha: "fb0e84c954a33c
ostf_sha: "c1b60d4bcee7cd
nailgun_sha: "06b9becc1e6831
fuelmain_sha: "7b03801a70506b
no longer affects: | fuel/5.1.x |
Fix proposed to branch: master /review. openstack. org/109285
Review: https:/