Node discover fails to find kernel image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Daniel King |
Bug Description
Description
===========
Attempting to run `openstack overcloud node discover` fails to find bm-deploy-kernel image in glance. An update three months ago to `openstack overcloud image build` removed the upload of those images to glance.
Steps to reproduce
==================
Following instructions here: https:/
Then, on this page: https:/
$ echo "$DIB_YUM_
/etc/yum.
$ openstack overcloud image build
$ openstack overcloud image upload
$ openstack overcloud node discover --range 10.64.1.0/24 --credentials "root:$pass"
Expected result
===============
Running `openstack overcloud node discover --range <range> --credentials "user:pass"` should be able to discover nodes and set the deploy image.
Expected: "Successfully registered node UUID ..."
Here is what I got later, after I modified the code at overcloud_node.py:
http://
Actual result
=============
"Kernel image bm-deploy-kernel not found in Glance"
http://
Additional information
=======
After investigating further, I discovered that the bm-* images were no longer intended to be uploaded to glance. The change happened a couple months ago:
At that time, there were some changes made to overcloud_node.py, but only for classes ImportNode and ConfigureNode, and none for DicscoverNode. Inside of DiscoverNode, I found that the default for deploy_kernel and deploy_ramdisk were still using the bm-* images.
I was able to get a successful status from the code by altering the defaults:
http://
Which gave the expected result, mentioned above:
http://
Also, it seems that this issue may be related to the issue at https:/
There are also a few mentions of the bm-* images in the tests as well.
Environment
===========
Stein
Undercloud os: CentOS Linux release 7.6.1810 (Core)
Installed Packages
Name : python2-
Arch : noarch
Version : 12.1.1
Release : 0.2019091622285
Size : 2.4 M
Repo : installed
From repo : delorean
Summary : OpenstackClient plugin for tripleoclient
URL : https:/
License : ASL 2.0
Description :
: python-
: for TripleO <https:/
Logs & Configs
==============
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → ussuri-1 |
Fix proposed to branch: master /review. opendev. org/686064
Review: https:/