commit b255e16bd93d9891caff8ffc84b8d7bc2991f90a
Author: Jay Pipes <email address hidden>
Date: Fri Jan 26 12:20:35 2018 -0500
only increment disk address unit for scsi devices
We were erroneously incrementing the disk address unit attribute for
non-scsi devices, which resulted in inconsistent disk device naming and
addresses when SCSI devices were used along with non-SCSI devices (like
configdrive devices).
Also, we ensure that we assign unit number 0 for the boot volume of a
boot-from-volume instance.
Co-authored-by: Mehdi Abaakouk <email address hidden>
Closes-bug: #1729584
Closes-bug: #1753394
NOTE(artom) Conflicts in nova/tests/unit/virt/libvirt/test_driver.py
because the surrounding _get_guest_config_with_graphics method isn't
present in pike.
Change-Id: Ia91e2f9c316e25394a0f41dc341d903dfcff6921
(cherry picked from commit 2616b384e642b6eb58eef7da87b6e893f25a949e)
(cherry picked from commit f9c66434eea245ae05a449059391515376f5a456)
Reviewed: https:/ /review. openstack. org/561611 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b255e16bd93 d9891caff8ffc84 b8d7bc2991f90a
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit b255e16bd93d989 1caff8ffc84b8d7 bc2991f90a
Author: Jay Pipes <email address hidden>
Date: Fri Jan 26 12:20:35 2018 -0500
only increment disk address unit for scsi devices
We were erroneously incrementing the disk address unit attribute for
non-scsi devices, which resulted in inconsistent disk device naming and
addresses when SCSI devices were used along with non-SCSI devices (like
configdrive devices).
Also, we ensure that we assign unit number 0 for the boot volume of a from-volume instance.
boot-
Co-authored-by: Mehdi Abaakouk <email address hidden>
Closes-bug: #1729584
Closes-bug: #1753394
Conflicts: tests/unit/ virt/libvirt/ test_driver. py
nova/
NOTE(artom) Conflicts in nova/tests/ unit/virt/ libvirt/ test_driver. py config_ with_graphics method isn't
because the surrounding _get_guest_
present in pike.
Change-Id: Ia91e2f9c316e25 394a0f41dc341d9 03dfcff6921 b58eef7da87b6e8 93f25a949e) e05a44905939151 5376f5a456)
(cherry picked from commit 2616b384e642b6e
(cherry picked from commit f9c66434eea245a