Commit Graph

15830 Commits

Author SHA1 Message Date
Brendan Shephard
3eaeda68ba Allow arbitrary image properties
In some circumstances, it is necessary to have
arbitrary image properties on Glance images.
An example is described here:
https://storyboard.openstack.org/#!/story/2008951

This patch adds the ability to specify those
properties using the WebImage resource.

Story: 2008951
Task: 42575
Change-Id: I23475185671c52b02eb57f1aa537f206b51c384a
2021-08-04 23:43:42 +00:00
Zuul
c72b55bee9 Merge "Detect EL8 platform-python" 2021-07-01 11:24:56 +00:00
Zuul
b812a98d3b Merge "Don't reference OS::Nova::FloatingIP in the docs" 2021-06-26 03:44:53 +00:00
Zuul
7d05509cdb Merge "Use stdlib fnmatch module" 2021-06-26 03:44:48 +00:00
Rodolfo Alonso Hernandez
4fe338cafb Use stdlib fnmatch module
oslo.utils fnmatch module has been deprecated [1].

[1]4c893c92f5

Change-Id: Ib33ff22fdd0ec8ceb0b2d4f7ae7ec581e9d998b4
2021-06-25 10:48:49 +00:00
Zuul
d54d7c7a29 Merge "Suppress policy deprecation warnings" 2021-06-25 10:40:30 +00:00
Zuul
cdabffd002 Merge "Switch to use <user/project>_domain_id in context" 2021-06-25 10:40:21 +00:00
Zane Bitter
0d1976c988 Don't reference OS::Nova::FloatingIP in the docs
Nova-network is long gone and this resource type has been hidden for
many, many releases.

Change-Id: Id6fd24dad04c5d547368ca54f7210429f27e2b37
Story: 2008978
Task: 42622
2021-06-24 16:33:02 -04:00
Zuul
8a5a18322f Merge "Add availability_zone to OS::Octavia::LoadBalancer" 2021-06-24 13:42:54 +00:00
ramishra
892f365a1e Suppress policy deprecation warnings
Logs are now filled with these deprecated policy warnings.
We'll remove it once we remove the deprecated rules.

Closes-Bug: #1933241
Change-Id: I5b52b0bdaa41510c0d962876241bf9b7ad121d96
2021-06-23 14:51:19 +05:30
ramishra
3cf6c575db Switch to use <user/project>_domain_id in context
Unreadable logs from oslo.context warnings.

"Using the 'project_domain' argument is deprecated in version
'2.18' and will be removed in version '3.0'"

Change-Id: Icfe18a5d299da4b6b4024374791be53f2b3e41f2
2021-06-23 14:22:55 +05:30
Zuul
de6b6dd024 Merge "[goal] Deprecate the JSON formatted policy file" 2021-06-21 19:25:09 +00:00
Zuul
e290a0aad3 Merge "Calculate resource data prior to legacy updates" 2021-06-18 07:08:49 +00:00
Ghanshyam Mann
157f358057 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and code.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: I1aa12bcd2638390f25d57ce8abeeec248121dc02
2021-06-17 01:35:45 +08:00
Jake Yip
ba0b6676c0 Add availability_zone to OS::Octavia::LoadBalancer
Change-Id: I63369b92b77b4f84bc2646ab35632006ee6b841b
2021-06-16 22:41:32 +10:00
Brendan Shephard
f341395a46 Fix SQLAlchemy use for version 1.4
The change to SQLAlchemy upper constraints has
broken some of the tests in Heat. Syntax and usage
needs to be updated accordingly to ensure tests work
with the 1.4 version of SQLAlchemy.

Reference:
https://storyboard.openstack.org/#!/story/2008974

Story: 2008974
Task: 42616

Change-Id: Id4755c8c58401ebfd42a8c57f94d111de9f74ac1
2021-06-16 07:55:25 +10:00
Zuul
25db658788 Merge "Add explict dependency to avoid gate unstable" 2021-06-09 08:20:32 +00:00
ricolin
ec0c79a155 Add explict dependency to avoid gate unstable
Gate job is extremely unstable because [1]
This patch propose to add explict dependency before we fix the issue.

Story: 2008936
Task: 42544

[1] https://storyboard.openstack.org/#!/story/2008936

Change-Id: I97e05c3d912030dbf77218b114e9e16fb25dca97
2021-06-07 17:12:51 +00:00
Zuul
2c25e330ca Merge "Fix zuul config for heat-functional" 2021-06-07 10:50:18 +00:00
Manpreet Kaur
793f5b37ae [Doc] Moving to OFTC
This patch updates Freenode to OFTC as IRC server in document.

Change-Id: I8049b24601c2c7faf1567452cf550118c6237bbb
2021-06-03 19:39:06 +05:30
Ghanshyam Mann
29573f8fbf [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38524
Change-Id: I41b6fa23569047c8ed877902989a5ebd20c0c189
2021-05-31 20:37:14 +00:00
Pavlo Shchelokovskyy
9652d45e30 Fix zuul config for heat-functional
YAML indentation is wrong, instead of their appropriate sections
options are set to the DEFAULT section of config like the following

  [DEFAULT]
  heat_api = {'workers': 2}

not sure if oslo.config handles that properly so better fix this.

Change-Id: I6b414770985afd3d71c6cc718ea366fbd384e88c
2021-05-18 18:44:17 +03:00
ramishra
a8f8528d1e Preserve order in list_concat_unique
Also, we should not modify a list when iterating
over it.

Task: 42359
Closes-Bug: #1925373
Change-Id: Iaa2c05b4155d93f44de60b6f98a69450c1512817
2021-04-23 11:49:23 +05:30
ramishra
49e5e12059 Fix failing test_common_constraints
After UC change for croniter in [1]

[1] https://review.opendev.org/c/openstack/requirements/+/785745
Change-Id: I7506f3b95ae52777ea39042b449f7949f3f81aed
2021-04-14 15:40:35 +05:30
Zuul
d7aee60eec Merge "Check ready status volume before extend volume" 2021-04-07 14:12:35 +00:00
Zuul
8df6c0f876 Merge "Add Python3 xena unit tests" 2021-04-03 12:03:41 +00:00
ramishra
bfbaab107d Don't update status for replaced resource
With I04e7ad90944c2d03ce0e59ba16af9d60d6e01222 we allowed
update of previously-existing resource if replacement
creation has failed during last update. However, we force
update the status of the existing resource to 'COMPLETE'.
Therefore, in the next update if properties/type has not
changed for the resource it won't try to update/replace
the previously existing resource resulting in false positive
of stack updated successfully.

Task: 42194
Change-Id: Icc90a921ec67e49aec2c4acfad72235c57c78421
2021-04-01 19:39:58 +05:30
ramishra
6ff0dc2e19 Assume interface detach called for port not found
If the interface has been detached before we call
detach_interface, then we keep on calling it as we
get a 404 from nova. Let's assume it's being called
and check if the interface has been detached.

Task: 42195

Change-Id: I768eeb10c2c24a0c93749b11636ef3e003ecfcd9
2021-04-01 19:37:36 +05:30
1ac36e4a7c Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I3f0047f053ed82b18951638e896cef94e86f95df
2021-03-26 15:30:54 +00:00
684c14f3d5 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: I9f0b228735202817e50d2541d8e340064f052594
2021-03-26 15:30:48 +00:00
Zuul
af0dd44dab Merge "Allow creating a Neutron port without fixed ips" 2021-03-15 18:44:39 +00:00
Zuul
26407ae5d9 Merge "Add separate policy for updates with no changes" 2021-03-15 15:56:37 +00:00
Zuul
c75d68254c Merge "Adds backups and backups_gigabytes parameters to cinder quota resource" 2021-03-15 14:05:46 +00:00
Zuul
6f26419553 Merge "Remove references to basestring" 2021-03-15 14:05:38 +00:00
Zuul
c7babfd3c2 Merge "Allow turning off max_stacks limit" 2021-03-15 14:05:32 +00:00
Zuul
439d42f902 Merge "Add segments attribute to OS::Neutron::ProviderNet" 2021-03-15 14:04:50 +00:00
Zuul
4ca9bc5ce7 Merge "Add Vitrage template resource" 2021-03-15 14:04:29 +00:00
Zuul
73f822361c Merge "Use resource_id instead of phy rsrc name in InstanceGroup" 2021-03-15 13:51:00 +00:00
Zane Bitter
af7f8e380a Add separate policy for updates with no changes
Allow operators to set a different (presumably looser) policy on PATCH
updates that don't make any changes to the stack, but just retrigger a
new update traversal (that will result in e.g. replacing any unhealthy
resources).

Change-Id: Id29e7ec7f6cf127177ea7ab29127b0568afaa18b
Task: 37305
2021-03-15 17:38:14 +05:30
Zuul
34ecc26a11 Merge "Fix avoid deprecation warnings from policy" 2021-03-14 15:24:36 +00:00
Rico Lin
7230082f87 Fix avoid deprecation warnings from policy
We received huge amount of warnings during service start.
Most about stop using `deprecated_reason` and `deprecated_since` by
`policy.DocumentedRuleDefault` directly. And should use them under
`policy.DeprecatedRule instead.

This patch apply for above suggestion.
Also bump oslo.policy lower-constraints and requirements to `3.7.0` to alias
policy behavior.

Story: 2008707
Task: 42041

Change-Id: Iefcfc30a051fe25ccc5121c7ddb817e8c271fcb6
2021-03-12 20:46:17 +08:00
Zuul
98dc789fbc Merge "Switch to collections.abc.*" 2021-03-12 08:07:07 +00:00
ricolin
150c0a9bde Check ready status volume before extend volume
Change-Id: I2d74bb0ee66813a500b3cb7766022297f5a152f2
Story: 2008349
Task: 41251
2021-03-12 01:12:10 +00:00
Zuul
66c321ffaf Merge "Workaround client race in legacy nested stack delete" 2021-03-11 23:12:56 +00:00
Zuul
5338ba0aed Merge "Ignore old 'vN-branch' tags when scanning for release notes" 2021-03-11 22:53:56 +00:00
Zuul
de09a017f6 Merge "Optimise resource type listing" 2021-03-11 21:25:48 +00:00
Zuul
fc056ef70a Merge "Remove deprecated tail_log function" 2021-03-11 21:19:21 +00:00
Zuul
4d07bb7914 Merge "Fix duplicated words issue like "can be be used"" 2021-03-11 21:19:08 +00:00
Zuul
9c37e0457c Merge "Always reset CONF when starting the wsgi app" 2021-03-11 19:37:12 +00:00
Zuul
e84fb27cbc Merge "Fix invalid argument formatting in exception messages" 2021-03-11 16:07:40 +00:00