Commit Graph

223 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
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
Pranali Deore 02de7a7d2a Refresh Glance example configs for bobcat milestone 1
Change-Id: I4d21cbcd0b2b09b88dd73575d9f9e36bf037bded
2023-05-07 19:27:00 +00: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
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
PranaliD d4e5320ea3 Refresh Glance example configs for Zed milestone 2
Change-Id: I3a67d3b996d3dd3a5001d8bcc5c5ecf7700593e4
2022-07-12 13:29:36 +00:00
Zuul 0eeac314de Merge "Add missing oslo_limit options" 2022-07-11 16:44:00 +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
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
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
Abhishek Kekane 0bd3791e15 Refresh Glance example configs for Xena milestone 3
Change-Id: Ib0d69c875ed6291b0ab2b82e737d201f7041bbc8
2021-09-03 13:38:41 +00: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
Abhishek Kekane 19229d7990 Refresh Glance example configs for Victoria milestone 3
Change-Id: Ibd02882c1e42de3db7f78b50dd974b99b0d9ded1
2020-09-03 05:53:06 +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
Abhishek Kekane 68e5fa35cb Refresh Glance example configs for Ussuri milestone 3
Change-Id: I1c2c14c3e1997b1adbc28022ea03fd541554bdb6
2020-04-10 14:15:57 +00: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
Abhishek Kekane 1ec86b668c Refresh Glance example configs for Ussuri milestone 2
Change-Id: Iac910e2c0a745d53464712b8714191c4275857c2
2020-02-12 06:10:07 +00:00
Abhishek Kekane 0eacf2da18 Refresh Glance example configs for Ussuri milestone 1
Change-Id: Iaac5c65f10f39027dd191b2397d8e5141bc9e12d
2019-12-19 16:30:17 +00:00
Erno Kuvaja 0cefe020df Refresh Glance example configs for Train
Change-Id: I9930dc0fa1c7da883ecb1b77a52a492e2d3e7baa
2019-10-01 10:38:44 +01:00
Erno Kuvaja d9546dce75 Images API version bump and config sync
This change contains minor version bump to Images API to
indicate latest changes to the API.

Also has config file sync for for M3 release.

These two are combined for saving some gating time due to
busy infra at Train milestone 3 deadline.

Change-Id: I13133c32734751d43cc3afed9b68d015cebd5b6b
2019-09-16 13:25:45 +01:00
Erno Kuvaja 71ea2e9afd Stein example configs refresh
Change-Id: Ifbe84399618547044df9546908045ccd6dc6fb7c
2019-03-21 16:38:32 +00:00
Erno Kuvaja 87a59ae52b Sync Rocky example configs
Change-Id: Ied1902018ded20b35bfa69200a1faee34fb3a4d6
2018-08-07 13:53:32 +01:00
Brian Rosmaita 978be1f57e Regenerate sample config files
Regenerate the config files for Rocky-2 milestone release.

Change-Id: I4d008daacd500ffcc8c0551ae085af854828b8c1
2018-06-07 09:54:09 -04:00
Brian Rosmaita 1f3d56fdcc Deprecate owner_is_tenant
Mark the owner_is_tenant configuration option as deprecated.
Includes a release note and regenerated configuration file.

Change-Id: I10c354aa82d269136eb743195d07411da231bfda
Implements: blueprint spec-lite-deprecate-owner-is-tenant
2018-03-13 13:50:34 -04:00
Brian Rosmaita 7aaa4fcff6 Regenerate sample configuration files
Regenerate the configuration files for Queens RC-1

Change-Id: I010517b2075b84bff1d0fcc2cba17b794a271bcf
2018-02-07 16:01:54 -05:00
Jesse Pretorius e078c7e3b2 Correct related section for enable_image_import
The documentation references the section DEFUALT
instead of DEFAULT. As this is most likely a
spelling error which will cause confusion, it is
better if we fix it.

This patch corrects the config option information
and includes an updated set of sample config files
generated from the current code including the fix.

