Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot deploy generated bundle in juju 3.x #149

Closed
rafalop opened this issue Oct 30, 2023 · 0 comments · Fixed by #156
Closed

cannot deploy generated bundle in juju 3.x #149

rafalop opened this issue Oct 30, 2023 · 0 comments · Fixed by #156

Comments

@rafalop
Copy link
Contributor

rafalop commented Oct 30, 2023

Tested juju 3.2 only. It seems that you can no longer add relations into a bundle if the relation involves an application deployed by an overlay. This is the result:

(os) ubuntu@bastion:~/stsstack-bundles/openstack$ juju deploy /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/openstack.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/openstack/glance.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/openstack/keystone.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/openstack/neutron-ovn.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/openstack/neutron-ml2dns.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/mysql-innodb-cluster.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/mysql-innodb-cluster-router.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/openstack/placement.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/vault.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/openstack/vault-openstack-secrets.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/openstack/vault-openstack-certificates.yaml --overlay /home/ubuntu/stsstack-bundles/openstack/b/zedmodel/o/openstack/vault-openstack-certificates-placement.yaml
ERROR cannot deploy bundle: the provided bundle has the following errors:
relation ["nova-cloud-controller:shared-db" "nova-cloud-controller-mysql-router:shared-db"] refers to application "nova-cloud-controller-mysql-router" not defined in this bundle
relation ["nova-cloud-controller" "glance"] refers to application "glance" not defined in this bundle
relation ["nova-cloud-controller" "keystone"] refers to application "keystone" not defined in this bundle
relation ["nova-compute" "glance"] refers to application "glance" not defined in this bundle
relation ["glance" "cinder:image-service"] refers to application "glance" not defined in this bundle
relation ["glance" "rabbitmq-server"] refers to application "glance" not defined in this bundle
relation ["cinder:shared-db" "cinder-mysql-router:shared-db"] refers to application "cinder-mysql-router" not defined in this bundle
relation ["cinder:identity-service" "keystone"] refers to application "keystone" not defined in this bundle
relation ["neutron-api:shared-db" "neutron-api-mysql-router:shared-db"] refers to application "neutron-api-mysql-router" not defined in this bundle
relation ["neutron-api" "keystone"] refers to application "keystone" not defined in this bundle
(os) ubuntu@bastion:~/stsstack-bundles/openstack$ 

This may be a juju regression, have opened a juju bug accordingly:
https://bugs.launchpad.net/juju/+bug/2041785

Workaround is to comment out the relations from the bundle (openstack.yaml), and then manually add them after deploy.

rafalop added a commit to rafalop/stsstack-bundles that referenced this issue Nov 21, 2023
To adjust to new juju 3.2 behaviour that does not
allow relations referencing overlay applications
in the base bundle.

Fixes canonical#149
rafalop added a commit to rafalop/stsstack-bundles that referenced this issue Nov 21, 2023
To adjust to new juju 3.2 behaviour that does not
allow relations referencing overlay applications
in the base bundle.

Resolves: canonical#149
rafalop added a commit to rafalop/stsstack-bundles that referenced this issue Nov 21, 2023
To adjust to new juju 3.2 behaviour that does not
allow relations referencing overlay applications
in the base bundle.

Ref: https://bugs.launchpad.net/juju/+bug/2041785

Resolves: canonical#149
nicolasbock added a commit to rafalop/stsstack-bundles that referenced this issue Nov 28, 2023
To adjust to new juju 3.2 behaviour that does not allow relations
referencing overlay applications in the base bundle.

Ref: https://bugs.launchpad.net/juju/+bug/2041785

Resolves: canonical#149
Co-authored-by: Nicolas Bock <[email protected]>
nicolasbock added a commit to rafalop/stsstack-bundles that referenced this issue Nov 28, 2023
To adjust to new juju 3.2 behaviour that does not allow relations
referencing overlay applications in the base bundle.

Ref: https://bugs.launchpad.net/juju/+bug/2041785

Resolves: canonical#149
Co-authored-by: Nicolas Bock <[email protected]>
nicolasbock added a commit to rafalop/stsstack-bundles that referenced this issue Nov 28, 2023
To adjust to new juju 3.2 behaviour that does not allow relations
referencing overlay applications in the base bundle.

Ref: https://bugs.launchpad.net/juju/+bug/2041785

Resolves: canonical#149
Co-authored-by: Nicolas Bock <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant