Showing posts from July, 2019

Technical Notes: How to remove juju application in error state

I have been playing with juju for application deployment recently as parts of my current job. Most of the time, I just need to ` juju deploy application ` and JuJu gives me all settings, no matter what cloud I am using. However, in some cases, juju refuses to follow my orders, which makes me really frustrasted. For example, the following deployment will definitely fail because grafana charm version 24 was not updated to changes in upstream grafana. $ juju deploy grafana-24 The system will stuck with following juju status $ juju status Model Controller Cloud/Region Version SLA Timestamp experiment stark-kvm stark-kvm 2.6.5 unsupported 16:53:31+09:00 App Version Status Scale Charm Store Rev OS Notes grafana error 1 grafana jujucharms 24 ubuntu Unit Workload Agent Machine Public address Ports Message grafana/0* error idle 0 hook failed: "install"