Skip to content

Instantly share code, notes, and snippets.

@AdamIsrael AdamIsrael/README.md
Last active Aug 29, 2015

Embed
What would you like to do?

!WIP!

This is a work-in-progress bug report.

Steps to recreate

Open new terminal and run:

debug-wait.sh

In another terminal and run:

juju deploy local:trusty/storage-demo --storage data=2G

Once the initial hook, data-storage-attach, is caught, close the terminal.

juju destroy-environment local --force

ERROR failed to destroy lxc container: error executing "lxc-destroy": lxc_container: lxccontainer.c: lxcapi_destroy: 2073 Error destroying rootfs for vagrant-local-machine-6; Destroying vagrant-local-machine-6 failed ERROR error executing "lxc-destroy": lxc_container: lxccontainer.c: lxcapi_destroy: 2073 Error destroying rootfs for vagrant-local-machine-6; Destroying vagrant-local-machine-6 failed ERROR exit status 1

asf

#!/bin/bash
# Workaround for lp:1227942
set -eux
until juju debug-hooks storage-demo/0; do
echo "Waiting for unit to come online..."
done
2015-07-28 18:47:06 ERROR juju.worker.uniter.filter filter.go:137 tomb: dying
2015-07-28 18:47:06 ERROR juju.worker runner.go:223 exited "uniter": ModeHookError: committing operation "clear resolved flag and skip run storage-attached (data/4) hook": unknown storage "data/4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.