weixin_39932692 2020-11-29 16:52
浏览 0

bug 1805567: don't assume if charm has no lxd profile, that any applied lxd profile is from previous versions

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

  1. charm pull ubuntu
  2. juju deploy path-to-charm/ubuntu
  3. juju deploy ./testcharms/charm-repo/quantal/lxd-profile-alt --to lxd
  4. juju deploy ./testcharms/charm-repo/quantal/lxd-profile
  5. juju deploy neutron-openvswitch;juju add-relation neutron-openvswitch ubuntu
  6. juju upgrade-charm ubuntu --path path-to-charm/ubuntu
  7. juju upgrade-charm lxd-profile-alt --path ./testcharms/charm-repo/quantal/lxd-profile-alt
  8. juju upgrade-charm lxd-profile --path ./testcharms/charm-repo/quantal/lxd-profile
  9. juju deploy ./testcharms/charm-repo/quantal/lxd-profile-subordinate;
  10. juju add-relation lxd-profile-subordinate lxd-profile
  11. juju add-relation lxd-profile-subordinate ubuntu
  12. juju upgrade-charm lxd-profile-subordinate --path ./testcharms/charm-repo/quantal/lxd-profile-subordinate
  13. lxc profile list

Documentation changes

n/a

Bug reference

https://bugs.launchpad.net/juju/+bug/1805567

该提问来源于开源项目:juju/juju

  • 写回答

6条回答 默认 最新

  • weixin_39932692 2020-11-29 16:52
    关注

    !!build!!

    评论

报告相同问题?