We have already tested this feature on our CI for an entire cycle.
It's ready to be enabled as the default value.
Change-Id: Ifbe862020f7c2b1f6684164d2a26bb5ceb37bec3
they are not maintained for a long time, and trove already switch
the tests to templest.
This commit removes the usage of them. more details see story.
Story: 2010882
Task: 48606
Depends-On: https://review.opendev.org/c/openstack/trove/+/914228
Change-Id: Ie021e0bd708cf8ed13853dea632312af38190205
Current, users can config default datastore registry for managers not by
verions. This make you can flexible when have some experimental
datastore.
With this patch, users with the administrator role can configure the
datastore registry external for each datastore version using a command,
without editing configuration files.
Story: #2010860
Task: #48534
Change-Id: I910a1ba4a9216ab29faeed03198113b4acb2cb81
TThis PR fixes the default value of docker images and adds docuemtation
fro building docker container images.
The default values of docker image should be something that makes users
change the value before they start using Trove because Trove team
currently does not plan to maintain the following docker images on
https://hub.docker.com/u/openstacktrove
Since Victoria, Trove switched GuestAgent's image from VM to Docker,
however the building guest image docs does not contain how to build
docker container images.
Co-Authored-By: wu.chunyang <wchy1001@gmail.com>
Story: 2010804
Task: 48288
Change-Id: I7047d888c4340f16ca2a1a77b5f9c34ba75b5a30
this PR adds a network_isolation config option for trove,
with network_isolation enabled, trove guest agent will
plug the user-defined port to database container by
docker host_nic network driver which is implemented in this PR.
docker host_nic network driver is a simple driver to plug host
nic to a container. this driver supports ipv4,ipv6 and dual-stack.
for more details please see the story.
story: 2010733
task: 47957
Change-Id: I35d6f8b81a2c5e847cbed3f5bc6095dc1d387165
This PR adds the `database_service_uid` configuration option to the
document.
Story: 2010259
Task: 46154
Change-Id: I11aa38d2ff0da058590ec2b089756a659cad777b
1. app.wsgi is a python script and should be end with py extension.
2. Generate trove-wsgi script which is needed by kolla to support
https and ipv6.
3. Ignore build directory in git
4. update docs
Change-Id: Ibbd6ecb8db25aa3a443d3f526f4cf6d418eb26f3
This PR updates the Trove install instruction page using devstack to use
OVN as network backend driver. Devstack has changed the default value of
Q_AGENT to "ovn"[1] a few month ago, but The current Trove installation
docs uses old network backend driver.
[1]: e38a39ad40
Story: 2009925
Task: 44793
Change-Id: I10c7bf08324a2422fba8fcfa4aa238ac8d006030
This PR uses userdata instead of personality files because of Nova's
deprecates personality files[1] since the the NovaApi-2.57 microversion.
Original problem is guest instance creation failure due to the lack of
guestagent configuration files because of the recent code chage[2].
[1]: https://review.opendev.org/c/openstack/nova/+/522027
[2]: https://review.opendev.org/c/openstack/trove/+/823632
Task: 44821
Story: 2009934
Change-Id: Id6a6aae3de17c12001b1e9946a4c0ce28ff29f73
This PR changes the "configuration" command parameter name from
"datastore_version" to datastore-version. The parameter name has
changed from "datastore_version" to "datastore-version"[1].
The original problem is what I got an error when I try to create
a configuration: "openstack database configuration create: error:
unrecognized arguments: --datastore_version ..."
[1]: a57568397e
Story: 2009960
Task: 44928
Change-Id: I94e02cfd4026c56a05b3acccc3a5327b54e6b585
This PR fixes Trove installation errors using devstack. We need to set
Q_AGENT as openvswitch explicitly in local.conf when we continue to use
openvswitch because devstack recently changed the default L2 agent from
openvswitch to OVN[1].
[1]: https://review.opendev.org/c/openstack/devstack/+/735097
Task: 44754
Story: 2009913
Change-Id: I270bff21e0621ba59607a31607303f7d06d4a054
* Added a periodic task for postgresql datastore to clean up the
archived WAL files.
* Added a check when creating incremental backups for postgresql.
* A new container image ``openstacktrove/db-backup-postgresql:1.1.2``
is uploaded to docker hub.
Story: 2009066
Task: 42871
Change-Id: I235e2abf8c0405e143ded6fb48017d596b8b41a1
Config reference has been dropped for some reason several releases before.
We return configuration reference along with policy to the docs.
Change-Id: I0927466d18eca5572932fcf9e2ca6349b11ca847
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
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
Added a new field ``operating_status`` for the instance to show the actual
operational status of user's database.
Change-Id: I7c52cff0ec48289fe1a260e99e02a506d4f8ddec
image-tags was introduced in commit 1d24b65 but the implementation was
backward incompatible for the CLI `trove-manager datastore_version_update`.
This patch changes that by supporting an optional parameter `--image-tags`.
Change-Id: I583c296f15a453bdfadf10de5c678ac483cbd4dd
Warning because when running command it will drop database and loss
all data with no optional or confirm.
Change-Id: Id81523e844213c806e0f4965deea9bb43b0b5a5e
Ubuntu 14.04 can't install Openstack latest, update to Ubuntu 18.04.
Create configuration need specific --datastore_version if no default
datastore is defined.
Change-Id: I78ab5fcb64837166a9807fbcc414a2538f85b6ac