508 Commits

Author SHA1 Message Date
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] 06e6542f153a1ba197361f3f8cb0010c7d2d4285

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] 562cb0429f9e2657dbcf108c534ef6c4779eb177

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
Erno Kuvaja
781da9354f Remove configs and entries for deprecated registry
Including removal of the example conf in docs.
Including glance-registry command entrypoint to eventlet.
Including rpc_controller from wsgi, changed to reject.
Not including the files devstack is depending on.

This change means that glance-registry starts and announces
that it has been removed.
This change means that when ran as wsgi app, all calls to
/rpc endpoint will be rejected.

This will allow devstack to make a graceful transition to
life without the glance registry, which was deprecated in
Newton release.

Change-Id: I7bf3284cba4c38605fb50b3c458e53f896f34086
2020-06-08 21:11:45 +01:00
Takashi Natsume
ed3bb4e1fb Fix a failure to parse json file
Change-Id: I53454c05710ebc45381315a20e10e627cbb65650
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Closes-Bug: #1876419
2020-05-02 14:36:42 +09:00
Zuul
16520ed240 Merge "Update OS::Glance::CommonImageProperties in metadefs" 2020-04-21 08:39:36 +00:00
Zuul
f6a1b797da Merge "Add missing Image property hw_vif_multiqueue_enabled to metadefs" 2020-04-21 06:53:34 +00:00
Abhishek Kekane
68e5fa35cb Refresh Glance example configs for Ussuri milestone 3
Change-Id: I1c2c14c3e1997b1adbc28022ea03fd541554bdb6
2020-04-10 14:15:57 +00:00
khashf
b6d6144632 Add missing Image property hw_vif_multiqueue_enabled to metadefs
Add the missing hw_vif_multiqueue_enabled property and its descriptions
in doc/source/admin/useful-image-properties.rst to:
- etc/metadefs/compute-libvirt-image.json
- etc/metadefs/compute-vmware.json

Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Change-Id: I3b5ffc25a8d3fb5d55aa1ef93b20c5f8aefe93e8
Closes-bug: #1843576
2020-04-07 21:59:02 -07:00
khashf
7c4eda8f62 Update OS::Glance::CommonImageProperties in metadefs
Add missing properties, as of Train, defined in etc/schema-image.json
for OS::Glance::CommonImageProperties defined in
etc/metadefs/glance-common-image-props.json

Change-Id: I3e6d2ab88cca41bbf66dbced8b576637f13b9f57
Closes-bug: #1856581
2020-04-07 18:12:40 -07:00
Cyril Roelandt
772bae36ea Remove all references to sheepdog
The sheepdog driver has recently been removed from glance_store.

Change-Id: I58f0d20cadfae7a7df8b5dce6d8d4c66eaa2a148
2020-04-02 15:39:57 -05:00
Zuul
dd1975bd3e Merge "Remove empty policy.json" 2020-03-05 17:40:36 +00:00
Ian Wienand
0035ab2538 Revert "Remove all example configs for deprecated registry"
This reverts commit 2a28696de9e18a3866631507739944ceb3460872.

Devstack still references a number of these files; revert until
devstack incorporates removal.

Change-Id: I1e90ceee1f87291668e447f180f37bb809763836
2020-02-14 14:30:44 +11:00
Erno Kuvaja
2a28696de9 Remove all example configs for deprecated registry
Including removal if the example conf in docs.

Change-Id: I00c77b8f7001d8fa0fde4083c2ee88c370c14a09
2020-02-13 15:33:50 +00:00
Abhishek Kekane
1ec86b668c Refresh Glance example configs for Ussuri milestone 2
Change-Id: Iac910e2c0a745d53464712b8714191c4275857c2
2020-02-12 06:10:07 +00:00
Zuul
26c5c8dff6 Merge "Remove OS::Compute::Trust metadef" 2020-01-28 05:42:34 +00:00
Zuul
903e85fdd3 Merge "fix properties' missing underline for VirtCPUTopology" 2020-01-28 05:31:28 +00:00
Zane Bitter
5bffac0186 Remove empty policy.json
Supplying a policy.json file is no longer necessary.

Change-Id: I33b84c4d68e8077271447bcbdea4b7052eb01204
Depends-On: https://review.opendev.org/694386
2020-01-16 17:15:36 -05:00