Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database_objectstore_exists, objectstore exists but can't be used or deleted #454

Open
NerdyShawn opened this issue Aug 23, 2024 · 0 comments

Comments

@NerdyShawn
Copy link

Following the first two steps of this guide I am encountering issues where creating a net new objectstore seemingly exists although not visible in ui or cli

# current available provisioned successfully datastores
civo objectstore ls
+--------+---------------+------+---------------------------+--------+
| ID     | Name          | Size | Object Store Endpoint     | Status |
+--------+---------------+------+---------------------------+--------+
| 95ff9a | objectstore01 |  500 | objectstore.nyc1.civo.com | ready  |
+--------+---------------+------+---------------------------+--------+
| 388d91 | teef-store    |  500 | objectstore.nyc1.civo.com | ready  |
+--------+---------------+------+---------------------------+--------+
| 0712d6 | test-store    |  500 | objectstore.nyc1.civo.com | ready  |
+--------+---------------+------+---------------------------+--------+

after verifying what objectstores are available, I try to create one that failed during following the blog guide.

# tf-store somehow exists from prior failed attempt on the database backend
civo objectstore create tf-store --owner-access-key somecredential --wait
Please check if you are using the latest version of CLI and retry the command 
If you are still facing issues, please report it on our community slack or open a GitHub issue (https://github.com/civo/cli/issues) 
Error: Error: Unknown error response - status: 400 Bad Request, code: 400, reason: {"code":"database_objectstore_exists","reason":"An objectstore with this name already exists, please choose another"}

attempting to delete the allegedly existing objectstore does not work

 civo objectstore delete tf-store
Please check if you are using the latest version of CLI and retry the command 
If you are still facing issues, please report it on our community slack or open a GitHub issue (https://github.com/civo/cli/issues) 
Error: sorry there is no tf-store Object Store in your account

What is also odd is the math on the objectstores associated with the quota do not reflect reality, as it looks like there is 1500/1000 with the 3 visibly present ready objectstores.

civo quota | grep -i object
  ObjectStore Gigabytes : 1000/1000

It seems like the one objectstore isn't counting against my quota currently after I remove the ones I was testing wth

date && civo objectstore ls && civo quota | grep -i object
Thu Aug 22 09:47:26 PM EDT 2024
+--------+---------------+------+---------------------------+--------+
| ID     | Name          | Size | Object Store Endpoint     | Status |
+--------+---------------+------+---------------------------+--------+
| 95ff9a | objectstore01 |  500 | objectstore.nyc1.civo.com | ready  |
+--------+---------------+------+---------------------------+--------+
  ObjectStore Gigabytes : 0/1000

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant