Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm following this doc to implement openstack using MAAS and JUJU:

Ubuntu Cloud Infrastructure with MAAS and Juju

So to setup JUJU, im following this one: Get Started With Juju

Any idea about how to fix this one?

root@ubuntu:~/.juju# juju status -e maas -v
2013-07-28 17:31:47 ERROR juju supercommand.go:235 command failed: file 'provider-          state' not found not found
error: file 'provider-state' not found not found

root@ubuntu:~/.juju# juju bootstrap -e maas -v
2013-07-28 17:36:27 ERROR juju supercommand.go:235 command failed: cannot create     bootstrap state file: gomaasapi: got error back from server: 400 BAD REQUEST
error: cannot create bootstrap state file: gomaasapi: got error back from server: 400     BAD REQUEST

maas section of environments.yaml

type: maas
# Change this to where your MAAS server lives.  It must specify the base path.
maas-server: ''
maas-oauth: '********hidden****8:P6srrdD57RckEfJeEa2r'
admin-secret: fa4fb05****hidden*****e6f2d3fd29cb1f
default-series: precise
authorized-keys-path: ~/.ssh/authorized_keys # or any file you want.

And it seems this bug is fixed but I am still facing this issue with the latest version of JUJU:

Bug Description

share|improve this question

If you are running MAAS on 12.04 they made some changes to juju-core. Below is the bug report for MAAS along with the fix.

share|improve this answer
Yeah, I see that the bug is fixed. Is this fix not available as a patch to install through apt-get or any idea when it will be available? Also I see that the main documentation is meant for 12.04 - Where can I find the similar documentation to deploy openstack using MAAS + JUJU on 13.04 – badri Jul 29 '13 at 16:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.