Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1565295 - introspection should report /dev/disk/by-path name of block devices (OSP 10)
introspection should report /dev/disk/by-path name of block devices (OSP 10)
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic-python-agent (Show other bugs)
10.0 (Newton)
Unspecified Unspecified
medium Severity low
: z9
: 10.0 (Newton)
Assigned To: Ilya Etingof
bjacot
PerfScale
: Triaged, ZStream
Depends On: 1445451
Blocks: 1335593 1368482 1475550
  Show dependency treegraph
 
Reported: 2018-04-09 15:46 EDT by Sean Merrow
Modified: 2018-09-17 13:00 EDT (History)
18 users (show)

See Also:
Fixed In Version: openstack-ironic-python-agent-1.5.2-4.el7ost python-ironic-lib-2.1.3-2.el7ost
Doc Type: Enhancement
Doc Text:
With this update, bare metal node introspection reports both the /dev/XXX block device name and the /dev/disk/by-path/XXX name. Unlike the /dev/XXX name, the /dev/disk/by-path/XXX name does not change at system reboot and may be the same across similarly configured hardware. This update improves reliability of deployments by using /dev/disk/by-path/XXX information in the cloud configuration.
Story Points: ---
Clone Of: 1445451
Environment:
Last Closed: 2018-09-17 12:59:20 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1679726 None None None 2018-04-09 15:46 EDT
Red Hat Product Errata RHBA-2018:2671 None None None 2018-09-17 13:00 EDT

  None (edit)
Comment 2 Sean Merrow 2018-04-09 15:49:29 EDT
This request is to backport the RFE of which this is a clone of, to OSP 10.
Comment 3 Ilya Etingof 2018-04-25 17:48:17 EDT
I have tested this backport on OSP10 - seems to work:

$ openstack baremetal introspection start controller-0
$ openstack baremetal introspection data save controller-0 | python -m json.tool
...
       "disks": [
            {
                "by_path": "/dev/disk/by-path/pci-0000:00:08.0",
                "model": "",
                "name": "/dev/vda",
                "rotational": true,
                "serial": null,
                "size": 32212254720,
                "vendor": "0x1af4",
                "wwn": null,
                "wwn_vendor_extension": null,
                "wwn_with_extension": null
            }
        ],
...
Comment 10 bjacot 2018-08-08 10:34:15 EDT
installed latest OSP10

$ cat /etc/yum.repos.d/latest-installed 
10   -p 2018-08-04.1


Verfied Gerrit changes were commited.  Ran openstack baremetal intorspection data save $UUID | jq '.inventory.disks' 

verified output shows the /dev/disk/ in the output.  Please reopen if issue is still present.

openstack baremetal introspection data save 9683dcc9-7f9f-45d6-81df-07270b525292 | jq '.inventory.disks'
[
  {
    "size": 32212254720,
    "serial": null,
    "rotational": true,
    "vendor": "0x1af4",
    "name": "/dev/vda",
    "wwn_vendor_extension": null,
    "wwn_with_extension": null,
    "by_path": "/dev/disk/by-path/pci-0000:00:08.0",
    "model": "",
    "wwn": null
  }
]
Comment 12 Alex 2018-09-03 03:59:21 EDT
Hi there,

If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field.

The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Thanks,
Alex
Comment 14 errata-xmlrpc 2018-09-17 12:59:20 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2671

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