Problem deploying openstack-ha with juju deploy

Bug #1645477 reported by Aymen Frikha
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Invalid
High
Unassigned

Bug Description

When deploying an openstack HA with bundle with juju deploy, openstack services didn't start correctly. Most of openstack services were not added to keystone catalog:
keystone catalogue

Service: compute

+-------------+-------------------------------------------------------------+

| Property | Value |

+-------------+-------------------------------------------------------------+

| adminURL | http://10.20.0.101:8774/v2/71b3e04035e44e7eaea0bd76e822b063 |

| id | 63a0d024627149499af6076835917830 |

| internalURL | http://10.20.0.101:8774/v2/71b3e04035e44e7eaea0bd76e822b063 |

| publicURL | http://10.20.0.101:8774/v2/71b3e04035e44e7eaea0bd76e822b063 |

| region | |

+-------------+-------------------------------------------------------------+

Service: object-store

+-------------+----------------------------------+

| Property | Value |

+-------------+----------------------------------+

| adminURL | http://10.20.0.107:80/swift |

| id | 05eaafa69f0c44129b9fc02a807deb15 |

| internalURL | http://10.20.0.107:80/swift/v1 |

| publicURL | http://10.20.0.107:80/swift/v1 |

| region | |

+-------------+----------------------------------+

Same charms/ parameters / relations were added in another bundle with juju-deployer tool and everything works fine with this tool. But not with juju deploy. The bundle used with juju deploy is:
https://pastebin.canonical.com/172084/

The bundle used with juju-deployer is this:
https://pastebin.canonical.com/172085/

Tags: cpec
Josh McJilton (mcjilton)
tags: added: cpec
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Could you please clarify what version of juju you are using?

Changed in juju-core:
status: New → Incomplete
Revision history for this message
Aymen Frikha (aym-frikha) wrote :

I use juju : 2.0.1-xenial-amd64

Changed in juju:
status: New → Triaged
importance: Undecided → High
no longer affects: juju-core
Changed in juju:
milestone: none → 2.2.0
Revision history for this message
Anastasia (anastasia-macmood) wrote :

From Francesco Banconi:

Bundle deployment acts at the Juju model level: it deploys charms, adds units, machines, relations, etc. It does not include any workload specific logic which is the responsibility of charms. To work around possible races in charms' implementation, juju-deployer used to artificially add a time sleep (like 60 seconds or similar) from when the units are created to when relations are established. The native bundle deployment is an opportunity to discover and fix those races, which would come up every time the charms are manually added by the user.

Since services fail to be registered to keystone when relations are added before units are created, this is a charm bug.

Changed in juju:
status: Triaged → Invalid
milestone: 2.2.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.