Commit Graph

878 Commits

Author SHA1 Message Date
OpenStack Release Bot 50764b7f63 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

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

Sem-Ver: feature
Change-Id: I040525c73dbb81cb1c37d132473cd98cd1069884
2024-03-08 14:00:16 +00:00
Zuul 5e478d4b22 Merge "reno: Update master for unmaintained/yoga" 2024-02-27 08:57:41 +00:00
OpenStack Release Bot 2482a63de2 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I816c84ba03f57b7cb8fccc1fd0430b052c697878
2024-02-20 11:02:07 +00:00
Ghanshyam Mann aa781bb966 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: Ie24ff8ea939bb19e101a8c16d41381f1aea81f03
2024-01-03 20:22:10 -08:00
Zuul aa0d180dda Merge "Bugfix: master_lb_enabled flag now works as intended." 2023-10-25 11:36:50 +00:00
Dale Smith fb28368899 Bugfix: master_lb_enabled flag now works as intended.
The value for master_lb_enabled resulted in it being treated the
same as master_lb_disabled.

Change-Id: Ia11d9e1ba20dbb37cd6467c2ae0555ddf25df5d3
Closes-Bug: #2039040
2023-10-11 13:14:43 +00:00
Zuul 388b368bfc Merge "setup.cfg: rename deprecated dash-separated options" 2023-10-02 00:16:17 +00:00
Zuul d51743fbbe Merge "Add python 3.10 to setup.cfg metadata" 2023-09-26 05:31:17 +00:00
Michal Nasiadka 3d5ab014f0 setup.cfg: rename deprecated dash-separated options
Change-Id: I620f96519bf313b00f12d95b1bcc3c15d984c02b
2023-09-26 05:21:04 +00:00
Zuul 5fe13f681e Merge "Clean up tox.ini" 2023-09-13 08:42:37 +00:00
Zuul b23853b3c6 Merge "Remove translation sections from setup.cfg" 2023-09-13 07:04:34 +00:00
Zuul 8f1818bc10 Merge "Use TOX_CONSTRAINTS_FILE" 2023-09-13 03:59:02 +00:00
OpenStack Release Bot 7f00f410f0 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: I9fb38332ffd040768e57c6c44d2f6d9ff2c0d38c
2023-09-08 14:57:35 +00:00
Jake Yip 31a6c8fc43 Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is deprecated [1]

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file

Change-Id: I1a6362909c457c140a8eafa476bb525ee1d006e1
2023-09-08 03:31:50 +00:00
ricolin ef63e2e1bb Allow directly output cluster config
Allow cluster config directly return configs instead of writing file.
This is useful when using magnum client utils from non-commandline
interfaces.

Change-Id: Ie6717e1f2d673fe3e92c58a926a82f255a6d20ca
2023-08-09 18:28:09 +08:00
Jake Yip 7d9f02bd23 Fix multi-line strings spaces
Change-Id: Ia97821dcde54b46a8ff31dd13657a69a007ccd9a
2023-07-29 09:55:44 +10:00
wu.chunyang bb49ceffa8 Add python 3.10 to setup.cfg metadata
Add python 3.10 to setup.cfg
refer to: https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I92e8dbc352c74d684ee78154794a1017f00e19ff
2023-06-21 09:51:48 +08:00
OpenStack Release Bot 915f8f05c4 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: I0c22a449c3dc7422edfbe662e911e24ae5618ce9
2023-02-24 15:11:34 +00:00
Jake Yip 13cafc1061 Clean up tox.ini
install_command is now `python -I -m pip install <opts> <packages>`
[1], so this is redundant.

[1] https://tox.wiki/en/latest/config.html#install_command

Change-Id: Ia856c7ecff22bc6f0dffed7550618decbc213e97
2023-02-16 11:57:39 +00:00
Travis Holton de11f40d0c Update client.authentication.k8s.io api version for kubeconfig
The v1alpha1 version is removed in kubernetes 1.24. v1beta1 was added in
Kubernetes 1.11 and should be supported through existing versions.

Change-Id: I446b8c1c9b46fb8d70317f271a6a650d2a1bbefa
2023-02-16 06:29:39 +00:00
Jake Yip 4d74c31c9a Support tox4
Renamed deprecated option whitelist_externals to allowlist_externals.

Bumped tox minversion as allowlist_externals is only supported in
3.18 [1].

Also set skipsdist=False (default) due to [2].

[1] https://tox.wiki/en/3.24.5/config.html#conf-allowlist_externals
[2] https://github.com/tox-dev/tox/issues/2730

Change-Id: Iee2f00418804c21589bd8abc19a8b25aff458e77
2023-02-16 16:27:03 +11:00
Zuul 75b8d01d73 Merge "remove unicode from code" 2022-11-10 11:16:15 +00:00
jacky06 c30f10ffbc Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Conflicts:
	babel.cfg
	setup.cfg

Change-Id: Ib74bc35a867dd25c51de6eac2ab1e611b69d4e37
2022-11-09 21:51:47 +11:00
Zuul 4bbff13fe6 Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2022-09-26 16:20:52 +00:00
Zuul 7df3a32216 Merge "Update master for stable/zed" 2022-09-26 16:20:04 +00:00
wangzihao f80cd3c859 Remove pypy and bump py37 to py38
Pypy is not tested in OpenStack anymore,remove the job.

in 'victoria' cycle, we should test py38 by default.
and remove redundant python env.

