Commit Graph

523 Commits

Author SHA1 Message Date
Pranali Deore 752aab74b1 Refresh Glance example configs for caracal m3
Change-Id: I7490eeaa7352d38fba95c40bbb17bd970887be8b
2024-03-07 07:01:26 +00:00
Takashi Kajinami a62475593a Replace CRLF by LF
... because LF is commonly used as newline code.

Change-Id: Ie7a324f14480e68e89f5f673c023fc15f574062e
2024-01-27 16:55:21 +00:00
Danylo Vodopianov 66566c3286 Add Packed Virtqueue extra spec and image properties
Virtqueue feature was added to the metadata properties for flavor and
images

- Add the hw:virtio_packed_ring flavor extra spec and corresponding
  hw_virtio_packed_ring image property.

Nova spec: https://review.opendev.org/c/openstack/nova-specs/+/868377

Depends-On: https://review.opendev.org/c/openstack/nova/+/876075

Change-Id: Ia8caf39467a91431ca85b2a56ec93a60c41a8e7d
2023-12-05 10:59:18 +02:00
PranaliD d575935358 Refresh Glance example configs for bobcat rc1
Change-Id: If016e5d4df3aa541088b932646aecbb3687e93dc
2023-09-07 06:51:54 +00:00
Pranali Deore d68f99a738 Refresh Glance example configs for bobcat milestone 2
Change-Id: If22e04649fb9a5c237ca59e3844974756303d127
2023-07-03 06:10:02 +00:00
Zuul e9c0c61fea Merge "Refactor pipeline definition" 2023-06-28 05:15:39 +00:00
Zuul 4282959698 Merge "Deploy healthcheck middleware as app instead of filter" 2023-05-15 08:23:28 +00:00
Takashi Kajinami 7ab9001750 Refactor pipeline definition
This introduces a new pipeline_factory so that we can use a single
entry to define pipeline for each deployment flavor.

Change-Id: Ia9b251f0e48f69baa0c5c988b91b216a627ed028
2023-05-10 12:34:56 +09:00
Pranali Deore 02de7a7d2a Refresh Glance example configs for bobcat milestone 1
Change-Id: I4d21cbcd0b2b09b88dd73575d9f9e36bf037bded
2023-05-07 19:27:00 +00:00
Takashi Kajinami fa9450d5b5 Deploy healthcheck middleware as app instead of filter
Using the healthcheck middleware as a filter is deprecated and
the middleware should be used as an application[1].
 [1] 6feaa13610c450c8486f969703768db5319b4846

This change updates definition and usage of the healthcheck middleware
accordingly to avoid the following deprecation warning.

DeprecationWarning: Using function/method 'Healthcheck.factory()' is
deprecated: The healthcheck middleware must now be configured as
an application, not as a filter.

Closes-Bug: #1937901
Change-Id: Id41e0313a481bea4e2bb14c69f2ad8a2070aa9be
2023-05-02 19:21:42 +02:00
Cyril Roelandt babf8f19a5 Remove duplicate value in compute-host-capabilities.json
Change-Id: I34707ecf7eb88dd0080707addeea852526f5beb0
Closes-Bug: #2007354
2023-04-11 15:51:44 +02:00
Pranali Deore 1d54dddaa0 Refresh Glance example configs for antelope milestone 3
Change-Id: Id27f12aecce5a981dedf0bc3513a2f19a1e2a24d
2023-02-16 11:15:59 +00:00
Pranali Deore f7f5389426 Refresh Glance example configs for antelope milestone 2
Change-Id: I8c9f9057f8601f31f5292450cc05819d24bf0d5c
2023-01-03 05:25:46 +00:00
yuqian 475193b11d vmware does't support VirtualSriovEthernetCard
Compute-driver: vmwareapi.VMwareVCDriver does not support
VirtualSriovEthernetCard

Change-Id: I1d4b0dee3c70454c0d595cb4a69606990b96b35a
Partial-Bug: #1779781
2022-11-21 21:57:17 +01:00
Pranali Deore 5d38dbdb9c Refresh Glance example configs for zed milestone 3
Change-Id: I5febc9f4094f88caab3ed18026a8cb7b6a345d45
2022-08-29 07:29:04 +00:00
Dharini Chandrasekar 8140abe639 Remove secure_proxy_ssl_header opt from Glance
Glance uses http-proxy-to-wsgi middleware from oslo.middleware in
its pipeline in order to efficiently forward request headers in case
of load balancer style deployments. Hence, the configuration option
``secure_proxy_ssl_header`` was marked as deprecated.

This patch removes the option and the support for it within Glance
to entirely rely on oslo middleware. This will ensure that the related
headers set by oslo.middleware:HTTPProxyToWSGI is never modified in
Glance.

