Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 632  / 1 Year ago, mon, april 24, 2023, 2:18:25

in the maas portal :ht tp://192.168.101.148/MAAS,i can see 6 nodes,and the status are all:ready.



and my environments.yaml file is :



environments:



  maas:
type: maas
maas-server: ht tp://192.168.101.148:80/MAAS
maas-oauth: "the key i get from the portal"
admin-secret: super-secret-made-up-admin-key
default-series: precise


and the error is below:



root@ubuntu:~# juju bootstrap
2013-09-11 15:55:31,557 INFO Bootstrapping environment 'maas' (origin: distro type: maas)...
2013-09-11 15:55:32,222 ERROR Failed to launch machine /MAAS/api/1.0/nodes/node-e097fab8-1a11-11e3-a94b-0800270f346d/; attempting to release.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/juju/providers/maas/launch.py", line 48, in start_machine
instance_uri, cloud_init.render())
ProviderInteractionError: Unexpected Error interacting with provider: 403 FORBIDDEN
Unexpected Error interacting with provider: 403 FORBIDDEN
2013-09-11 15:55:32,404 ERROR Unexpected Error interacting with provider: 403 FORBIDDEN

More From » juju

 Answers
6

I had the same problem, had better luck by using juju from the PPA instead of the default precise apt repository.



Install add-apt-repository tool:



sudo apt-get install python-software-properties


Add Juju PPA:



sudo add-apt-repository ppa:juju/stable


Install Juju core:



sudo apt-get update
sudo apt-get install juju-core

[#29497] Tuesday, April 25, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
calcur

Total Points: 189
Total Questions: 80
Total Answers: 95

Location: Burkina Faso
Member since Thu, Dec 15, 2022
1 Year ago
;