Commit Graph

13 Commits

Author SHA1 Message Date
Julia Kreger ba7d45a526 Update MD5 checksum references
Change-Id: Ibc73ba24aba7644bdfc131a23f2f4060bb053f4f
2023-05-08 12:14:17 -07:00
Steve Baker 407e5051d4 Set image_disk_format from file extension for HTTP images
Node instance_info `image_disk_format` needs to be set to `raw` for
large raw images or the deployment may fail with a memory check error
or a full node tmpfs. Even when there is no error, without
image_disk_format=raw the image will not be streamed directly to disk.

image_disk_format is auto-detected and set by ironic for glance and
file sourced images, but this does not occur for direct HTTP based
images.

This change will set image_disk_format=raw when the URL file extension
ends with .raw, which is enough to support TripleO's conventions for
the overcloud raw image.

Change-Id: I6a9c225fc2d14b2d07cd0bf2379cd2c8c548f312
2021-07-06 14:58:59 +12:00
Dmitry Tantsur 3621535d67 Stop requiring checksums with file images
Neither deploy method requires checksums with file images, they're
simply ignored. Deprecate providing them.

Change-Id: Ia123c1d3c57cc2814e3f971209cbee3ab336f7bd
2020-09-03 14:23:52 +02:00
Dmitry Tantsur 954a6cab6d Start enforcing W504 in pep8
Apparently, not disabling W503 results in W504 ignored. The latter
seems to be preferred now.

Change-Id: I53124ff7b4083382dc24f32fe9affe6fc7478281
2020-05-04 11:27:57 +02:00
Iury Gregory Melo Ferreira c765bbe8a8 Stop using six library
Since we've dropped support for Python 2.7, it's time to look at
the bright future that Python 3.x will bring and stop forcing
compatibility with older versions.
This patch removes the six library from requirements, not
looking back.

Change-Id: I19384db89fc2a68376efc3f9f2e05fbd05046fd6
2019-12-03 15:15:20 +01:00
Dmitry Tantsur 2d801e2526 Stop requiring root size for whole disk images
This requirement has been fixed in newer versions of ironic.

Change-Id: I4460755ee66b4aa0b8a651b6bd142c769d669ee2
2019-11-05 18:29:16 +01:00
Dmitry Tantsur 8263ca2c2e Add sources.detect to detect various source types
Change-Id: Ic1e325538f0975b04750e10233e877ffcfbf4263
2019-01-16 12:40:50 +01:00
Dmitry Tantsur eee74d31b8 Completely switch to openstacksdk
Change-Id: I1729797fa03095d200c7334281915abc284b5732
2019-01-15 10:24:52 +01:00
Dmitry Tantsur 98ad1d86cd Wire in file image support
Change-Id: If729c8cde28186dc28ec994ddd23c981c9313fe2
Story: #2002048
Task: #26380
2018-09-12 12:42:03 +02:00
Dmitry Tantsur fc85cb9230 Support partition HTTP images in CLI
Also removed some dead code from sources.

Change-Id: I570eda45285771068711ef90d22550632411e98f
Story: #2002048
Task: #26208
2018-09-12 10:13:33 +02:00
Dmitry Tantsur 6bdd479773 Support for HTTP image location
Story: #2002048
Task: #19695
Change-Id: I75f33ebca3ea65274dcfcd8f4ddbd193f34706a9
2018-09-07 10:04:38 +02:00
Dmitry Tantsur f57e7547af Remove indirection when accessing Image and Network API
Change-Id: I1c6bc900088eb1bc925ef0471f4405208e874348
2018-09-06 18:57:47 +02:00
Dmitry Tantsur a34d0e0951 Foundation for different deployment sources
Change-Id: I7c9538e37476d9d3ea5b9cc403419dda95cf77cc
Story: #2002048
Task: #26064
2018-09-04 17:20:40 +02:00