Paste #567387

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
I have installed the openstack cloud using openstack Autopilot. I am trying to deploy juju-gui in the internal juju environment. 




I did the following.
====================

->From MAAS node

$export JUJU_HOME=~/.cloud-install/juju

-> Connecting Landscape server to deploy our charm  and add relation to cinder charm.

$juju ssh landscape-server/0 sudo 'JUJU_HOME=/var/lib/landscape/juju-homes/`sudo ls -rt /var/lib/landscape/juju-homes/ | tail -1` sudo -u landscape -E bash'

-> From Landscape Server

landscape@juju-machine-0-lxc-1:~$ juju deploy cs:juju-gui-134

Added charm "cs:trusty/juju-gui-134" to the environment.


ubuntu@juju-machine-0-lxc-1:~$ juju status
	
"4":
    agent-state: error
    agent-state-info: 'cannot run instances: cannot run instances: gomaasapi: got
      error back from server: 409 CONFLICT (No available node matches constraints:
      zone=region1)'
    instance-id: pending
    series: trusty





 juju-gui:
    charm: cs:trusty/juju-gui-134
    exposed: false
    service-status:
      current: unknown
      message: Waiting for agent initialization to finish
      since: 07 Sep 2016 06:46:22Z
    units:
      juju-gui/1:
        workload-status:
          current: unknown
          message: Waiting for agent initialization to finish
          since: 07 Sep 2016 06:46:22Z
        agent-status:
          current: allocating
          since: 07 Sep 2016 06:46:22Z
        agent-state: pending
        machine: "4"


JUJU Version
=============		

ubuntu@juju-machine-0-lxc-1:~$ juju --version
1.25.6-trusty-amd64
	

How can I solve this Issue. Please provide me some solution.