summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix inspect.getargspec() deprecation warninglikui2023-04-182-2/+2
| | | | | | | | | | | | DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec() [1] https://docs.python.org/3/library/inspect.html#inspect.getargspec Story: 2010694 Task: 47804 Change-Id: Ica14e66d2130dbc5949a6567673e68e8bb450061
* Merge "setup.cfg: add oslo.policy.enforcer"Zuul2021-05-041-0/+3
|\
| * setup.cfg: add oslo.policy.enforcerAndrew Bogott2021-05-021-0/+3
| | | | | | | | | | | | This allows generation of sample policies, policy diffs, etc. Change-Id: I41d989d876a73f49684d8212d27e48876190f210
* | Fix periodic public image jobLingxian Kong2021-05-041-6/+2
| | | | | | | | Change-Id: I2f6acb879004feb4d935ba81e3dabf6e54ec2ab4
* | Merge "Dropping lower constraints testing"Zuul2021-05-032-171/+0
|\ \
| * | Dropping lower constraints testingzhangboye2021-05-032-171/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | We facing errors related to the new pip resolver, this topic was discussed on the ML and QA team proposed to to test lower-constraints [1]. I propose to drop this test because the complexity and recurring pain needed to maintain that now exceeds the benefits provided by this mechanismes. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html Change-Id: I7261114a545c8c016f96ecf20e3fcdc00c3bab99
* | Fix typo in zuul configLingxian Kong2021-05-031-1/+1
|/ | | | Change-Id: I1f6ba130f12fa346e6eb3a8b3301ae99491753b9
* Fix check_subnet_router filtersDmitriy Rabotyagov2021-04-131-0/+6
| | | | | | | | | | | | Device owner of router ports is not limited to network:router_interface and can also be network:router_interface_distributed or network:ha_router_replicated_interface depending on the router to which port is attached. Currently, when HA router is used, trove fails with: `Subnet is not associated with router` since port does not pass filter Change-Id: Ie8b3884dd13147f29d5632275fa5c75e801e04c8
* Add taskmanager_manager option to commonDmitriy Rabotyagov2021-04-072-6/+5
| | | | | | | | | | | | Option `taskmanager_manager` does not have defaults and thus is required to be set, otherwise trove-taskmanager will fail to start with AttributeError. In the meanwhile this is not clear what value is expected as option is not described anywhere. This change moves option to the general list, which will make it documented along with setting reasonable default. Change-Id: I546ffe88b6e135c3f4c6f71b5aef03b92011bed8
* [doc] Add configuration referenceDmitriy Rabotyagov2021-04-069-3/+105
| | | | | | | Config reference has been dropped for some reason several releases before. We return configuration reference along with policy to the docs. Change-Id: I0927466d18eca5572932fcf9e2ca6349b11ca847
* Add CI job trove-tempest-postgresLingxian Kong2021-03-301-0/+62
| | | | Change-Id: Iafe870e32a1b870e4025e08760c8c3ebeb67dab5
* Merge "Improve guest agent when start"Zuul2021-03-251-4/+7
|\
| * Improve guest agent when startBo Tran2021-03-251-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | If we run guest agent, sometime it can't connect to database because root user was secure with password make can't right work. I hope this path will improve it by get password of root user to authenticate with database Task: #42105 Story: #2008746 Change-Id: I666120fc9df8d1c0bea72dee95763c2462e256ca
* | Merge "Fix test_create_inactive_datastore_by_admin"Zuul2021-03-241-1/+1
|\ \
| * | Fix test_create_inactive_datastore_by_adminLingxian Kong2021-03-251-1/+1
| | | | | | | | | | | | Change-Id: I7d8a23a2b015d3eead2eefb5df158e950fff0943
* | | [Doc] Add another method to check guest agent logLingxian Kong2021-03-251-19/+86
| |/ |/| | | | | Change-Id: Id163bdb1b30cf8057f3bd171448a8771194ee8ec
* | Imported Translations from ZanataOpenStack Proposal Bot2021-03-231-0/+488
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I9abb54f494a4da633d646cf6e8d7b064368fd838
* | Add Python3 xena unit testsOpenStack Release Bot2021-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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: Ic4bed95dafa6e185a9167c0570695c2b06eb3970
* | Update master for stable/wallabyOpenStack Release Bot2021-03-222-0/+7
|/ | | | | | | | | | | | 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: I3a5e55a61997dde0c2aa51ef8eb1c3e959eb3d1c
* doc: Restore backup from other regions15.0.0.0rc1Lingxian Kong2021-02-221-2/+41
| | | | Change-Id: Id9d9ea26d2a9cdc45d9e84764a49baa46d052281
* Merge "Support to restore backup from remote location"Zuul2021-02-1815-65/+329
|\
| * Support to restore backup from remote locationLingxian Kong2021-02-1815-65/+329
| | | | | | | | | | | | | | | | In multi-region deployment with geo-replicated Swift, the user can restore a backup in one region by manually specifying the original backup data location created in another region. Change-Id: Iefef3bf969163af707935445bc23299400dc88c3
* | Merge "Change the default agent_heartbeat_expiry to 90s"Zuul2021-02-181-1/+1
|\ \
| * | Change the default agent_heartbeat_expiry to 90sLingxian Kong2021-02-181-1/+1
| |/ | | | | | | | | | | | | By default, trove guest agent is sending health heartbeat msg for every 60s, so agent_heartbeat_expiry should be bigger than that. Change-Id: I348a82aa948079b7bba5c172b8d57d5f5dee28a0
* | Remove the incorrect log for creating replication clusterLingxian Kong2021-02-181-1/+0
|/ | | | Change-Id: Ie370eff134ae0e1394d0b03049a46a125d0db71a
* Do not override RESTART_REQUIRED service statusLingxian Kong2021-02-105-43/+138
| | | | | | | | | | | | The RESTART_REQUIRED service status set by guest agent should not be overridden by the health heartbeat mechanism. The RESTART_REQUIRED can only be changed when the instance is restarted or rebooted. Story: 2008612 Task: 41795 Change-Id: I98baf252452353237bc8fb14357df4e7bcb2867a
* Doc: custom container image registryLingxian Kong2021-02-091-0/+31
| | | | Change-Id: I6a144fbf5d79c29dc204483bb7403ea850983a73
* Support custom container registry for database imagesLingxian Kong2021-02-033-0/+36
| | | | | | | | Currently, trove guest agent is pulling container images from docker hub, it's impossible to use private container registry, this patch is adding that support. Change-Id: I3d14810b43acbf5d2fe6afcc138d476e366042f4
* Stop using pip-and-virtualenv diskimage elementLingxian Kong2021-01-274-3/+5
| | | | | | | | | | ALthough diskimage-builder will solve the issue eventually, but we still prefer to put the package installation under trove's own control. Story: 2008559 Task: 41697 Change-Id: Ie704db8233c4b797eeefa140c4a11427280dffd9
* update ci job descriptionlikui2021-01-191-1/+1
| | | | | | update publish-trove-guest-image-ubuntu-bionic-dev description Change-Id: Ic5a977cf629ddc8ac53734881b8d14f732c5b954
* add python37 setup.cfglikui2021-01-121-0/+1
| | | | | | | | | Add python3.7 from setup.cfg, since Wallaby's python supported runtimes are python 3.7[1]: [1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019648.html Change-Id: I04c22c6142fc51810d9132e82927dc2dae40cf9d
* Merge "remove py37"Zuul2021-01-051-1/+0
|\
| * remove py37likui2020-12-261-1/+0
| | | | | | | | | | | | | | | | | | Remove python3.7 from setup.cfg, since Wallaby's python supported runtimes are python 3.6 and python 3.8[1]: [1]: https://governance.openstack.org/tc/reference/runtimes/wallaby.html Change-Id: I2684608c4e8ae71a9ded46e54cdba926af6b82f3
* | remove unicode from codelikui2021-01-039-53/+53
| | | | | | | | | | Implements: blueprint remove-unicode Change-Id: Ib7eb517f404fe87b880f7091366721d2cfc5cdf8
* | [goal] Deprecate the JSON formatted policy fileGhanshyam Mann2020-12-268-16/+54
|/ | | | | | | | | | | | | | | | | | 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 tests. [1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html Change-Id: I790409da69df8479ad2fe152b15c32ba45067c23
* Merge "update cliff to 3.5.0 support python3.8"Zuul2020-12-151-1/+1
|\
| * update cliff to 3.5.0 support python3.8likui2020-12-141-1/+1
| | | | | | | | | | | | [1] https://pypi.org/project/cliff/3.5.0/ Change-Id: I96f331d0978d2f8ace5d48a3dc801a9a3ab38a33
* | Merge "Support instance operating_status"Zuul2020-12-1419-275/+319
|\ \ | |/ |/|
| * Support instance operating_statusLingxian Kong2020-12-0919-275/+319
| | | | | | | | | | | | | | Added a new field ``operating_status`` for the instance to show the actual operational status of user's database. Change-Id: I7c52cff0ec48289fe1a260e99e02a506d4f8ddec
* | Merge "Disable some tempest tests that always failed in CI"Zuul2020-12-111-5/+3
|\ \
| * | Disable some tempest tests that always failed in CILingxian Kong2020-12-091-5/+3
| |/ | | | | | | | | | | | | The same with trove-tempest-plugin CI settings: https://github.com/openstack/trove-tempest-plugin/blob/355a351fccb286bf7d9025829e5362a4f0f6a223/.zuul.yaml#L102 Change-Id: I971c50007c580a077e5e7e0c7fc5086492f3b883
* | Do not rely on description for checking port typeLingxian Kong2020-12-091-1/+1
|/ | | | | | Use port network ID is more reasonable. Change-Id: I219bf3db15124e67cd65c7d7f686ba73573e2761
* Disable openstack-lower-constraints-jobsLingxian Kong2020-12-091-1/+1
| | | | | | | | | | | The community doesn't have a final solution, the following are what we found: * virtualenv 20.2.2 released recently with pip bumped to 20.3.1 * pip before 20.3 is not actually satisfying the full dependency set and those issues were uncovered by the newer version. * Disable this job for now until the community has a decent solution. Change-Id: I8cd4554a20f89df92dbad4961d5a07a21f26fae8
* Merge "Add Neutron extension check before calling some APIs"Zuul2020-12-071-1/+28
|\
| * Add Neutron extension check before calling some APIsLingxian Kong2020-12-041-1/+28
| | | | | | | | | | | | | | Story: 2008415 Task: 41356 Change-Id: I5c1717892a167d119e596a11ae8d41e4edc1d27c
* | Update doc8 versionlikui2020-12-062-2/+2
| | | | | | | | | | | | | | | | doc8 only supports python version less than 3.4 [1] https://pypi.org/project/doc8/0.8.0/ Change-Id: Icd49aed78a9f15d07e12ffc790241435307577e7
* | Merge "use HTTPStatus instead of http.client"Zuul2020-12-031-4/+6
|\ \
| * | use HTTPStatus instead of http.clientlikui2020-12-031-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | We don't need an HTTP client for this, we only need status codes. Just load that instead. https://docs.python.org/3/library/http.html Change-Id: I2be70b395877ede3f594232a19cab4b83835dcc5
* | | Merge "Fixup zuul nodetype for nested"Zuul2020-12-031-1/+1
|\ \ \
| * | | Fixup zuul nodetype for nestedSam Morrison2020-12-021-1/+1
| | |/ | |/| | | | | | | | | | | | | Need tempest group to get tempest jobs to work Change-Id: I3d8cfd57278ba426067f0631d63c02f2b73dcbf4