| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
docker_insecure_registries is a StrOpt, but the default
value is '[]' which is true for a string.
Change-Id: I4b8841cc77324f274bc8210d328bc42ddef5d056
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This PR adds an configuration to use a local docker registry for
development and test purpose. Using this option in development,
* Developers can test images in local docker registry
* Developers don't mind DockerHub's pull ratelimit
* Developers can save bandwidth
* Developers can test database quickly
Story: 2010125
Task: 44793
Change-Id: I762702654bc4430b8432dd96bf869408b2947ff8
|
|/
|
|
|
|
|
|
|
| |
When list database instances, you can't because
we doing return with wrong self.addresses in db_info
Story: #2010077
Task: #45568
Change-Id: I3275f605e03e6c74b744b29178de380ed2521425
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This PR allows load_simple_instance_addresse to get the ipaddr of an
instance from neutron when creating a instance belongs to a cluster by
skipping checking the task_status.
load_simple_instance_addresses, which is a helper function to load ip
addr information to Instance instances, currently checks task_status
before getting the information from neutron. However, this logic is
unnecessary and causes a logic error when instances belong to a
cluster because the task_status of creating a cluster is determined
after initializing a cluster, which happens in the next phase of
load_simple_instance_addresses.
The original reason of this code change is that the task status of a
mariadb cluster hasn't change from BUILDING to NONE even after
successfully creating instances belong to the cluster.
Task: 45110
Story: 2009982
Change-Id: Id3234081fd3114e6536358cbdbf94b8280c8bc41
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This PR adds configuration options for file owner information of
injected files in GuestVM to trove.conf. File owner information
should not be hardcoded as "trove" because it depends on user
environments.
Original problem is guest instance creation failure due to the lack of
guestagent configuration files because of the recent code chage[1].
That patch was introduced since Yoga.
[1]:https://review.opendev.org/c/openstack/trove/+/823632
Task: 45239
Story: 2010021
Change-Id: Iaccfe84c912025ec6d96e66ffa6ad7a4b9537b6e
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The instance.addresses value will be a dictionary of
network: [addr_info] key/value pairs. addr_info is not
itself the address but a dict that contains the address
under ['addr'].
The nova api changed quite a while ago so we need to
catch up.
In addition: this function previously returned a list of
dictionaries; users of the function are clearly expecting
a list of simple IPs, so return that instead.
Change-Id: I9f7fed17b93e909f572949037b4e229d527e8fe4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This PR adds docker daemon config to injected files when
docker_bridge_network_ip option is defined in trove.conf.
Original problem is that Trove developers unable to transfer files
between GuestVMs and Controller host when controller host address
range is same with docker bridge network one.
Task: 44805
Story: 2009928
Change-Id: I6ad7eb7b2a7fb0686604b69d0175ec0d06f60384
|
| |
| |
| |
| |
| |
| | |
Story: #2009770
Task: #44247
Change-Id: I34d47e709a9a7478cb6a85d6e6e37da3f92e40b0
|
|/
|
|
| |
Change-Id: Ia1e9112ae69e04f8c3e9e9d1b4a0189c743d7448
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Added a new field ``operating_status`` for the instance to show the actual
operational status of user's database.
Change-Id: I7c52cff0ec48289fe1a260e99e02a506d4f8ddec
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Id15496db1f1bb8bcae850608e01314ff7aafd40
|
|/
|
|
|
|
|
|
|
|
|
| |
* Support version number for datastore version flavor and volume type
association commands.
* Support 'version_number' parameter for creating instance.
Story: 2008358
Task: 41264
Change-Id: I0e30194d65dcaa595b8927e2b9d5f8ec8c4300de
|
|
|
|
| |
Change-Id: Idacd5b0728edd792fd3aa8206c84bc837e9a88d0
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Set default to -1 so this is backwards compatible. Existing
installations will need to manully backfill quote usage for this
to work as expected.
Story: 2008293
Task: 41172
Change-Id: I455477a2e7a00f0d132971a2a684352967ac19b9
|
|/
|
|
|
|
|
| |
Story: 2008337
Task: 41238
Change-Id: Ifa333c30d4e24a2d693a6a5229dd1e83ad32d56d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
c4fd9cbe346de707281c3254bfbbda8f2759ec4d changed the response code
when updating an instance from 202 -> 200.
Change-Id: I0e64abd29bd54e4e45eef011417777f2352b4969
Story: 2008324
Task: 41222
|
|/
|
|
| |
Change-Id: I0456688c2e6c72b0312f1f79bb3e68f13fd2cb6e
|
|
|
|
|
|
|
|
|
| |
Story: 2008309
Task: 41201
This reverts commit 910519127d8fb9880863eb219df68a574d00df6a.
Change-Id: I77b72a965153e9583d93dee1f3a77d01a57e4ca2
|
|
|
|
| |
Change-Id: I558c36b4f0894f8476ce7fc9c88c1829e8762011
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* MySQL 5.7 and MySQL 8.0 need different percona-xtrabackup package version.
Added Percona XtraBackup 8 support for MySQL 8.x backup and restore.
* Construct different backup container image names for MySQL 5.7 and MySQL 8.0
based on the default option value.
* Two docker images are uploaded for backup/restore:
openstacktrove/db-backup-mysql5.7:1.0.0 and
openstacktrove/db-backup-mysql8.0:1.0.0. Trove guest agent can automatically
choose the approriate one based on the datastore version.
* Added option "secure-file-priv=NULL" in MySQL config template to fix
https://github.com/docker-library/mysql/issues/541.
* Stop using IDENTIFIED BY in GRANT clause (also REVOKE). Starting with MySQL 8
creating a user implicitly using the GRANT command is not supported.
Story: #2008275
Task: #41143
Change-Id: Ibdec63324b1b39ba9b8a38dbe529da17bbb06767
|
|/
|
|
|
|
| |
Check the port type by network rather than port description.
Change-Id: Id85c25c0cd3903f1b536a08ddcf69e306ce7345d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove basestring check.
Remove six Replace the following items with Python 3 style code.
- six.string_types
- six.int2byte
- six.indexbytes
- six.add_metaclass
- six.StringIO
- six.text_type
- six.integer_types
- six.binary_type
- six.BytesIO
- six.reraise
Change-Id: I4fb9033d152963c504ceb4d5c4d08f934ee4accb
|
|/
|
|
|
|
|
| |
exception.BadRequest expects string as a 'message' argument, so we can't
pass ValueError without casting it to string.
Change-Id: Iff43c38dca596e694cc7c6bc20e71669d83e31e2
|
|
|
|
|
|
|
|
|
|
| |
From the perspective of the public cloud, the floating IP should be
created in the user's own project.
Story: #2008246
Task: #41093
Change-Id: Ic358a2844c1b1f94a1b77ee67102b1c9c236a365
|
|
|
|
| |
Change-Id: If6ffacb5bab1aa5ffc51dd5678bd110c0beeb51d
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ieedbf0c779e2d47aab0f421a7d745a1d7f110c2a
Story: 2008179
Task: 40936
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
The sqlalchemy.types.JSON is not compatible between different database
engines, use TEXT type instead.
Ref:
* https://docs.sqlalchemy.org/en/13/core/type_basics.html#sqlalchemy.types.JSON
* https://mariadb.com/kb/en/json-data-type/
Story: #2008145
Task: #40886
Change-Id: I69f111f6caf14ad5adbefacd8328b45d7cba77b3
|
|
|
|
| |
Change-Id: Ia00032074dc44a6fbfc1e2d5ab16d1734a1a732c
|
|
|
|
| |
Change-Id: I7c77b210f5a1438739daebffea104eda3bda1a45
|
|
|
|
|
|
|
| |
For instances created prior to Victoria, the access field in trove db
is None. We need to check 'is_public' based on instance addresses.
Change-Id: I3302ddea19f32683fda404802550ca5dd1081312
|
|
|
|
| |
Change-Id: I8557782dc80b9bc691268bc96d3188bf55cdd86d
|
|
|
|
| |
Change-Id: I640cd8b50fd0e0f80a1a45399b8bfdac437ae2b9
|
|
|
|
| |
Change-Id: I8c0a7827624ea432edc765ba14e1f6a7228509c3
|
|
|
|
| |
Change-Id: I48f8c6f997daeb6d82ff62b3325277d86fee2147
|
|
|
|
|
|
|
|
| |
When resizing volume for an instance which is the primary of a
replication, cluster, Trove also resizes the volume for all the replicas
automatically.
Change-Id: I2e719772fe7abc719255ea2a705d9ec342aced2a
|
|
|
|
| |
Change-Id: Icadc95ea54e4509dc148f8e84f2eaac5840509f3
|
|
|
|
| |
Change-Id: I909cd37b34466f41ae4cca0e85cb8a917ba163cc
|
|
|
|
|
|
|
|
|
|
| |
Support ``subnet_id`` and ``ip_address`` for creating instance. When
creating instance, trove will check the network conflicts between user's
network and the management network, additionally, the cloud admin is
able to define other reserved networks by configuring
``reserved_network_cidrs``.
Change-Id: Icc4eece2f265cb5a5c48c4f1024a9189d11b4687
|