Commit Graph

452 Commits

Author SHA1 Message Date
Zuul
681de5d4df Merge "Update master for stable/yoga" 2022-03-21 11:41:28 +00:00
Hirotaka Wakabayashi
61a751d0ac Works around a failure to load openstack dashboard
This hack enables to load dashboard correctly by using django based
implementation that is used in xena. Ideally, we should use angular
based implementation like horizon, but I propose this workaround
firstly because the current problem is really painful for us to
develop Trove server side without dashboard.

Task: 44413
Story: 2009825
Change-Id: I7da457f3a4fccb251288ac8b51df40a25a7e6e4a
2022-03-15 22:10:52 +00:00
cfa0c0aa42 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: I53b5c6461f74bc177043691b9686e76f0c61f472
2022-03-10 08:20:49 +00:00
1602afbd7e Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

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

Change-Id: I8947a22932e16da98607ec65039de0c25ca8a44d
2021-09-15 02:33:42 +00:00
9f98f7a6a8 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: I370ffb25fe7aa9d77187ad84dbea7db0e229c3c1
2021-09-15 02:33:40 +00:00
Lingxian Kong
4225bafca2 Fix the configuration issue
* Remove ApplyChanges and DiscardChanges actions
* Don't use cache when getting configuration
* Config parameter is added and removed one by one. There is no API
  to add or delete a specific parameter.

Story: 2009084
Task: 42901

Change-Id: I81e00c25c7569fb6b114e2f66b71552f2d093c0b
2021-07-29 20:17:30 +12:00
Lingxian Kong
05d15b33cb Fix log actions
Story: 2008906
Task: 42485
Change-Id: Idb412781ca92182887d75d8c89cecbc400d02300
2021-05-19 11:23:49 +12:00
Lingxian Kong
28e02161b0 Fix nova client initialization in multi-region cloud
The current nova client initialization doesn't take regions into
consideration so that the flavor used for creating trove instance
is coming from other regions.

Change-Id: Ia5a93a220c9ec86a23d281dc3604eeaa9c2d6673
2021-05-17 04:22:03 +00:00
Andrew Bogott
d18e3e8f17 Handle the exception if _extra_data(instance) is called on a missing instance
Closes-Bug: #1926928
Change-Id: Ib782ff21770978ef09eb8b44abe115b730f7e7f9
2021-05-02 21:12:41 -05:00
Lingxian Kong
3c6e8be359 Change the configuration group panel name
Change-Id: Ib8fcade837b1146feccf4127a81905ac2eff95e7
2021-04-19 17:59:23 +12:00
Dmitriy Rabotyagov
62cd08226b Respect OPENSTACK_ENDPOINT_TYPE
We should reach endpoint type that is provided as a horizon option
OPENSTACK_ENDPOINT_TYPE and fallback to default publicURL.

Change-Id: Ib6a350e6f6f5a45a2536ea59639efe39c757aab5
2021-03-30 17:06:17 +03:00
2058a23123 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: Ib505c5c426b990200a636d4ae1ca374d54b3e06b
2021-03-22 10:00:40 +00:00
6ec4a13036 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: I330a09fd9294dd9c19847e587015039443bd16de
2021-03-22 10:00:36 +00:00
Sam Morrison
26a40acc6e Add ability to update allowed_cidr for an existing instance.
Change-Id: I5e471554b30568bd96cb78d922767e644549c873
2021-03-06 20:25:36 +00:00
Sam Morrison
42d6638d3b Use MultiIPField for access form to avoid need for custom validation
Change-Id: If3314e94319056fe45499e83ff1bb15c4d19c64c
2021-03-06 10:45:14 +00:00
OpenStack Proposal Bot
e8d81f17d3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I38d53ee370e52ead7e415f8ceaca246696b18e10
2021-03-03 08:32:50 +00:00
Zuul
77389fd1a9 Merge "Support Restored status for backup" 2021-03-03 00:00:06 +00:00
Lingxian Kong
25347e64fc Support Restored status for backup
Change-Id: I26e3ca1746d7898334699192ad0581744c613248
2021-03-03 12:09:49 +13:00
Zuul
dc34629e12 Merge "Create Backup Strategy" 2021-03-02 23:09:14 +00:00
Ivan Kolodyazhny
b4f8eeb094 Create Backup Strategy
Change-Id: Idea67ecf7205e0b0544c2a22e7b85b2642021021
2021-03-02 22:41:27 +00:00
Zuul
cc40d2fec1 Merge "Fix up broken instance_detach_replica api call" 2021-03-02 22:37:56 +00:00
Zuul
44b8abf225 Merge "Fix up get access method in create_instance workflow" 2021-03-02 21:59:33 +00:00
Sam Morrison
c3c9525800 Fix up get access method in create_instance workflow
This would never work and would result in a key error.

Story: 2008627
Task: 41831
Change-Id: I0ed17a7761837623c21cd1a0992a71ab0342c791
2021-03-02 21:47:26 +00:00
Sam Morrison
bb387dcbcc Fix up broken instance_detach_replica api call
Due to a backwards incompatible change in troveclient the api call edit
has been replaced with update.

