gitlab requires specific workflow to setup

Bug #1416687 reported by Blaisorblade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gitlab (Juju Charms Collection)
New
Undecided
Unassigned

Bug Description

I'm using gitlab inside juju-quickstart's GUI, and it seems much harder to use than other charms. It seems that, for this charm, the only working workflow is the documented one:

add service to canvas
set the password
add the relation with mysql
only then start it

(Note, though, that the README does not actually document that in full — it says "edit config.yaml", which means little in juju's web interface).

Otherwise, it seems you always end up in stuck states. However, other charms are more flexible. Juju imposes a much more flexible state machine for the state of a charm, and essentially requires that you can do your configuration steps in arbitrary order, as long as in the end you make all of them.

Part of the problem is the already assigned https://bugs.launchpad.net/charms/+source/gitlab/+bug/1360458, but that does not cover all problems.

Setting the password later fails — the service gets stuck if you don't set the password before starting it (https://bugs.launchpad.net/charms/+source/gitlab/+bug/1416684).
Changing the configuration also fails (https://bugs.launchpad.net/charms/+source/gitlab/+bug/1360458).
Adding the relation later also failed for me, like https://bugs.launchpad.net/charms/+source/gitlab/+bug/1274286 (with a message different from https://bugs.launchpad.net/charms/+source/gitlab/+bug/1302862.

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.