[upgrade] Bootstrap image is not updated after master node upgrade

Bug #1364138 reported by Artem Panchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Evgeniy L

Bug Description

api: '1.0'
astute_sha: bc60b7d027ab244039f48c505ac52ab8eb0a990c
auth_required: true
build_id: 2014-09-01_00-01-17
build_number: '491'
feature_groups:
- mirantis
fuellib_sha: 2cfa83119ae90b13a5bac6a844bdadfaf5aeb13f
fuelmain_sha: 109812be3425408dd7be192b5debf109cb1edd4c
nailgun_sha: d25ed02948a8be773e2bd87cfe583ef7be866bb2
ostf_sha: 4dcd99cc4bfa19f52d4b87ed321eb84ff03844da
production: docker
release: '5.1'

After master node upgrade from 5.0 to 5.1 new cobbler container uses old images for bootstrap system which doesn't have updated firmware until its restart. This happens because when upgrade script start new container first time /var/www/nailgun/bootstrap/ contains 5.0 ramfs image and kernel, so cobbler provides them via tftp:

# old files info
[root@3c999efbcaaa ~]# ls -la /var/lib/tftpboot/images/bootstrap/
total 139620
drwxr-xr-x 2 root root 4096 Sep 1 14:00 .
drwxr-xr-x 6 root root 4096 Sep 1 14:00 ..
-rw-r--r-- 2 root root 138108291 Sep 1 13:57 initramfs.img
-rw-r--r-- 2 root root 4851792 Sep 1 13:57 linux

# new files info
[root@3c999efbcaaa ~]# ls -la /var/www/nailgun/bootstrap/
total 168980
drwxr-xr-x 2 root root 38 Sep 1 13:42 .
drwxr-xr-x. 10 root root 4096 Sep 1 14:02 ..
-rw-r--r-- 1 root root 168163530 Aug 31 21:12 initramfs.img
-rwxr-xr-x 1 root root 4863536 Aug 31 21:09 linux

I believe we should execute 'bootstrap upgrader' in upgrade script before starting new docker containers to fix this issue.

Tags: upgrade
Evgeniy L (rustyrobot)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Evgeniy L (rustyrobot)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/118280

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/118280
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=1f1493ae60c1e6ca78a571a8b1199d96df8892fd
Submitter: Jenkins
Branch: master

commit 1f1493ae60c1e6ca78a571a8b1199d96df8892fd
Author: Evgeniy L <email address hidden>
Date: Tue Sep 2 12:55:58 2014 +0400

    Upgrades, install bootstrap images before docker engine

    It's required to install bootstrap images
    before cobbler container is started.

    Change-Id: I070b54e8699dc58e5afb122ba5817afc1c2a6a2d
    Closes-bug: #1364138

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on {

    "build_id": "2014-09-09_00-01-11",
    "ostf_sha": "f7b5d9d0d1cfaba5f1fe1e2c634493e92bce11db",
    "build_number": "505",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "7683df5722975c1cae48a1a3efdad872b4aaace6",
    "production": "docker",
    "fuelmain_sha": "6cdd8c3deaa5e52806a5c75c4177f3b41d157a22",
    "astute_sha": "b622d9b36dbdd1e03b282b9ee5b7435ba649e711",
    "feature_groups": [
        "mirantis"
    ],
    "release": "5.1",
fuellib_sha": "203ef3179007cffe3236032e61ecbaf1cd20605f"
}

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.