Admin account not created if values are provided on initial deployment
Bug #2014035 reported by
Chris Johnston
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Committed
|
Medium
|
Kevin Nasto |
Bug Description
Deploying landscape-server with `admin_name`, `admin_email`, and `admin_password` defined causes the admin account to not be created, still being directed to `/new-standalon
Doing a --reset on `admin_name` and then configuring `admin_name` again creates the user.
Related branches
~silverdrake11/landscape-charm:install-and-bootstrap-bug_lndeng-466
- Mitch Burton: Approve
-
Diff: 185 lines (+38/-40)4 files modifiedsrc/charm.py (+8/-19)
src/settings_files.py (+9/-0)
tests/test_charm.py (+16/-18)
tests/test_settings_files.py (+5/-3)
Changed in landscape-charm: | |
assignee: | nobody → Kevin Nasto (silverdrake11) |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in landscape-charm: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
2023-04-03 17:28:35 INFO juju.worker. uniter. operation runhook.go:159 ran "db-relation- created" hook (via hook dispatching script: dispatch) uniter. operation runhook.go:159 ran "leader-elected" hook (via hook dispatching script: dispatch) server/ 0.juju- log server.go:316 Bootstrap account waiting on default root url.. uniter. operation runhook.go:159 ran "config-changed" hook (via hook dispatching script: dispatch) server/ 0.juju- log server.go:316 Running legacy hooks/start. uniter. operation runhook.go:159 ran "start" hook (via hook dispatching script: dispatch) dependency engine.go:580 "metric-collect" manifold worker started at 2023-04-03 17:28:39.009529628 +0000 UTC uniter. operation runhook.go:159 ran "replicas- relation- changed" hook (via hook dispatching script: dispatch) server/ 0.juju- log server.go:316 db:7: db relation not yet ready. Missing keys: ['master', 'allowed-units', 'port', 'user']
2023-04-03 17:28:35 INFO juju.worker.uniter resolver.go:159 found queued "leader-elected" hook
2023-04-03 17:28:36 INFO juju.worker.
2023-04-03 17:28:37 ERROR unit.landscape-
2023-04-03 17:28:38 INFO juju.worker.
2023-04-03 17:28:38 INFO juju.worker.uniter resolver.go:159 found queued "start" hook
2023-04-03 17:28:38 INFO unit.landscape-
2023-04-03 17:28:38 INFO juju.worker.
2023-04-03 17:28:39 DEBUG juju.worker.
2023-04-03 17:28:39 INFO juju.worker.
2023-04-03 17:28:40 INFO unit.landscape-