Description of change
if the charm doesn't have a profile and no profile has been previously applied, set the new instanceCharmProfileData to NotRequired
QA steps
- charm pull ubuntu
- juju deploy path-to-charm/ubuntu
- juju deploy ./testcharms/charm-repo/quantal/lxd-profile-alt --to lxd
- juju deploy ./testcharms/charm-repo/quantal/lxd-profile
- juju deploy neutron-openvswitch;juju add-relation neutron-openvswitch ubuntu
- juju upgrade-charm ubuntu --path path-to-charm/ubuntu
- juju upgrade-charm lxd-profile-alt --path ./testcharms/charm-repo/quantal/lxd-profile-alt
- juju upgrade-charm lxd-profile --path ./testcharms/charm-repo/quantal/lxd-profile
- juju deploy ./testcharms/charm-repo/quantal/lxd-profile-subordinate;
- juju add-relation lxd-profile-subordinate lxd-profile
- juju add-relation lxd-profile-subordinate ubuntu
- juju upgrade-charm lxd-profile-subordinate --path ./testcharms/charm-repo/quantal/lxd-profile-subordinate
- lxc profile list
Documentation changes
n/a
Bug reference
https://bugs.launchpad.net/juju/+bug/1805567
该提问来源于开源项目:juju/juju