[Upgrade] Old kernel was installed on the simple Ubuntu cluster nodes after upgarde

Bug #1399205 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Vladimir Kozhukalov

Bug Description

{

    "build_id": "2014-12-03_22-41-01",
    "ostf_sha": "c8b9f9aa124a07bae6092f2a2982c799870e739d",
    "build_number": "38",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "179fb24d7f4f154d0752542c831d652a6b74e715",
    "production": "docker",
    "fuelmain_sha": "7ab330b4958ab20955372e85de05e8732e8f6df2",
    "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91",
    "feature_groups": [
        "mirantis"
    ],
    "release": "6.0",
    "release_versions": {
        "2014.1.3-5.1.1": {
            "VERSION": {
                "build_id": "2014-11-27_23-41-13",
                "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346",
                "build_number": "45",
                "api": "1.0",
                "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d",
                "production": "docker",
                "fuelmain_sha": "51e66db7750e9c856ba128f35cfb6724895bf479",
                "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "5.1.1",
                "fuellib_sha": "15a387462f7be50c4f87ad986d0c81535025c125"
            }
        },
        "2014.2-6.0": {
            "VERSION": {
                "build_id": "2014-12-03_22-41-01",
                "ostf_sha": "c8b9f9aa124a07bae6092f2a2982c799870e739d",
                "build_number": "38",
                "api": "1.0",
                "nailgun_sha": "179fb24d7f4f154d0752542c831d652a6b74e715",
                "production": "docker",
                "fuelmain_sha": "7ab330b4958ab20955372e85de05e8732e8f6df2",
                "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "6.0",
                "fuellib_sha": "4838b3a508f03ccd8730c9004e2b21b5815214fb"
            }
        }
    },
    "fuellib_sha": "4838b3a508f03ccd8730c9004e2b21b5815214fb"

}

Steps:
1. Install 5.1.1-45 ISO
2. Deploy simple CentOS cluster - nova-network, 1 controller, 1 compute
3. Upload 6.0 upgrade script to master
4. Run upgrade
5. After upgrade deploy 6.0 Ubuntu simple cluster - flat nova-network, 1 controller, 1 compute+cinder
6. Check kernel version on newly deployed nodes (node-5, node-6)

Expected - kernel is 3.13 version
Actual - kernel is
root@node-5:~# uname -r
3.2.0-72-generic

root@node-5:~# dpkg -l | grep linux
ii libselinux1 2.1.0-4.1ubuntu1 SELinux runtime shared libraries
ii linux-firmware 1.79.16 Firmware for Linux kernel drivers
ii linux-headers-3.13.0-40 3.13.0-40.69~precise1 Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-40-generic 3.13.0-40.69~precise1 Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii linux-headers-3.2.0-72 3.2.0-72.107 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-72-generic 3.2.0-72.107 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
ii linux-headers-generic-lts-trusty 3.13.0.40.35 Generic Linux kernel headers
ii linux-headers-server 3.2.0.72.86 Linux kernel headers on Server Equipment.
ii linux-image-3.2.0-72-generic 3.2.0-72.107 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-server 3.2.0.72.86 Linux kernel image on Server Equipment.
ii linux-libc-dev 3.2.0-72.107 Linux Kernel Headers for development
ii linux-server 3.2.0.72.86 Complete Linux kernel on Server Equipment.
ii util-linux 2.20.1-1ubuntu3.1 Miscellaneous system utilities

Logs are attached

Tags: upgrade
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
summary: - [Upgrade] Old packages were installed on the simple Ubuntu cluster nodes
+ [Upgrade] Old kernel was installed on the simple Ubuntu cluster nodes
after upgarde
Changed in fuel:
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/139076
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=0c70b13a9429f5ef070b4421eb0f88ada7e58814
Submitter: Jenkins
Branch: master

commit 0c70b13a9429f5ef070b4421eb0f88ada7e58814
Author: Vladimir Kozhukalov <email address hidden>
Date: Thu Dec 4 17:47:41 2014 +0300

    Fix installing 3.13 kernel and other packages

    * Added explicit installing 3.13 kernel in postinstall section
      because we use several different repositories and
      if we upgrade a node installer tries to
      find kernel only in one of them.
    * Added 'yum update' and 'apt-get upgrade'
      to make sure all packages are up to date

    Closes-Bug: 1399205
    Change-Id: I12742735311f5d49f92d3dde845c15262e9f8372

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

verified on {

    "build_id": "2014-12-18_01-32-01",
    "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4",
    "build_number": "56",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90",
    "production": "docker",
    "fuelmain_sha": "45caacadb878abfbd9d60e134d72229698b469c9",
    "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91",
    "feature_groups": [
        "mirantis"
    ],
    "release": "6.0",
    "release_versions": {
        "2014.1.3-5.1.1": {
            "VERSION": {
                "build_id": "2014-12-03_01-07-36",
                "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346",
                "build_number": "48",
                "api": "1.0",
                "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d",
                "production": "docker",
                "fuelmain_sha": "7626c5aeedcde77ad22fc081c25768944697d404",
                "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "5.1.1",
                "fuellib_sha": "a3043477337b4a0a8fd166dc83d6cd5d504f5da8"
            }
        },
        "2014.2-6.0": {
            "VERSION": {
                "build_id": "2014-12-18_01-32-01",
                "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4",
                "build_number": "56",
                "api": "1.0",
                "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90",
                "production": "docker",
                "fuelmain_sha": "45caacadb878abfbd9d60e134d72229698b469c9",
                "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "6.0",
                "fuellib_sha": "73332192a257ea02c40a39885c502ad1ebdf3eda"
            }
        }
    },
    "fuellib_sha": "73332192a257ea02c40a39885c502ad1ebdf3eda"

}

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.