Change-Id: I8389799ebf2eaa95324b1dc532ef4398ee3094da
2022-09-26 14:09:11 +00:00
OpenStack Release Bot 6abe194bdd Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

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

Change-Id: Ibfe85c550cf20a7b5f4570700df348bb41ed261a
2022-09-16 12:26:29 +00:00
OpenStack Release Bot a930aca127 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: I465c586eecf3dea6ad59a641f78b81a7a8da60cf
2022-09-16 12:26:26 +00:00
Zuul 85174f1b44 Merge "Drop bay and baymodel" 2022-09-05 11:22:20 +00:00
Zuul fd0cb1e503 Merge "Imported Translations from Zanata" 2022-09-05 10:17:40 +00:00
Diogo Guerra 7ad1c27ed7 Drop bay and baymodel
Story: 2009104
Task: 42956

Signed-off-by: Diogo Guerra <diogo.filipe.tomas.guerra@cern.ch>
Change-Id: I8f0076cae90a59c1d9ffca827eb0e80abe9b10d7
2022-09-05 10:12:06 +00:00
Diogo Guerra 7c03bcb734 Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.
Also indicates that we support python 3.9.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: I36180f40cb2858aa051366af9b3c3c28d635632c
2022-09-05 07:43:08 +00:00
wangjiaqi07 fa93fcf582 remove unicode from code
Change-Id: Ibdf2f5d6a975d91208e7f14dc027c0c4e962533f
2022-08-25 10:22:04 +08:00
OpenStack Proposal Bot 1fd3f19f52 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I202f6a1a134e0d50e9accd50cf1451f699cdee24
2022-06-21 03:59:40 +00:00
Zuul 52145663a1 Merge "Remove translation sections from setup.cfg" 2022-05-11 09:44:30 +00:00
wu.shiming 7557e897dc Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I843baf9428adfcdd159438da1400be86621c201a
2022-05-03 09:26:15 +00:00
Ghanshyam Mann 78ca45caa3 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I7e70c45ecd294dfd7610f446ff1f382c590f9d64
2022-04-30 20:24:10 -05:00
Felipe Reyes 972aff0f32 Fix test_help_on_subcommand on Python 3.10
Python 3.10 changed the way the optional arguments defined in argparse
are listed in the help output, the title was changed from "Optional
arguments" to "Options".

This checks the python version where the unit test is being executed and
uses the string that corresponds.

Story: 2009946
Task: 44858
Change-Id: Ibee09bf76399849f7da987c4661fa1945d27afb7
2022-03-25 09:49:14 -03:00
OpenStack Release Bot f279da4399 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: Ib5c80a3ee3ccba3cbc2ddca42edf0b4b80bea98e
2022-03-03 10:51:08 +00:00
OpenStack Release Bot 1f5edf419d Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

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

Change-Id: I22d0d65e16acbfa64dfbb6d6a79e76477c201bfc
2022-02-16 19:44:13 +11:00
OpenStack Release Bot 18df21f0d0 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: I1cdfcb67c1d4f0e89451a80b2fbd3d52b60167f4
Sem-Ver: feature
2022-02-16 19:43:35 +11:00
OpenStack Release Bot 2d9948abbf 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: I880c4ee202c2f70960cadc13b7e688dff03fdf30
2021-09-10 14:31:52 +00:00
Zuul 40aec7ef76 Merge "Update master for stable/wallaby" 2021-05-25 13:32:55 +00:00
Zuul ab601bd7ab Merge "Fix master_lb_enabled for cluster creation" 2021-04-08 08:30:56 +00:00
Feilong Wang 282753384d Fix master_lb_enabled for cluster creation
The master_lb_enabled is not really working for disabled case.
This patch fix it by introducing the --master-lb-disabled param.

Story: 2008655
Task: 41924
Change-Id: I90db6d91dd3887fbec629ce5037d6a7e6f7c05e4
2021-04-08 04:34:34 +00:00
Zuul d558e4a255 Merge "Fix failing to parse json error msg" 2021-04-01 10:03:54 +00:00
Tobias Urdin f7551a6bac Fix failing to parse json error msg
It assumes its a requests response but could
be a HTTPResponse from urllib.

Story: 2008789
Task: 42183

Change-Id: I7306d167a17284c7f478ec1c1599a8d4b32040c2
2021-03-30 13:59:07 +00:00
OpenStack Release Bot 06ed629825 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: I024b96e93f4262a59922d3cda72943962454fd86
2021-03-18 10:22:02 +00:00
Pierre Riteau e2bcf6e980 Uncap PrettyTable
This is now maintained as a Jazzband project [1].

[1] https://github.com/jazzband/prettytable

Change-Id: I4b9e68d5105cdaa76b7906dbc839182ff3a57df1
2021-02-23 16:01:32 +01:00
Diogo Guerra 201b3527b0 Add CT tags argument and field to client
We noticed that from the user perspective it is hard
to know when a cluster_template provided by the cloud
admin is mature enough for a production release.
This field will allow the administrator to add an
annotation to the cluster template like
{deprecated, recommended, testing} giving further
usefull information to the end user about the
template's life cycle

This patch allows the magnumclient to pass the
--tags <text> when creating a cluster template
and also shows the observations available when listing
existent cluster templates.

story: 2004215
task: 40161

Depends-On: I5d1c4221f089bc5cd12b25f620aa01771a029df9
Change-Id: Ibbdc9a9cd7ae4733eb6d38a7db11a68866f0d446
Signed-off-by: Diogo Guerra <dy090.guerra@gmail.com>
2021-02-05 09:14:54 +00:00