As "one command" upgrade the charms at once:
juju upgrade-charm lxd-profile-subordinate --path ./testcharms/charm-repo/quantal/lxd-profile-subordinate; juju upgrade-charm lxd-profile --path ./testcharms/charm-repo/quantal/lxd-profile ; juju upgrade-charm ntp --path ~/charms/ntp ; juju upgrade-charm ubuntu --path ~/charms/ubuntu
WARNING making "testcharms/charm-repo/quantal/lxd-profile-subordinate/hooks/start" executable in charm
Added charm "local:bionic/lxd-profile-subordinate-1" to the model.
-bash: wait: pid 30 is not a child of this shell
Added charm "local:bionic/lxd-profile-1" to the model.
ERROR unable to set charm profile: upgrade charm profile already in process for machine 0, profile from "local:bionic/lxd-profile-subordinate-1"
-bash: wait: pid 30 is not a child of this shell
Added charm "local:bionic/ntp-1" to the model.
-bash: wait: pid 30 is not a child of this shell
Added charm "local:bionic/ubuntu-1" to the model.
ERROR unable to set charm profile: upgrade charm profile already in process for machine 0, profile from ""
Upgrading the ubuntu and lxd-charms separately with a minutes in-between after succeeds.
Can be reproduced with: charm-repo/ quantal/ lxd-profile charm-repo/ quantal/ lxd-profile- subordinate subordinate
juju deploy -n 6 ./testcharms/
juju deploy ./testcharms/
juju add-relation lxd-profile lxd-profile-
juju deploy ~/charms/ubuntu --to 0
juju add-unit ubuntu -n 5 --to 1,2,3,4,5
juju deploy ~/charms/ntp
juju add-relation ntp ubuntu
- let config settle
As "one command" upgrade the charms at once: subordinate --path ./testcharms/ charm-repo/ quantal/ lxd-profile- subordinate; juju upgrade-charm lxd-profile --path ./testcharms/ charm-repo/ quantal/ lxd-profile ; juju upgrade-charm ntp --path ~/charms/ntp ; juju upgrade-charm ubuntu --path ~/charms/ubuntu
juju upgrade-charm lxd-profile-
WARNING making "testcharms/ charm-repo/ quantal/ lxd-profile- subordinate/ hooks/start" executable in charm bionic/ lxd-profile- subordinate- 1" to the model. bionic/ lxd-profile- 1" to the model. bionic/ lxd-profile- subordinate- 1" bionic/ ntp-1" to the model. bionic/ ubuntu- 1" to the model.
Added charm "local:
-bash: wait: pid 30 is not a child of this shell
Added charm "local:
ERROR unable to set charm profile: upgrade charm profile already in process for machine 0, profile from "local:
-bash: wait: pid 30 is not a child of this shell
Added charm "local:
-bash: wait: pid 30 is not a child of this shell
Added charm "local:
ERROR unable to set charm profile: upgrade charm profile already in process for machine 0, profile from ""
Upgrading the ubuntu and lxd-charms separately with a minutes in-between after succeeds.