Change-Id: I11d41bb736bbfd90030d88245c11642823e4c400
Closes-Bug: 1673908
2022-07-13 17:31:36 +00:00
Zuul 7a42b7be1a Merge "Refresh Glance example configs for Zed milestone 2" 2022-07-13 17:07:39 +00:00
Zuul 95a02faf9c Merge "Include os-brick configuration options" 2022-07-13 08:11:31 +00:00
PranaliD d4e5320ea3 Refresh Glance example configs for Zed milestone 2
Change-Id: I3a67d3b996d3dd3a5001d8bcc5c5ecf7700593e4
2022-07-12 13:29:36 +00:00
Gorka Eguileor d6f6b726f3 Include os-brick configuration options
The cinder glance store now supports using an os-brick specific location
for file locks instead of using the one defined for the whole service
using the ``lock_path`` configuration option in the ``os_brick``
configuration section.

To render this option when generating the sample config file with ``tox
-egenconfig``, the ``os_brick`` namespace needs to be configured in the
oslo-config-generator config files and the os-brick dependency needs to
be present.

This patch adds the os-brick package as a dependency in the genconfig
test environment and adds the namespace to the relevant config files.

Depends-On: Ib11d63e3c388e12f145f40247d17030a566b8c5e
Change-Id: Ie25ab8bcc01a57e26da6a951e899659ec1782140
2022-07-12 11:35:04 +02:00
Zuul 0eeac314de Merge "Add missing oslo_limit options" 2022-07-11 16:44:00 +00:00
Zuul 4335195535 Merge "Fix URLs in the form docs.openstack.org/developer/$project" 2022-07-07 15:42:28 +00:00
Cyril Roelandt 0cbdfdde40 Fix URLs in the form docs.openstack.org/developer/$project
These URLs are now in the form docs.openstack.org/$project/latest. Make
sure to use always use https for these URLs.

Change-Id: I4a75bb6097399efca373d2f9a0e8697eb92312a7
2022-07-05 19:23:33 +02:00
Takashi Kajinami 7e6a118dfd Add missing oslo_limit options
Glance now depends on the oslo.limit library to support the unified
quota[1], but parameters of the library are still missing from
glance-api.conf.

This change ensures the parameter of the oslo.limit library are
included in glance-api.conf generated by oslo-config-generator.

[1] 06e6542f15

Closes-Bug: #1946100
Change-Id: I56a2a9d8184f50624239b90dd9bef671c195fb90
2022-07-05 22:00:11 +09:00
Gonéri Le Bouder d883e4fd5b doc: update the kvm kw_vif_model driver list
The kw_vif_model driver list has evolved a bit. This commit adds:
- e1000e: I12a5d28d75bc32a76a4f3765cb4db4cbc46c0c75
- vmxnet3 I95203af4ded9a4dbecfb7981b400f0fb988f2d47

Change-Id: I23fbd227274c89735547322cedda565c5987776d
2022-07-04 22:39:25 +02:00
Takashi Kajinami 08a0a738b3 Remove options for oslo.db thread pool support
Thread pool support in oslo.db was already deprecated[1], and it is not
actually used by Glance.

[1] 74c6bf266e0b86ceb4726cad9268f134d423bae8

Change-Id: I79e934f34f33953c821b6529a34e44dcf2a9688c
2022-06-24 09:20:41 +09:00
Zuul 45b729e35e Merge "Add flavor and image options to select emulated virtual tpm" 2022-05-23 09:52:51 +00:00
prithiv d8a108e7b3 Add CPU Mode Metadata Def
Creates Metadata def for CPU Mode. The allowed
modes are "none", "host-passthrough", "custom"
and "host-model".

Change-Id: Id7a01546334ddea952708143c5dfc7861353f2fc
Closes-Bug: 1636243
2022-05-18 18:04:59 +00:00
Paul-Emile Element e89929fde2 Add flavor and image options to select emulated virtual tpm
This commit adds three new flavor/image options to the interface.
The new options will allow the user to select and configure an
emulated virtual TPM in the guest. The new options are:

traits:COMPUTE_SECURITY_TPM_1_2
traits:COMPUTE_SECURITY_TPM_2_0
hw:tpm_model

nova blueprint: add-emulated-virtual-tpm

Change-Id: I1ff51f608b85dbb621814e70079ecfdd3d1a1d22
Signed-off-by: Paul-Emile Element <Paul-Emile.Element@windriver.com>
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
2022-05-18 16:09:18 +00:00
Pranali Deore 416a56c492 Refresh Glance example configs for Zed milestone 1
Change-Id: If174762b20ae0ddb468757a81dbb38e01f4061e4
2022-05-18 11:21:51 +00:00
Erno Kuvaja 69a4de827f Sync example configs for Yoga
Some updates in configs, especially deprecation message for db
threading.

Change-Id: I62efa836a5e02641ac12ae7d786e1bee79ebb487
2022-03-01 16:14:41 +00:00
Kashyap Chamarthy bfc7a178e3 Add "bochs" as a possible video model
In Xena, this commit[1] support for the "bochs" video model (the device
is recommended for UEFI guest), but neglected to update Glance
documentation.  Correct that now.

