Commit Graph

7 Commits

Author SHA1 Message Date
wu.chunyang 93f35c7f04 Get rid of nose and Proboscis
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
2024-03-28 07:07:15 +00:00
Lingxian Kong c33fa67066 Support to create public trove instance
- The users need to specify the network to create Trove instance, but
  trove-taskmanager will create port in that network for Nova instance
  creation. Using port gives Trove more capabilities to define how the
  database service is exposed.
- Deprecate ICMP protocol for the instance.
- Restrict 'nics' parameter for creating instance.
- Add 'access' parameter for creating instance.
- Add 'public_network_id' option in order to create floating IP for the
  instance.
- Do not create records for security groups, but Trove can still delete
  existing instances for backward compatibility.
- Delete unreasonable Host, Account, Storage API.

Story: 2006500
Task: 36468
Task: 36466
Change-Id: I80827e1ad5e6b130cbf94c2bb7a909c44d5cf1e5
2019-09-11 11:28:00 +12:00
zhanggang 4d0276d9d9 Unuse an undefined local variable 'name'.
trove/tests/utils/users.py: _find_user_by_condition
In expect code, the error message use an undefined
variable 'name' and this will raise a NameError.

Change-Id: I05cc16f865ef2ca73466aa165284975964680f8a
Closes-Bug: 1681309
2017-11-24 03:56:39 -05:00
jiansong 36b8605413 Repeat definition blacklist
The variable black_list is set, used, and then again set to its previous
value which is redundant.

Change-Id: I24029148f8538207cd734cdc01c992aeadc1c922
2016-09-20 11:07:27 +00:00
Sushil Kumar cd2f6f0a51 Cleans up ServiceUser.__str__ method
Reasons:
- ServiceUser.__str__ in trove/tests/util/users.py contains code
  after the return statement.
- This code after unconditional return statement has no use.
- Thus, ServiceUser.__str__ method needs cleanup.

Changes:
- Removes the statements after return statement.
- Adds tenant name to the __str__.

Change-Id: Ic5e35969f435e01d94da7eb434cd8de19e2c9873
Closes-Bug: #1269437
2014-05-23 19:18:48 +00:00
ZhiQiang Fan e52c0f568e Replace OpenStack LLC with OpenStack Foundation
Some files still use trademark OpenStack LLC in header, which
should be changed to OpenStack Foundation.

NOTE: tools/install_venv.py is not touched, should sync with oslo,
so does trove/openstack/common/*

Change-Id: I7218ae896eb7db681bb224a209df47f203952606
Fixes-Bug: #1214176
2013-09-20 05:02:14 +08:00
Michael Basnight 7ab80b554d Rename from reddwarf to trove.
Implements Blueprint reddwarf-trove-rename

Change-Id: Ia9ee609bbc06a1d8b9d6917642529f30347541fd
2013-06-24 14:11:15 -07:00