Need help with storage tags. #12142
-
|
I have two storage repositories: one for the production workload and a second one created for testing. To prevent virtual machines from being created on the test storage, I tagged both repositories. Consequently, I added the storage tags of the primary repository to all existing VM offerings. When I decided to delete test storage, I discovered that virtual routers had appeared on it. I put the storage into maintenance mode, and currently there are no routers left on it. Afterwards, I tagged all service offerings with the label of the primary storage. The tag applied successfully everywhere, even on those offerings where virtual machines were already running. It applied to all except one: System Offering For Software Router. All virtual routers are now located on the main storage. Nevertheless, I am still receiving an error: And it won't let me delete this storage either; it says there are volumes associated with it. I tried to recreate these routers, but the newly created routers also run into this problem. Could someone please suggest a way to avoid this issue? I'm using ACS 4.20.2 and Linstor as primary storages. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Okay, I re-read the error message one more time and decided to temporarily add the vmdata tag to the test storage, and then successfully added the tag to the system offering, after which I deleted it from the test storage, but CloudStack still doesn't let me delete the storage. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks everyone for help, problem has been solved😁😁😁. The problem was that I had one router remaining in the database whose network was in the allocated state (it was marked as being located on the test storage, but since the router hadn't been created yet, I didn't see it). I simply started this router and CloudStack placed it on the main storage. After that, I successfully deleted test storage. |
Beta Was this translation helpful? Give feedback.
Thanks everyone for help, problem has been solved😁😁😁. The problem was that I had one router remaining in the database whose network was in the allocated state (it was marked as being located on the test storage, but since the router hadn't been created yet, I didn't see it). I simply started this router and CloudStack placed it on the main storage. After that, I successfully deleted test storage.