Comment 0 for bug 1662079

Revision history for this message
sundarkh (sundar-kh) wrote :

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) This issue was not seen in 3.2.1 build 19