environ-provisioner fails to start

Bug #1245092 reported by sodre
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Go MAAS API Library
Triaged
High
Unassigned

Bug Description

Steps to reproduce:

1- Install MAAS Region Controller & Cloud-Controller.
2- Enlist 1 node (it can be virtual)
3- Create a user in MAAS _without_ admin access.
4- Bootstrap a Juju environment under that user.
5- wait until juju status returns something like this...

machines:
  "0":
    agent-state: pending
    dns-name: m1basic-09.vm.draco.metal.as
    instance-id: /MAAS/api/1.0/nodes/node-b275b780-3dc3-11e3-9504-525400d154c9/
    series: precise
services: {}

6- Issue juju debug-log and see many of these go by

m1basic-09:2013-10-27 00:29:08 INFO juju runner.go:245 worker: restarting "environ-provisioner" in 3s
m1basic-09:2013-10-27 00:29:11 INFO juju runner.go:253 worker: start "environ-provisioner"
m1basic-09:2013-10-27 00:29:12 INFO juju.provisioner provisioner_task.go:102 Starting up provisioner task machine-0
m1basic-09:2013-10-27 00:29:12 INFO juju.provisioner provisioner_task.go:243 machine 0 already started as instance "/MAAS/api/1.0/nodes/node-b275b780-3dc3-11e3-9504-525400d154c9/"
m1basic-09:2013-10-27 00:29:12 ERROR juju.provisioner provisioner_task.go:305 broker failed to stop instances: gomaasapi: got error back from server: 403 FORBIDDEN
m1basic-09:2013-10-27 00:29:12 ERROR juju.provisioner provisioner_task.go:120 Process machines failed: gomaasapi: got error back from server: 403 FORBIDDEN
m1basic-09:2013-10-27 00:29:12 ERROR juju.provisioner provisioner.go:132 environ provisioner died: gomaasapi: got error back from server: 403 FORBIDDEN
m1basic-09:2013-10-27 00:29:12 ERROR juju runner.go:211 worker: exited "environ-provisioner": gomaasapi: got error back from server: 403 FORBIDDEN
m1basic-09:2013-10-27 00:29:12 INFO juju runner.go:245 worker: restarting "environ-provisioner" in 3s

7- Go to MAAS User interface and grant this user admin access
8- The error stops on juju debug-log.

Curtis Hovey (sinzui)
Changed in gomaasapi:
status: New → Triaged
importance: Undecided → High
tags: added: admin bootstrap
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.