SM:3.2.1-build21: Provision of Ubuntu Targets does not initilialise with error in "Unable to locate package linux-headers-3.13.0-100-generic"

Bug #1662079 reported by sundarkh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Won't Fix
Critical
Dheeraj Gautam
R3.2
Fix Committed
Critical
Ignatious Johnson Christopher
Trunk
Won't Fix
Critical
Dheeraj Gautam

Bug Description

SM:3.2.1-build21: Provision of Ubuntu Targets does not initilialise with error in "Unable to locate package linux-headers-3.13.0-100-generic"

1) Install SM Package 3.2.1.-build 21
2) Add Ubuntu OS 14-4-5; COntrail Mitaka Package for ubuntu 3.2.1 build 21
3) Add cluster/Server of target which has mention of kernel version 3.13.0-100, and kernel_upgrade set as yes
4) Reiamge the target with OS , observe that reimage goes through successfully (https://bugs.launchpad.net/juniperopenstack/r3.2/+bug/1660524 SM:R3.2.1-20: Reimage of Servers fail during validation of dhcp_ip_list Edit
 The above bug is validated and this bug is not seen)

5) Initiate Provision ; Observe that it gets stuck with provision_started with following error on Syslog

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: (/Stage[common]/Contrail::Common/Contrail::Lib::Upgrade_kernel[kernel_upgrade]/Package[linux-headers-3.13.0-100]/ensure) change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install linux-headers-3.13.0-100' returned 100: Reading package lists...

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: (/Stage[common]/Contrail::Common/Contrail::Lib::Upgrade_kernel[kernel_upgrade]/Package[linux-headers-3.13.0-100]/ensure) Building dependency tree...

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: (/Stage[common]/Contrail::Common/Contrail::Lib::Upgrade_kernel[kernel_upgrade]/Package[linux-headers-3.13.0-100]/ensure) Reading state information...

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: (/Stage[common]/Contrail::Common/Contrail::Lib::Upgrade_kernel[kernel_upgrade]/Package[linux-headers-3.13.0-100]/ensure) E: Unable to locate package linux-headers-3.13.0-100

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: (/Stage[common]/Contrail::Common/Contrail::Lib::Upgrade_kernel[kernel_upgrade]/Package[linux-headers-3.13.0-100]/ensure) E: Couldn't find any package by regex 'linux-headers-3.13.0-100'

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install linux-headers-3.13.0-100-generic' returned 100: Reading package lists...

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: Building dependency tree...

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: Reading state information...

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: E: Unable to locate package linux-headers-3.13.0-100-generic

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: E: Couldn't find any package by regex 'linux-headers-3.13.0-100-generic'

Feb 5 21:48:03 nodeh8 puppet-agent[25694]: (/Stage[common]/Contrail::Common/Contrail::Lib::Upgrade_kernel[kernel_upgrade]/Package[linux-headers-3.13.0-100-generic]/ensure) change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install linux-headers-3.13.0-100-generic' returned 100: Reading package lists...

6) Observed that the hieradata populated has correct kernel version, but the kernel fails to get upgrade with kernel 3.13.0-100 and blocks the provision further

7) /var/www/html/contrail/repo/ubuntu14mitaka21# ls *linux*
linux-crashdump_3.13.0.103.111_amd64.deb linux-image-3.13.0-85-generic_3.13.0-85.129_amd64.deb
linux-headers-3.13.0-85_3.13.0-85.129_all.deb linux-image-4.4.0-34-generic_4.4.0-34.53~14.04.1_amd64.deb
linux-headers-3.13.0-85-generic_3.13.0-85.129_amd64.deb linux-image-extra-3.13.0-85-generic_3.13.0-85.129_amd64.deb
linux-headers-4.4.0-34_4.4.0-34.53~14.04.1_all.deb linux-image-extra-4.4.0-34-generic_4.4.0-34.53~14.04.1_amd64.deb
linux-headers-4.4.0-34-generic_4.4.0-34.53~14.04.1_amd64.deb linux-libc-dev_3.13.0-103.150_amd64.deb

8) This issue was not seen in 3.2.1 build 19

Seeing the same behavior in Mainline build 3036

sundarkh (sundar-kh)
tags: added: blocker sanity
sundarkh (sundar-kh)
description: updated
sundarkh (sundar-kh)
description: updated
Revision history for this message
Dheeraj Gautam (dgautam) wrote :

This issue has not been observed in R3.2-22, so marking as Fix-Committed

Revision history for this message
Dheeraj Gautam (dgautam) wrote :

mainline there is different kernel version and it supported differently

Jeba Paulaiyan (jebap)
Changed in juniperopenstack:
status: New → Won't Fix
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.