Activity log for bug #1876104

Date Who What changed Old value New value Message
2020-04-30 13:43:44 Gareth Woolridge bug added bug
2020-04-30 13:44:01 Gareth Woolridge bug added subscriber The Canonical Sysadmins
2020-04-30 13:46:20 Gareth Woolridge description Attempting to destroy-model --force on a k8s model with persistent storage spins forever: juju destroy-model discourse --force WARNING! This command will destroy the "discourse" model. This includes all containers, applications, data and other resources. Continue [y/N]? y Destroying model Waiting for model to be removed, 1 application(s), 1 volume(s), 1 filesystems(s)..........................................................................................................................................................^Cctrl+c detected, aborting... However checking juju debug-log -m controller: controller-0: 14:33:24 WARNING juju.apiserver.common failed destroying model 5c03e992-ce74-48a9-89f0-1cbce2ee550b: failed to destroy model: model contains persistent storage So list storages, and try to delete manually: juju list-storage Unit Storage id Type Pool Size Status Message discourse-charm/0 discourse-storage/0 filesystem kubernetes 48MiB attached Successfully provisioned volume pvc-60ba8b8b-b388-427d-833a-80b7b0374e47 juju remove-storage discourse-storage/0 ERROR Juju command "remove-storage" not supported on kubernetes models At this point I asked in #juju and hml suggested --destroy-storage: "discourse" model. This includes all containers, applications, data and other resources. Continue [y/N]? y Destroying model Waiting for model to be removed, 1 application(s), 1 volume(s), 1 filesystems(s)..... Waiting for model to be removed, 1 application(s)....................... Waiting for model to be removed...... Model destroyed. So this works. I can't quite recall why I was using --force, likely as iterating on a new operator charm and needing to kick broken units/models harder on destroy before I added storage to the charm. Anyway, this feel bug worthy on feedback from --force from an end user perspective if using with k8s and storage, as it spins forever with no feedback of an issue unless you know to look in the controller logs. Attempting to destroy-model --force on a k8s model with persistent storage spins forever: juju destroy-model discourse --force WARNING! This command will destroy the "discourse" model. This includes all containers, applications, data and other resources. Continue [y/N]? y Destroying model Waiting for model to be removed, 1 application(s), 1 volume(s), 1 filesystems(s)..........................................................................................................................................................^Cctrl+c detected, aborting... However checking juju debug-log -m controller: controller-0: 14:33:24 WARNING juju.apiserver.common failed destroying model 5c03e992-ce74-48a9-89f0-1cbce2ee550b: failed to destroy model: model contains persistent storage So list storages, and try to delete manually: juju list-storage Unit Storage id Type Pool Size Status Message discourse-charm/0 discourse-storage/0 filesystem kubernetes 48MiB attached Successfully provisioned volume pvc-60ba8b8b-b388-427d-833a-80b7b0374e47 juju remove-storage discourse-storage/0 ERROR Juju command "remove-storage" not supported on kubernetes models At this point I asked in #juju and hml suggested --destroy-storage: juju destroy-model discourse --destroy-storage WARNING! This command will destroy the "discourse" model. This includes all containers, applications, data and other resources. Continue [y/N]? y Destroying model Waiting for model to be removed, 1 application(s), 1 volume(s), 1 filesystems(s)..... Waiting for model to be removed, 1 application(s)....................... Waiting for model to be removed...... Model destroyed. So this works. I can't quite recall why I was using --force, likely as iterating on a new operator charm and needing to kick broken units/models harder on destroy before I added storage to the charm. Anyway, this feel bug worthy on feedback from --force from an end user perspective if using with k8s and storage, as it spins forever with no feedback of an issue unless you know to look in the controller logs.
2020-04-30 14:15:30 Ian Booth juju: milestone 2.8-rc1
2020-04-30 14:15:32 Ian Booth juju: importance Undecided High
2020-04-30 14:15:35 Ian Booth juju: status New Triaged
2020-05-05 21:27:17 Tim Penhey juju: assignee Ian Booth (wallyworld)
2020-05-05 21:27:18 Tim Penhey juju: status Triaged In Progress
2020-05-07 23:57:14 Ian Booth juju: milestone 2.8-rc1 2.8.1
2020-07-01 05:13:06 Ian Booth juju: status In Progress Incomplete
2020-07-13 03:44:58 Canonical Juju QA Bot juju: milestone 2.8.1 2.8.2
2020-09-15 02:07:29 Canonical Juju QA Bot juju: milestone 2.8.2 2.8.3
2020-10-05 12:03:09 Canonical Juju QA Bot juju: milestone 2.8.4 2.8.5
2020-10-06 06:52:11 Trent Lloyd juju: status Incomplete New
2020-10-06 06:52:17 Trent Lloyd tags seg
2020-10-06 08:57:05 Ian Booth juju: status New Triaged
2020-10-06 08:57:08 Ian Booth juju: assignee Ian Booth (wallyworld)
2020-10-07 16:32:33 Canonical Juju QA Bot juju: milestone 2.8.5 2.8.6
2020-10-13 21:39:11 John A Meinel juju: milestone 2.8.6 2.8-next
2022-01-24 12:56:20 Heitor bug added subscriber james beedy
2022-01-24 12:56:40 Heitor bug added subscriber Erik Lönroth
2022-01-24 12:56:55 Heitor bug added subscriber Heitor
2022-11-03 17:15:09 Canonical Juju QA Bot juju: importance High Low
2022-11-03 17:15:10 Canonical Juju QA Bot tags seg expirebugs-bot seg