Commit Graph

51 Commits

Author SHA1 Message Date
Zuul cb5094a38a Merge "reno: Update master for unmaintained/wallaby" 2024-03-14 12:17:23 +00:00
Zuul 693d43531a Merge "reno: Update master for unmaintained/xena" 2024-03-14 12:02:01 +00:00
OpenStack Release Bot 428830af2a reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I95b12b3f3fa25981b1bab2bb9599aa516256e12b
2024-03-14 11:28:19 +00:00
OpenStack Release Bot 9a6e6d8191 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I3bf7fc681b07b9552a3405d340b480e22c8fd77d
2024-03-14 11:23:48 +00:00
OpenStack Release Bot 52329b09dc reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I8298474d90ff476bb9b582defc70314b987a86fd
2024-03-14 11:19:15 +00:00
OpenStack Release Bot 9601b89f74 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I44718ad0cfd1fa53a9926aef5f68288c954ac021
2024-02-06 15:04:45 +00:00
OpenStack Release Bot 71192b16a7 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I585da0c56d9dfe8334ed5de0e853fab663a4b1d1
2023-09-08 14:56:26 +00:00
Julia Kreger ba7d45a526 Update MD5 checksum references
Change-Id: Ibc73ba24aba7644bdfc131a23f2f4060bb053f4f
2023-05-08 12:14:17 -07:00
OpenStack Release Bot 0e8dd58055 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I1a9dfbee53b41dddb63544bde835acd493f95c7b
2023-03-02 14:13:28 +00:00
OpenStack Release Bot 951e6435cc Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: If9988dcccb8b6eb7be97955f73a3ffcdeb1c5b3f
2022-09-08 07:52:29 +00:00
OpenStack Release Bot c0955b12e9 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I8d6d17078ef0df3b6e9c72436336351edcf96b09
2022-03-07 14:07:52 +00:00
Harald Jensås 264836d59a Allow both 'network' and 'subnet' in NIC
Fixes and issue where a port cannot be created on
a specific subnet if there are multiple subnets
with the same name on different networks.

Allows both 'network' and 'subnet' in NIC information,
when looking up the subnet filter on the network_id when
both 'network' and 'subnet' is provided.

Story: 2009732
Task: 44152
Change-Id: Ied2d16ec33fe71522c3461d3df6e70fbfdd976b2
2022-02-01 09:50:41 +01:00
Harald Jensås 81d820f28f Set binding:host_id on VIFs
Set the 'binding:host_id' on neutron port VIFs when
they are created, or update it for existing ports.

This ensures IP allocation is not deferred by neutron.

If IP allocation is deferred, the config-drive network
metadata will not include enough information to properly
bootstrap the instance networking.

Story: 2009715
Task: 44089
Closes-Bug: #1952573
Change-Id: I7411c1f2fbc57dad0504fe61e278308030f059bf
2021-11-30 02:23:30 +01:00
Harald Jensås f98dfa61c1 Write network_data.json metadata to config-dirve
cloud-init will use fall-back config when network metadata
is *not* present. This works fine if the first NIC on the node is
connected to a network with DHCP. But, when the first NIC is not
used for provisioning, cloud-init will only write a fallback config
for the first NIC. This causes the provisioned node to be unavailable.

Extend instance configuration to include network metadata so that
cloud-init can configure node networking.

Story: 2009238
Task: 43378
Change-Id: I70f1a972a6d5a0398cd348f00308957386d66067
2021-09-22 14:50:02 +02:00
OpenStack Release Bot 9615de0ea3 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: Ia6bcc429fbf365f430ca41b85af0ad055f7e0056
2021-09-10 14:32:03 +00: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
Zuul 3441b458c1 Merge "remove unicode from code" 2021-03-18 12:43:32 +00:00
OpenStack Release Bot 3114db17dc Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: I786551df4c56e6521a77289199dce7b5fb9d2d4e
2021-03-18 10:23:11 +00:00
wu.shiming 621cd8c129 remove unicode from code
In Python 3, all strings are represented in Unicode.In Python 2 are
stored internally as 8-bit ASCII, hence it is required to attach 'u'
to make it Unicode. It is no longer necessary now.'

Change-Id: I4d475c4ed3c79539c2bc383462f1ffca1e420520
2021-03-04 11:04:33 +08:00
Riccardo Pittau 347e756dfe Fix release versions
Change-Id: I54262785ba88a3fc63982931f7888dd90de1f219
2021-03-02 15:19:41 +01:00
Dmitry Tantsur 65f85451d0 Do not wipe instance_info on normal unprovisioning
Ironic uses information from instance_info on tear down and removes
it afterwards automatically.

Change-Id: I88ea06b7cb07d648cc68b677e905bf403ae8e1ed
2021-01-26 19:19:05 +01:00
Steve Baker 22a4e4071c Add metalsmith_instances instance option config_drive
This has sub-options ``cloud_config` and ``meta_data`` and allows
customization of data packaged in the config-drive to be consumed by
cloud-init.

This is needed by TripleO to provide an equivalent to the current
heat/nova based firstboot customization support.

Change-Id: Ie384292a3310cb06e908dd9027e9300ca108e7dd
2020-11-11 09:15:24 +13:00
OpenStack Release Bot 78cf5b5ad6 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: Ib892cf8c75ab7be45fcb1b1d3467405b9dcbb513
Sem-Ver: feature
2020-09-04 13:04:54 +00: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
Andreas Jaeger 7f25b01fb2 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I7843eced652e12d013a58b5254a356b2ed2f0a81
2020-05-21 20:23:40 +02:00
OpenStack Release Bot cfb4e17529 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Iebf804d227f950ad9b7f5d589c6682a99c595370
Sem-Ver: feature
2020-04-02 10:52:38 +00:00
Iury Gregory Melo Ferreira 33871b187b Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

metalsmith is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: Icf19488a3f230084faaf2ab5ece626b03495592e
2019-11-25 13:33:37 +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
Mark Goddard 3c95b4ac42 Add versions to release notes series
Change-Id: I844e93c6c83632c260e23fabc1a7d07d9373dd95
2019-09-30 09:01:44 +00:00
OpenStack Release Bot ae639df1f3 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: Ie47f01373e5bcba57a7a9448ac42a02e23151e9e
Sem-Ver: feature
2019-09-04 20:54:19 +00:00
Zuul 500094fc63 Merge "Remove deprecations from 0.13" 2019-08-06 13:41:03 +00:00
Dmitry Tantsur 70acccc489 Remove deprecations from 0.13
Change-Id: I1da92c8ba3af2923d4ac8e16b787a9cdfc92fe4e
2019-08-02 14:24:33 +02:00
Dmitry Tantsur 97311ce7fb Clean up exceptions metalsmith raises
This change switches from a mix of metalsmith and SDK exceptions
to consistently using metalsmith exceptions.

Change-Id: I43339686a42644877dbe40d1116db1585a8a0800
2019-08-02 13:59:12 +02:00
Dmitry Tantsur 24d006b996 Bring formatting in line with other OpenStack CLI
Change-Id: Ifb299d5d95245e8848785eb2e2a7018fbb4129d6
2019-07-22 15:01:15 +02:00
Dmitry Tantsur e9c25b02e5 Use allocation name for hostname instead of a custom field
This concludes the switch to the allocation API.

Change-Id: I25cdae7d17604140f728fdbcfea4110cbd222679
2019-06-07 11:08:48 +02:00
Zuul b1769b01cc Merge "Split InstanceConfig into GenericConfig and CloudInitConfig" 2019-05-27 09:00:18 +00:00
Dmitry Tantsur 349e5074e3 Split InstanceConfig into GenericConfig and CloudInitConfig
As a side effect allows providing custom user data, not only users.

Change-Id: Ia4c305ea996b3bb58c5898777cc7a3c8b93a413d
2019-05-24 15:18:18 +02:00
Dmitry Tantsur 0e7fa76b5a Remove features deprecated in Stein
Change-Id: I9825df90c69233acaf3c712f371e33aaf2042d4c
2019-05-24 14:20:08 +02:00
Dmitry Tantsur 4920cc26a3 Allow disabling clean up on deployment failure
Change-Id: Iaa9e7ec1c2cd2b71047388e51255ec69d52d6a83
2019-05-17 14:13:10 +02:00
Dmitry Tantsur 0161effc3a Build configdrives on ironic side
Change-Id: Ia058a410d1b1277497fbb645fc102c8b0a7aba4f
2019-05-17 10:30:41 +02:00
Dmitry Tantsur 9be7472236 Accept hostname in reserve_node in addition to provision_node
With the allocation API we will need to provide the hostname as
the allocation name. Thus, we have to do it earlier.

Change-Id: I8afd8af23ad929fd9768e95a82fecd114fdcbfd9
2019-03-15 14:49:58 +01:00
Dmitry Tantsur 8e7b8d3f39 Ensure instance_info is clean before deploy and after failure
Currently stale values can be left in instance_info (and reused next time)
if a deployment attempts fails. This change ensures that we:
1) Purge instance_info completely on failures
2) Only keep traits and capabilities in instance_info on deploy.

Change-Id: I52a85620d9ac2f471bca6498294871f3bb16d47f
2019-03-08 14:31:47 +01:00
Dmitry Tantsur d64e020fd0 Make resource class required
Allocation API requires a resource class, so we have to require it now.

Change-Id: Ic3729fb8aa02c82379eceb2a2555fc9c0ba9bc57
2019-03-01 15:39:51 +01:00
OpenStack Release Bot 6d85e21ed0 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I33164e0e24e0c9384aae44f10e73f1f7b935c983
Sem-Ver: feature
2019-02-28 17:06:35 +00:00
Dmitry Tantsur 2aeb60434e Display hostname in the default formatter
Change-Id: If6021ee5449cf74159640fdcc3f248c9f99a4105
2019-02-20 14:32:43 +01:00
Dmitry Tantsur e795f6c841 Make sure to not try reserving a reserved node
After the switch to openstacksdk we no longer have a sufficient check
on node's availability or maintenance. This patch restores it.

Change-Id: I2c85cf0adb02061b3dd85f19dd10c8a5af1118da
2019-01-22 18:08:53 +01:00
Dmitry Tantsur 02932096df Clean up the edge cases around states
Currently show_instance returns an Instance even if the requested node
is not actually an instance (e.g. just an available node). This change
corrects it. Make list_instances consistent with it.

Also make the states a proper enum to avoid consumers from using invalid
values (I did it several times when working on this patch).

Change-Id: If9aad0d7f4d10a7119d1f0bccc1cc32a918a72e3
2019-01-18 17:49:01 +01:00
Dmitry Tantsur 47e9e9319d Support specifying a subnet for NIC
This may be required in case of routed networks as an alternative
to specifying a fixed_ip.

Change-Id: I8187f950cb961f60131af8b07fb54eee69019dbc
2019-01-16 16:27:02 +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 2d06d1c8af Add missing release notes for 0.9.0 changes
Change-Id: Id5bf8f2fa0f2cfde13b88cc92733e176aa4d2071
2019-01-15 12:58:31 +01:00