Bug 1448454 - When specifying wwn hint, it still deploys on wrong device
Summary: When specifying wwn hint, it still deploys on wrong device
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic-python-agent
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Upstream M2
: 14.0 (Rocky)
Assignee: Derek Higgins
QA Contact: mlammon
URL:
Whiteboard:
Depends On:
Blocks: 1473267
TreeView+ depends on / blocked
 
Reported: 2017-05-05 12:59 UTC by Pierre-Andre MOREY
Modified: 2022-08-09 14:06 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-13 14:38:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-8572 0 None None None 2022-08-09 14:06:14 UTC

Description Pierre-Andre MOREY 2017-05-05 12:59:07 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.On a UCS Blade, install a flash card (i.e. 64GB), and a LUN (here 30GB and 120GB)
2.ironic node-update <UUID> add properties/root_device='{"wwn": "<WWN_ID>"}'
3.Deploy

Actual results:
It will be deployed on the flash card (/dev/sda), but local_gb will be set accordingly to the targeted wwn size.

Expected results:
It deploy on the desired device

Additional info:
We will try with some size hint to check wether it can be a proper workaround, but we need some root cause analysis on this.

Comment 1 Dmitry Tantsur 2017-05-09 11:03:49 UTC
Could you please check if you face a case of https://bugzilla.redhat.com/show_bug.cgi?id=1423006? Please fetch the introspection data and deploy logs from /var/log/ironic/deploy.

Comment 7 Bob Fournier 2017-08-24 16:05:58 UTC
Root device hint issues will be investigated in OSP-13, adding this to stabilization list via https://bugzilla.redhat.com/show_bug.cgi?id=1473267

Comment 10 Derek Higgins 2017-11-28 16:45:13 UTC
    I haven't been able to reproduce this with the information given, would it be possible to get the introspection data (you can use this command)
$ openstack baremetal introspection data save <NODEID>

If you would like to you can just provide the disk information

Also the deploy log previously supplied shows /dev/sdb being used
[-] Disk metadata on /dev/sdb successfully destroyed for node ....

would it be possible to get a copy of a deploy log with debug logs turned on?
to do this add "ipa-debug=1" to  pxe_append_params in /etc/ironic/ironic.conf


Finally is it possible that the deploy is happening to the correct disk but the boot is using an OS on /dev/sda from a previous deploy (i.e. are all the disks cleaned)?

Comment 13 Bob Fournier 2018-01-05 16:44:49 UTC
Closed, please reopen with requested data.

Comment 14 Bob Fournier 2018-01-05 19:11:37 UTC
Closed this a bit prematurely, reopening in anticipation of requested data.

Comment 19 Dmitry Tantsur 2018-03-13 14:38:35 UTC
Hi!

We still need introspection data to proceed with this issue. Unfortunately, we don't have similar hardware to reproduce it. Maybe wwn's were not unique, maybe you needed to use wwn_with_extension. But this is just a guess at this stage.

Side note: comparison operators in the root device hints were not available in OSP 10.


Note You need to log in before you can comment on or make changes to this bug.