[1] https://opendev.org/openstack/nova/commit/c590843974
    "Allow 'bochs' as a display device option"

Change-Id: I2026a81d3611e069fbcd1a79c2384d18cb5a653d
Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
2021-11-15 14:42:49 +01:00
Zuul 1a0191d8f0 Merge "Add missing [oslo_reports] options" 2021-09-08 20:39:04 +00:00
Zuul 2984188eee Merge "Add missing parameters for the healthcheck middleware" 2021-09-08 20:38:59 +00:00
Abhishek Kekane 0bd3791e15 Refresh Glance example configs for Xena milestone 3
Change-Id: Ib0d69c875ed6291b0ab2b82e737d201f7041bbc8
2021-09-03 13:38:41 +00:00
Takashi Kajinami d155c37693 Add missing [oslo_reports] options
The oslo.reports library provides some options under the [oslo_reports]
section. This change ensures these parameters are rendered by
the oslo-config-generator command.

Closes-Bug: #1940733
Change-Id: Icdfa374640e8962198790c30f4d0e0ec03b2f2cd
2021-08-21 17:22:51 +09:00
Takashi Kajinami 33f2875ce0 Load options from the castellan library
Currently Glance relies on the castellan library for encryption, but
the option for the library have been missing from glance-api.conf .
This change ensures options from the castellan library are rendered
into glance-api.conf by the oslo-config-generator command.

Closes-Bug: #1940090
Change-Id: I5b9459dfc3060ea40272d13f21ae87ff4ade64c5
2021-08-16 22:55:38 +09:00
Takashi Kajinami 2c2a1317af Add missing parameters for the healthcheck middleware
The healthcheck middleware was added to the api pipelines a long ago[1]
but parameters of the middleware are missing from the example
glance-api.conf file.
This change adds the oslo.config.opts endpoint so that the parameters
of the middleware are rendered by the oslo-config-generator command.

[1] 562cb0429f

Closes-Bug: #1939944
Change-Id: Ibf6839b3cf202b2a1b253c4687d08f072349513e
2021-08-14 22:15:20 +09:00
Erno Kuvaja 04541ae72b Clean out deprecations from paste.ini
The etc/glance-api-paste.ini had still couple of pipelines left
behind from registry and osprofile options deprecated in 2015.

This change clears those and removes the reference note from
configuring doc.

Change-Id: Idb78cd2935a9ea5a1b1bc3ee6153311190422ca5
2021-07-29 12:50:36 +01:00
Abhishek Kekane 1d8117b093 Refresh Glance example configs for Xena milestone 2
Change-Id: I034497da6cd977ad6d025bf183f51c3ff1d3df40
2021-07-09 05:06:40 +00:00
Abhishek Kekane dbab664039 Refresh Glance example configs for Wallaby milestone 3
Change-Id: Ifc957de2bcf4d22c1b7cba31ce2b467df9d5aa85
2021-03-08 08:59:50 +00:00
Cyril Roelandt 7839ab0925 Remove unused option "owner_is_tenant"
This option has been deprecated since Rocky.

Change-Id: I8edc957ad50ec28d80a06e76912f4226cea53562
2021-02-11 16:17:10 +01:00
Stephen Finucane e1fe3024bb docs: Remove references to XenAPI driver
The XenAPI driver is dead. Let's hold the tissues and clear out
references from the documentation instead.

Change-Id: I6ec331cf7d2d1ded924893f707ed963027939754
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-09-17 17:09:17 +01:00
Abhishek Kekane 19229d7990 Refresh Glance example configs for Victoria milestone 3
Change-Id: Ibd02882c1e42de3db7f78b50dd974b99b0d9ded1
2020-09-03 05:53:06 +00:00
Zuul c1cf511a7c Merge "Fix metadefs for compute-watchdog" 2020-08-29 03:02:57 +00:00
Abhishek Kekane 5071a60c97 Refresh Glance example configs for Victoria milestone 2
Change-Id: Ie8b8e8557098e756399b106bafc03bbcb39c29b0
2020-07-28 16:07:08 +00:00
Erno Kuvaja 96507d3eaf Update sample configs post deprecation removals
Change-Id: Ib3deb9361887caeea606db4955cd9d35d263de0a
2020-07-14 10:45:56 +00:00
Erno Kuvaja 3068096199 Cleanup remove api v1 and registry code
Change-Id: I86a3cbf4374bc2b083ccd86f75b88490b305eaab
2020-07-14 10:38:19 +00:00
Cyril Roelandt 24c281230e Fix metadefs for compute-watchdog
Change-Id: Idf9be5afea5d034b9679ad451306a8f2d365aa51
Closes-Bug: #1887099
2020-07-10 02:55:11 +02:00
Erno Kuvaja 673666cbf4 Deprecation cleanout Registry and related
This patch removes majority of the registry and it's related
endpoints and config options that has been deprecated for
removal in various releases.

Change-Id: I75014bd50bf382efebe56bd89c20ffefbdde25f5
2020-06-30 20:41:30 +01:00