Change-Id: Id53e74cf5a4b96b8960bec385f00b978f9d1520d
2021-02-24 08:49:23 +11:00
Sam Morrison
37e0ef5c3c Rename the 'rename instance' function to 'update instance'
Change-Id: I5e9a7e70e4942725ee7804bbe886d236aeb6a673
2021-02-23 11:20:18 +11:00
manchandavishal
1a39db158c Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated.
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
For more info. please refer [1].

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

Change-Id: I5403b96d4dd0faac9f1295d57a1680a7d452c7b1
2021-02-16 12:32:22 +00:00
Ivan Kolodyazhny
c9d6d03a0f Specify database instance access during creation
Change-Id: I75950ae949e7f19e48f5246e4db9f5d5c514dd2b
2021-02-02 23:37:49 +02:00
Ivan Kolodyazhny
2db165a81a Show Backup Strategy information durin deletion
Backup Strategy object doesn't have ID, so we'll show
Project ID and Instance ID if exists.

Story: 2008500
Task: 41564
Change-Id: I25f6a40e90d1e052c2ae1f33d161522b44b664b3
2021-01-17 11:18:13 +00:00
Zuul
07ee8582b0 Merge "Show all instance IP addresses on databases list" 2021-01-13 02:28:52 +00:00
Zuul
2dab2c7f25 Merge "Show database operating status" 2021-01-13 02:24:08 +00:00
Ivan Kolodyazhny
a8b7786d1c Show all instance IP addresses on databases list
Story: 2008228
Task: 41068
Change-Id: Ibb7a08dcad6cb1a19ff6c0fd680c64584ef3cf34
2021-01-12 22:39:45 +02:00
Zuul
6d6579d835 Merge "Add 'Delete' button for backup strategy" 2021-01-07 22:02:11 +00:00
Hervé Beraud
16cc6428f2 Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removing specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug.

/!\/!\/!\
Notice that I voluntarily added the doc directory even if no docs
are generated here because zuul will try to pull this requirements from
there first and the contained requirements are needed for reno but AFAIK
the releasenotes dir is ignored by zuul. c.f [4] for further details.
/!\/!\/!\

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: I77bbf9eac7bfe707aeed40980cfddfb5f0be2f91
2021-01-07 17:15:30 +01:00
Ivan Kolodyazhny
1408db303f Add 'Delete' button for backup strategy
Change-Id: Icb617eca8d87463e85822439f0ba4c8e30a3463c
2020-12-21 19:15:34 +02:00
Ivan Kolodyazhny
69087288e8 Show database operating status
Change-Id: I65572d90d35dcbbe17eb7874048ba043b34e336c
2020-12-21 18:06:38 +02:00
OpenStack Proposal Bot
d0e1f82d90 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3e7b492e155a985858c595320a22541621184d64
2020-12-11 08:46:52 +00:00
Ivan Kolodyazhny
a266b4bed5 Add Backup Strategies table
Commit 2c13af259a has missed files
wich are added now.

Change-Id: I1b692d7765bfd92dd255e0545b10e7325758935b
2020-12-02 20:00:19 +00:00
Zuul
721866f6ed Merge "Fix replication creation" 2020-11-15 21:02:38 +00:00
Zuul
eef2b9bd4c Merge "Bakup Strategy panels" 2020-11-11 21:19:08 +00:00
Ivan Kolodyazhny
2c13af259a Bakup Strategy panels
Change-Id: I54d8bc96923e19b9f549926decfe30e54e8b8e51
2020-11-11 20:40:47 +00:00
Ivan Kolodyazhny
8116b2aca0 Fix replica number input type
We don't need to specify input type manually. Django will render
input[type=number] for forms.IntegerField

Change-Id: I4c8d0ae5d82088745bdaa00f15b1c62866cb4070
2020-11-03 22:15:35 +02:00
OpenStack Proposal Bot
c73292ef87 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ifa96d36563fd54d0ff3808bb03e2a880c4638bfc
2020-11-03 11:44:29 +00:00
OpenStack Proposal Bot
278d66c303 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib8d6ec48aae39b7fab76e7e68ed695cebb3a7b79
2020-10-29 10:19:49 +00:00
Ivan Kolodyazhny
5fffb17dc9 Fix replication creation
We should not provide flavor, volume and datastore data during instance
creation for replica.

Change-Id: I32bed10df5d334822a24ba44f70d8727d607e4d4
2020-10-26 21:03:22 +02:00
Ivan Kolodyazhny
08e834ce00 Show replication status on databases list page
Change-Id: I43e642888be213255efc1d2705ab8cb9106746e3
2020-10-20 00:11:32 +03:00
Zuul
06d618dc76 Merge "Imported Translations from Zanata" 2020-10-17 21:56:57 +00:00
OpenStack Proposal Bot
bc0ea73654 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I62c16a205f786fce09ac4d8e8c51faf346c94b13
2020-10-16 09:31:10 +00:00
Ivan Kolodyazhny
88b1dc128f Edit instance name feature implementation
Change-Id: I29afd16c74087256788b3dc9f88d4e8eec4cba85
2020-10-12 17:34:05 +03:00
Ivan Kolodyazhny
540b3e99d1 Stop Database action implementation for admin users
Change-Id: I8524d9db92d7b572ca0fe67af46778d2e1f2817f
2020-09-29 22:02:02 +00:00
Zuul
85913a8ec8 Merge "Show instance networking info" 2020-09-25 12:49:00 +00:00