Change-Id: If3c5e334aa1fa2ff5a28f52c00330d42cb9bcf9d
2017-11-17 18:33:45 +00:00
Brian Rosmaita 3ce6c58a33 Refresh config files for Pike RC-1
Regenerated the configuration files before branching.

Change-Id: I262b00b663a6eea2b310b6dc46bb220ed7a1349d
2017-08-10 12:11:33 -04:00
lingyongxu 7c1764b85d Update the documention for doc migration
This patch is proposed according to the Direction 10 of doc
migration(https://etherpad.openstack.org/p/doc-migration-tracking).

Change-Id: I71ced5bd5a0979acf21a60c6157b0af98f061f20
2017-08-02 07:22:46 +00:00
Brian Rosmaita f7adc0f22c Refresh config files for Ocata RC-1
Regenerated the config files before branching.

Change-Id: I0fee0f4604997ccb388dd8e25dee9d388fe21f14
2017-02-02 23:40:19 +00:00
Maxim Nestratov ab7152ea28 Add ploop to supported disk_formats
Lite-Spec-Id:Ib45de5ff2fe7fc4e1c2d6f8cb6772e017ef891c2
Change-Id: Ice74c4bf9ed2efae519930f33b2fa2b3c162e8c4
2016-12-22 21:14:14 +03:00
Ian Cordasco c3baf74f26 Update sample config files for Ocata-3
In preparation for the last Ocata beta milestone, let's update our
configuration files. This will also allow for other folks who are
updating config files to create much smaller diffs.

Change-Id: Id644879bb9e93a291c7935eaeacf664bbf46efc2
2016-12-21 07:04:03 -06:00
Jenkins 48ee8ef479 Merge "Keep consistent order for regenerated configs" 2016-09-13 20:28:53 +00:00
venkatamahesh 25b492c019 Fix a small markup typo
This typo throws error while generating tables in config-reference
of openstack-manuals

Change-Id: If0be47225fbe8c59f7e0679dbced361fda5a960e
2016-09-03 17:48:50 +05:30
Nikhil Komawar 80006b43a7 Keep consistent order for regenerated configs
There's a bug in glance_store ( bug 1619487 ) that results in a
reordering of the store related configurations everytime the tool to
autogenerate configs is used.

This commit generates the Newton config in the deterministic way by
using the suggested solution described on the bug.

For more information and background discussions see change
Iea2c538b37182191445cc5c1f8b2d9dceed06343

Related-Change: I3146b8597a5d89da49b84d6653edacc3067c2c71

Change-Id: Idbea98865ccfc14563ab4357764383e1e7021542
2016-09-01 23:50:19 +00:00
Nikhil Komawar 11cfe49b8f Regenerate config files for Newton
During the release many config options are changed or updated. The
sample config files provided in tree (under etc/*) need to be updated
using the autogeneration tool as these files are being used in different
places. Some examples are devstack gates, downstream packagers shipping
with the same (or using defaults from these files), etc.

Hence, before we cut a release we need to refresh the config files
shipped with tree to match the changes done in the source code during
the release cycle.

This commit is intended to refresh the entire set of config files for
Newton. They include:

    * glance api and registry related configs
    * scrubber, cache and manage utilities' configs
    * any other configs coming from downstream like oslo libraries,
      glance_store, etc.
    * belonging to affiliated code base like glare.

Change-Id: Iea2c538b37182191445cc5c1f8b2d9dceed06343
Co-Authored-By: Nikhil Komawar <nik.komawar@gmail.com>
Co-Authored-By: Hemanth Makkapati <hemanth.makkapati@rackspace.com>
2016-09-01 14:02:37 -04:00
Nikhil Komawar b5f31eef57 Refresh some config files based on bug fixes
Change IDs I123be151fdda8037e62ba21600e63c45fdc90c8d and
Ie332236d6e11e0cb63114bc1c68c3a8691f1f1ae fix adding some missing config
options to be included as a part of the sample configs. We need to
refresh the configs to include those to be part of the latest sample
set. This commit refreshes some of the config for that purpose.

This change has been inspired while writing release notes here
If0b8b731c2a1a1c41fc612d506c350073d832efa . It was observed that the
bugs mentioned missing config opts in the sample files and have been
marked fixed. However, in order to make the release notes consistent
with that claim and to mention, as a part of the release notes, that
those bugs have been fixed, refreshing this has become important.

Change-Id: I534a0dc2d9f82ab70517cde12bfd40d4f5ae69e2
Related-Bug: 1568723
Related-Bug: 1568894
2016-08-02 18:32:00 -04:00
Stuart McLaren fc0b47beb6 Add 'vhdx' disk format.
This patch adds the Hyper-V 'vhdx' disk format to the Glance
configuration. This allows users to upload 'vhdx' images by default.

'vhdx' disks can have much larger storage capacity than the older 'vhd'
format [1].  (Plus, anything with 'x' in the name is awesome.)

DocImpact: Docs will need to be updated to indicate that the 'vhdx'
disk_format is now one of the default disk formats supported by Glance.

UpgradeImpact: Adds 'vhdx' to the default list of disk_formats.  Operators
will no longer need to configure specifically to use 'vhdx' disks.

[1] https://technet.microsoft.com/en-us/library/hh831446(v=ws.11).aspx

Spec-Lite: https://review.openstack.org/#/c/347626
Change-Id: I4e172c78d7afeb8be5a0123238efe3d8e4b044c9
2016-07-28 16:34:00 +00:00
Jamie Lennox b0d0b1d0ba Use http-proxy-to-wsgi middleware from oslo.middleware
The HTTP_X_FORWARDED_PROTO handling fails to handle the case of
redirecting the /v1 request to /v1/ because it is handled purely by
routes and does not enter the glance wsgi code. This means a https
request is redirect to http and fails.

oslo.middleware has middleware for handling the X-Forwarded-Proto header
in a standard way so that services don't have to and so we should use
that instead of our own mechanism.

Leaving the existing header handling around until removal should not be
a problem as the worst that will happen is it overwrites an existing
'https' header value set by the middleware.

Closes-Bug: #1558683
Closes-Bug: #1590608
Change-Id: I481d88020b6e8420ce4b9072dd30ec82fe3fb4f7
2016-06-09 09:52:04 +10:00
Erno Kuvaja 9ef5ed125c Remove unused enable_v3_api config option
The option was used to enable experimental Artifacts API
that was moved to glance-glare service. This config option
does not do anything and is removed to avoid confusion.

Removed apropriate sections from example config files as well.

Change-Id: Ie84f3f65ec88fd30197758ac319ef5b2f4c313e2
Closes-bug: 1556050
2016-03-11 12:00:55 +00:00
Niall Bunting 1d459fda31 Update the config files
This should be the last time reordering happening by the
configgenerator. In future we should see only actual changes but to get
there we need to do this massive change once more.

Closes-Bug: 1553330
Change-Id: Icca0a94a40ba640ca75e01b5cd0d061dacd334ff
2016-03-09 10:31:57 +00:00
Jenkins 1f6ff26863 Merge "Deprecate use_user_token parameter" 2016-03-07 19:31:12 +00:00
Mike Fedosin 80fef06497 Deprecate use_user_token parameter
Parameter 'use_user_token' in glance-api.conf
was considered as harmful and not acceptable
for real deployments, because if it's disabled,
it changes system behaviour and allows any regular
user to perform requests with admin credentials.

In functional tests the default value was set
to True to prevent possible failures in the future.

Besides, several admin authN parameters were
deprecated as well, because they are useless without
'use_user_token'.

All required information was added to related
documentation sections, sample config file was
updated as well.

https://wiki.openstack.org/wiki/OSSN/OSSN-0060

Change-Id: Icfef49d787fa58e2af2e60e4fdc96633c5f0c010
Related-bug: #1493448
2016-03-07 17:06:04 +03:00