Trouble with openstack-install 0.99.23 in Ubuntu 14.04 and Linux Mint 17.2 using single workstation

Adam Stokes adam.stokes at canonical.com
Fri Nov 13 20:16:29 UTC 2015


If you do a full juju status without the `--format` option in the machine
list it is probably saying something like 'unable to download
juju-lxc-ubuntu-template' If you see that then yes that's the same issue.
It's hard to reproduce and I usually clear out my /var/cache/lxc inside the
top level container and give it another go. Once you clear out
/var/cache/lxc, run lxc-create manually

`sudo lxc-create -t ubuntu-cloud -n test`

Juju will pick up that cloud image from /var/cache/lxc and re-use it, that
seems to fix it for me normally.


On Fri, Nov 13, 2015 at 2:58 PM, Tim Soderstrom <
ubuntu+openstack at moocowproductions.org> wrote:

> Ah hmm well that's one issue - I show no containers:
>
> tim at openstack:~$ sudo lxc-attach -n openstack-single-$USER
> [sudo] password for tim:
> root at openstack-single-tim:~# sudo lxc-ls -f
> NAME  STATE  IPV4  IPV6  AUTOSTART
> ----------------------------------
> root at openstack-single-tim:~#
>
> That sounds like the juju silent fail may be the issue?
>
> On 11/13/2015 01:51 PM, Adam Stokes wrote:
>
>> Inside the top level container if you do a `sudo lxc-ls -f` does it show
>> a list of containers with attached ips? I've seen some issues where juju
>> fails to fully clone the lxc template and then just dies silently.
>>
>> On Fri, Nov 13, 2015 at 2:45 PM, Tim Soderstrom <
>> ubuntu+openstack at moocowproductions.org <mailto:
>> ubuntu+openstack at moocowproductions.org>> wrote:
>>
>>     Turns out, at least I think, the issue was out of disk space on
>>     the master VM, oops. I did a fresh install on a larger drive and
>>     made progress, although it's still busted.
>>
>>     My versions of juju are:
>>
>>     -- Master VM
>>     tim at openstack:~$ juju --version
>>     1.24.7-trusty-amd64
>>
>>     -- Container
>>     root at openstack-single-tim:/# juju --version
>>     1.25.0-trusty-amd64
>>
>>     Where I'm at now is all the services showing up as Pending on the
>>     installer screen. `juju status` in the main container shows this:
>>
>>     #######################################################
>>     ubuntu at openstack-single-tim:/$ juju status --format=tabular
>>     [Services]
>>     NAME                      STATUS  EXPOSED CHARM
>>     glance                    unknown false cs:trusty/glance-24
>>     glance-simplestreams-sync unknown false
>>     cs:trusty/glance-simplestreams-sync-3
>>     keystone                  unknown false cs:trusty/keystone-28
>>     mysql                     unknown false cs:trusty/mysql-28
>>     neutron-api               unknown false cs:trusty/neutron-api-17
>>     neutron-gateway           unknown false cs:trusty/neutron-gateway-5
>>     neutron-openvswitch               false
>>     cs:trusty/neutron-openvswitch-9
>>     nova-cloud-controller     unknown false
>>     cs:trusty/nova-cloud-controller-60
>>     nova-compute              unknown false cs:trusty/nova-compute-26
>>     ntp                               false cs:trusty/ntp-11
>>     openstack-dashboard       unknown false
>>     cs:trusty/openstack-dashboard-16
>>     rabbitmq-server           unknown false cs:trusty/rabbitmq-server-34
>>
>>     [Units]
>>     ID                          WORKLOAD-STATE AGENT-STATE VERSION
>>     MACHINE PORTS PUBLIC-ADDRESS MESSAGE
>>     glance-simplestreams-sync/0 unknown        allocating 1/lxc/5
>>                  Waiting for agent initialization to finish
>>     glance/0                    unknown        allocating 1/lxc/6
>>                  Waiting for agent initialization to finish
>>     keystone/0                  unknown        allocating 1/lxc/2
>>                  Waiting for agent initialization to finish
>>     mysql/0                     unknown        allocating 1/lxc/0
>>                  Waiting for agent initialization to finish
>>     neutron-api/0               unknown        allocating 1/lxc/4
>>                  Waiting for agent initialization to finish
>>     neutron-gateway/0           unknown        idle 1.25.0.1 3 10.0.7.128
>>     nova-cloud-controller/0     unknown        allocating 1/lxc/3
>>                  Waiting for agent initialization to finish
>>     nova-compute/0              unknown        idle 1.25.0.1 2 10.0.7.150
>>     openstack-dashboard/0       unknown        allocating 1/lxc/7
>>                  Waiting for agent initialization to finish
>>     rabbitmq-server/0           unknown        allocating 1/lxc/1
>>                  Waiting for agent initialization to finish
>>
>>     [Machines]
>>     ID         STATE   VERSION  DNS        INS-ID      SERIES HARDWARE
>>     0          started 1.25.0.1 localhost  localhost trusty
>>     1          started 1.25.0.1 10.0.7.237 ubuntu-local-machine-1
>>     trusty arch=amd64 cpu-cores=1 mem=6144M root-disk=20480M
>>     2          started 1.25.0.1 10.0.7.150 ubuntu-local-machine-2
>>     trusty arch=amd64 cpu-cores=1 mem=4096M root-disk=40960M
>>     3          started 1.25.0.1 10.0.7.128 ubuntu-local-machine-3
>>     trusty arch=amd64 cpu-cores=1 mem=2048M root-disk=20480M
>>     #######################################################
>>
>>     Per
>>     https://wiki.ubuntu.com/OpenStack/Installer/debugging/single-install
>>     I tried to look at some of the error logs but didn't run into much:
>>
>>     ubuntu at openstack-single-tim:/$ juju debug-log --replay -i glance/0
>>
>>     ^Cubuntu at openstack-single-tim:/$ juju debug-log --replay -i
>> keystone/0
>>     ^Cubuntu at openstack-single-tim:/$
>>
>>     I did, however, get some juicy tidbits in the logs in
>>     /var/log/juju (in the container) which looks like it might be an
>>     ip allocation issure?:
>>
>>     #######################################################
>>     root at openstack-single-tim:/var/log/juju-ubuntu-local# tail -n50
>>     machine-0.log
>>     2015-11-13 19:36:33 DEBUG juju.apiserver.client run.go:162 exec on
>>     1/lxc/5:
>>     client.RemoteExec{ExecParams:ssh.ExecParams{IdentityFile:"",
>>     Host:"", Command:"juju-run glance-simplestreams-sync/0 'cat
>>     /etc/glance-simplestreams-sync/identity.yaml'",
>>     Timeout:300000000000}, MachineId:"1/lxc/5",
>>     UnitId:"glance-simplestreams-sync/0"}
>>     2015-11-13 19:36:33 DEBUG juju.apiserver.client run.go:166 reponse
>>     from 1/lxc/5: {0 [] []} (err:missing host address)
>>     2015-11-13 19:36:33 DEBUG juju.apiserver apiserver.go:275 -> [460]
>>     user-admin at local 792.033us {"RequestId":3,"Response":"'body
>>     redacted'"} Client[""].Run
>>     2015-11-13 19:36:33 INFO juju.apiserver apiserver.go:284 [460]
>>     user-admin at local API connection terminated after 35.741236ms
>>     2015-11-13 19:36:36 INFO juju.apiserver apiserver.go:280 [461] API
>>     connection from 127.0.0.1:35022 <http://127.0.0.1:35022>
>>     2015-11-13 19:36:36 DEBUG juju.apiserver utils.go:71 validate env
>>     uuid: state server environment - 7e9b3312-0dbd-428d-8771-c802cd0e9d7c
>>     2015-11-13 19:36:36 DEBUG juju.apiserver apiserver.go:261 <- [461]
>>     <unknown>
>>
>> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params
>>     redacted'"}
>>     2015-11-13 19:36:36 DEBUG juju.apiserver admin.go:149 hostPorts:
>>     [[localhost:17070 10.0.3.82:17070 <http://10.0.3.82:17070>
>>     10.0.7.1:17070 <http://10.0.7.1:17070> 192.168.122.1:17070
>>     <http://192.168.122.1:17070> 127.0.0.1:17070
>>     <http://127.0.0.1:17070> [::1]:17070]]
>>
>>     2015-11-13 19:36:36 DEBUG juju.apiserver apiserver.go:275 -> [461]
>>     user-admin at local 33.547611ms {"RequestId":1,"Response":"'body
>>     redacted'"} Admin[""].Login
>>     2015-11-13 19:36:36 DEBUG juju.apiserver apiserver.go:261 <- [461]
>>     user-admin at local
>>     {"RequestId":3,"Type":"Client","Request":"Run","Params":"'params
>>     redacted'"}
>>     2015-11-13 19:36:36 DEBUG juju.apiserver.client run.go:155 exec
>>     []*client.RemoteExec{(*client.RemoteExec)(0xc21157de40)}
>>     2015-11-13 19:36:36 DEBUG juju.apiserver.client run.go:162 exec on
>>     1/lxc/5:
>>     client.RemoteExec{ExecParams:ssh.ExecParams{IdentityFile:"",
>>     Host:"", Command:"juju-run glance-simplestreams-sync/0 'cat
>>     /etc/glance-simplestreams-sync/identity.yaml'",
>>     Timeout:300000000000}, MachineId:"1/lxc/5",
>>     UnitId:"glance-simplestreams-sync/0"}
>>     2015-11-13 19:36:36 DEBUG juju.apiserver.client run.go:166 reponse
>>     from 1/lxc/5: {0 [] []} (err:missing host address)
>>     2015-11-13 19:36:36 DEBUG juju.apiserver apiserver.go:275 -> [461]
>>     user-admin at local 816.575us {"RequestId":3,"Response":"'body
>>     redacted'"} Client[""].Run
>>     2015-11-13 19:36:36 INFO juju.apiserver apiserver.go:284 [461]
>>     user-admin at local API connection terminated after 36.068185ms
>>     2015-11-13 19:36:38 DEBUG juju.apiserver apiserver.go:261 <- [24]
>>     unit-neutron-gateway-0
>>
>> {"RequestId":340,"Type":"LeadershipService","Version":1,"Request":"ClaimLeadership","Params":"'params
>>     redacted'"}
>>     2015-11-13 19:36:38 DEBUG juju.apiserver apiserver.go:275 -> [24]
>>     unit-neutron-gateway-0 297.606448ms
>>     {"RequestId":340,"Response":"'body redacted'"}
>>     LeadershipService[""].ClaimLeadership
>>     2015-11-13 19:36:38 INFO juju.apiserver apiserver.go:280 [462] API
>>     connection from 127.0.0.1:35023 <http://127.0.0.1:35023>
>>     2015-11-13 19:36:38 DEBUG juju.apiserver utils.go:71 validate env
>>     uuid: state server environment - 7e9b3312-0dbd-428d-8771-c802cd0e9d7c
>>     2015-11-13 19:36:38 DEBUG juju.apiserver apiserver.go:261 <- [462]
>>     <unknown>
>>
>> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params
>>     redacted'"}
>>     2015-11-13 19:36:38 DEBUG juju.apiserver admin.go:149 hostPorts:
>>     [[localhost:17070 10.0.3.82:17070 <http://10.0.3.82:17070>
>>     10.0.7.1:17070 <http://10.0.7.1:17070> 192.168.122.1:17070
>>     <http://192.168.122.1:17070> 127.0.0.1:17070
>>     <http://127.0.0.1:17070> [::1]:17070]]
>>     2015-11-13 19:36:38 DEBUG juju.apiserver apiserver.go:275 -> [462]
>>     user-admin at local 34.442415ms {"RequestId":1,"Response":"'body
>>     redacted'"} Admin[""].Login
>>     2015-11-13 19:36:38 DEBUG juju.apiserver apiserver.go:261 <- [462]
>>     user-admin at local
>>     {"RequestId":3,"Type":"Client","Request":"Run","Params":"'params
>>     redacted'"}
>>     2015-11-13 19:36:38 DEBUG juju.apiserver.client run.go:155 exec
>>     []*client.RemoteExec{(*client.RemoteExec)(0xc2122c11e0)}
>>     2015-11-13 19:36:38 DEBUG juju.apiserver.client run.go:162 exec on
>>     1/lxc/5:
>>     client.RemoteExec{ExecParams:ssh.ExecParams{IdentityFile:"",
>>     Host:"", Command:"juju-run glance-simplestreams-sync/0 'cat
>>     /etc/glance-simplestreams-sync/identity.yaml'",
>>     Timeout:300000000000}, MachineId:"1/lxc/5",
>>     UnitId:"glance-simplestreams-sync/0"}
>>     2015-11-13 19:36:38 DEBUG juju.apiserver.client run.go:166 reponse
>>     from 1/lxc/5: {0 [] []} (err:missing host address)
>>     2015-11-13 19:36:38 DEBUG juju.apiserver apiserver.go:275 -> [462]
>>     user-admin at local 1.099754ms {"RequestId":3,"Response":"'body
>>     redacted'"} Client[""].Run
>>     2015-11-13 19:36:38 INFO juju.apiserver apiserver.go:284 [462]
>>     user-admin at local API connection terminated after 37.588424ms
>>     2015-11-13 19:36:41 INFO juju.apiserver apiserver.go:280 [463] API
>>     connection from 127.0.0.1:35024 <http://127.0.0.1:35024>
>>     2015-11-13 19:36:41 DEBUG juju.apiserver utils.go:71 validate env
>>     uuid: state server environment - 7e9b3312-0dbd-428d-8771-c802cd0e9d7c
>>     2015-11-13 19:36:41 DEBUG juju.apiserver apiserver.go:261 <- [463]
>>     <unknown>
>>
>> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params
>>     redacted'"}
>>     2015-11-13 19:36:41 DEBUG juju.apiserver admin.go:149 hostPorts:
>>     [[localhost:17070 10.0.3.82:17070 <http://10.0.3.82:17070>
>>     10.0.7.1:17070 <http://10.0.7.1:17070> 192.168.122.1:17070
>>     <http://192.168.122.1:17070> 127.0.0.1:17070
>>     <http://127.0.0.1:17070> [::1]:17070]]
>>
>>     2015-11-13 19:36:41 DEBUG juju.apiserver apiserver.go:275 -> [463]
>>     user-admin at local 35.160248ms {"RequestId":1,"Response":"'body
>>     redacted'"} Admin[""].Login
>>     2015-11-13 19:36:41 DEBUG juju.apiserver apiserver.go:261 <- [463]
>>     user-admin at local
>>     {"RequestId":3,"Type":"Client","Request":"Run","Params":"'params
>>     redacted'"}
>>     2015-11-13 19:36:41 DEBUG juju.apiserver.client run.go:155 exec
>>     []*client.RemoteExec{(*client.RemoteExec)(0xc2122c1b40)}
>>     2015-11-13 19:36:41 DEBUG juju.apiserver.client run.go:162 exec on
>>     1/lxc/5:
>>     client.RemoteExec{ExecParams:ssh.ExecParams{IdentityFile:"",
>>     Host:"", Command:"juju-run glance-simplestreams-sync/0 'cat
>>     /etc/glance-simplestreams-sync/identity.yaml'",
>>     Timeout:300000000000}, MachineId:"1/lxc/5",
>>     UnitId:"glance-simplestreams-sync/0"}
>>     2015-11-13 19:36:41 DEBUG juju.apiserver.client run.go:166 reponse
>>     from 1/lxc/5: {0 [] []} (err:missing host address)
>>     2015-11-13 19:36:41 DEBUG juju.apiserver apiserver.go:275 -> [463]
>>     user-admin at local 719.185us {"RequestId":3,"Response":"'body
>>     redacted'"} Client[""].Run
>>     2015-11-13 19:36:41 INFO juju.apiserver apiserver.go:284 [463]
>>     user-admin at local API connection terminated after 37.538096ms
>>     2015-11-13 19:36:41 DEBUG juju.apiserver apiserver.go:261 <- [9]
>>     user-admin at local
>>
>> {"RequestId":637,"Type":"Client","Request":"FullStatus","Params":"'params
>>     redacted'"}
>>     2015-11-13 19:36:41 DEBUG juju.apiserver.client status.go:123
>>     Services: map[mysql:mysql ntp:ntp rabbitmq-server:rabbitmq-server
>>     keystone:keystone neutron-gateway:neutron-gateway
>>     neutron-api:neutron-api neutron-openvswitch:neutron-openvswitch
>>     glance-simplestreams-sync:glance-simplestreams-sync glance:glance
>>     nova-compute:nova-compute
>>     nova-cloud-controller:nova-cloud-controller
>>     openstack-dashboard:openstack-dashboard]
>>     2015-11-13 19:36:41 WARNING juju.apiserver.client status.go:677
>>     error fetching public address: public no address
>>     2015-11-13 19:36:41 WARNING juju.apiserver.client status.go:677
>>     error fetching public address: public no address
>>     2015-11-13 19:36:41 WARNING juju.apiserver.client status.go:677
>>     error fetching public address: public no address
>>     2015-11-13 19:36:41 WARNING juju.apiserver.client status.go:677
>>     error fetching public address: public no address
>>     2015-11-13 19:36:41 WARNING juju.apiserver.client status.go:677
>>     error fetching public address: public no address
>>     2015-11-13 19:36:41 WARNING juju.apiserver.client status.go:677
>>     error fetching public address: public no address
>>     2015-11-13 19:36:41 WARNING juju.apiserver.client status.go:677
>>     error fetching public address: public no address
>>     2015-11-13 19:36:41 WARNING juju.apiserver.client status.go:677
>>     error fetching public address: public no address
>>     2015-11-13 19:36:41 DEBUG juju.apiserver apiserver.go:275 -> [9]
>>     user-admin at local 48.578495ms {"RequestId":637,"Response":"'body
>>     redacted'"} Client[""].FullStatus
>>
>>     #######################################################
>>
>>     root at openstack-single-tim:/var/log/juju-ubuntu-local# tail -n50
>>     all-machines.log
>>     machine-0: 2015-11-13 19:37:13 DEBUG juju.apiserver
>>     apiserver.go:275 -> [2E] unit-nova-compute-0 328.128029ms
>>     {"RequestId":340,"Response":"'body redacted'"}
>>     LeadershipService[""].ClaimLeadership
>>     machine-0: 2015-11-13 19:37:15 INFO juju.apiserver
>>     apiserver.go:280 [470] API connection from 127.0.0.1:35037
>>     <http://127.0.0.1:35037>
>>     machine-0: 2015-11-13 19:37:15 DEBUG juju.apiserver utils.go:71
>>     validate env uuid: state server environment -
>>     7e9b3312-0dbd-428d-8771-c802cd0e9d7c
>>     machine-0: 2015-11-13 19:37:15 DEBUG juju.apiserver
>>     apiserver.go:261 <- [470] <unknown>
>>
>> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params
>>     redacted'"}
>>     machine-0: 2015-11-13 19:37:15 DEBUG juju.apiserver admin.go:149
>>     hostPorts: [[localhost:17070 10.0.3.82:17070
>>     <http://10.0.3.82:17070> 10.0.7.1:17070 <http://10.0.7.1:17070>
>>     192.168.122.1:17070 <http://192.168.122.1:17070> 127.0.0.1:17070
>>     <http://127.0.0.1:17070> [::1]:17070]]
>>
>>     machine-0: 2015-11-13 19:37:15 DEBUG juju.apiserver
>>     apiserver.go:275 -> [470] user-admin at local 35.765724ms
>>     {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
>>     machine-0: 2015-11-13 19:37:15 DEBUG juju.apiserver
>>     apiserver.go:261 <- [470] user-admin at local
>>     {"RequestId":3,"Type":"Client","Request":"Run","Params":"'params
>>     redacted'"}
>>     machine-0: 2015-11-13 19:37:15 DEBUG juju.apiserver.client
>>     run.go:155 exec
>>     []*client.RemoteExec{(*client.RemoteExec)(0xc21124e5a0)}
>>     machine-0: 2015-11-13 19:37:15 DEBUG juju.apiserver.client
>>     run.go:162 exec on 1/lxc/5:
>>     client.RemoteExec{ExecParams:ssh.ExecParams{IdentityFile:"",
>>     Host:"", Command:"juju-run glance-simplestreams-sync/0 'cat
>>     /etc/glance-simplestreams-sync/identity.yaml'",
>>     Timeout:300000000000}, MachineId:"1/lxc/5",
>>     UnitId:"glance-simplestreams-sync/0"}
>>     machine-0: 2015-11-13 19:37:15 DEBUG juju.apiserver.client
>>     run.go:166 reponse from 1/lxc/5: {0 [] []} (err:missing host address)
>>     machine-0: 2015-11-13 19:37:15 DEBUG juju.apiserver
>>     apiserver.go:275 -> [470] user-admin at local 654.078us
>>     {"RequestId":3,"Response":"'body redacted'"} Client[""].Run
>>     machine-0: 2015-11-13 19:37:15 INFO juju.apiserver
>>     apiserver.go:284 [470] user-admin at local API connection terminated
>>     after 37.878016ms
>>     machine-0: 2015-11-13 19:37:18 INFO juju.apiserver
>>     apiserver.go:280 [471] API connection from 127.0.0.1:35038
>>     <http://127.0.0.1:35038>
>>     machine-0: 2015-11-13 19:37:18 DEBUG juju.apiserver utils.go:71
>>     validate env uuid: state server environment -
>>     7e9b3312-0dbd-428d-8771-c802cd0e9d7c
>>     machine-0: 2015-11-13 19:37:18 DEBUG juju.apiserver
>>     apiserver.go:261 <- [471] <unknown>
>>
>> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params
>>     redacted'"}
>>     machine-0: 2015-11-13 19:37:18 DEBUG juju.apiserver admin.go:149
>>     hostPorts: [[localhost:17070 10.0.3.82:17070
>>     <http://10.0.3.82:17070> 10.0.7.1:17070 <http://10.0.7.1:17070>
>>     192.168.122.1:17070 <http://192.168.122.1:17070> 127.0.0.1:17070
>>     <http://127.0.0.1:17070> [::1]:17070]]
>>
>>     machine-0: 2015-11-13 19:37:18 DEBUG juju.apiserver
>>     apiserver.go:275 -> [471] user-admin at local 32.400441ms
>>     {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
>>     machine-0: 2015-11-13 19:37:18 DEBUG juju.apiserver
>>     apiserver.go:261 <- [471] user-admin at local
>>     {"RequestId":3,"Type":"Client","Request":"Run","Params":"'params
>>     redacted'"}
>>     machine-0: 2015-11-13 19:37:18 DEBUG juju.apiserver.client
>>     run.go:155 exec
>>     []*client.RemoteExec{(*client.RemoteExec)(0xc21191f480)}
>>     machine-0: 2015-11-13 19:37:18 DEBUG juju.apiserver.client
>>     run.go:162 exec on 1/lxc/5:
>>     client.RemoteExec{ExecParams:ssh.ExecParams{IdentityFile:"",
>>     Host:"", Command:"juju-run glance-simplestreams-sync/0 'cat
>>     /etc/glance-simplestreams-sync/identity.yaml'",
>>     Timeout:300000000000}, MachineId:"1/lxc/5",
>>     UnitId:"glance-simplestreams-sync/0"}
>>     machine-0: 2015-11-13 19:37:18 DEBUG juju.apiserver.client
>>     run.go:166 reponse from 1/lxc/5: {0 [] []} (err:missing host address)
>>     machine-0: 2015-11-13 19:37:18 DEBUG juju.apiserver
>>     apiserver.go:275 -> [471] user-admin at local 674.899us
>>     {"RequestId":3,"Response":"'body redacted'"} Client[""].Run
>>     machine-0: 2015-11-13 19:37:18 INFO juju.apiserver
>>     apiserver.go:284 [471] user-admin at local API connection terminated
>>     after 34.813135ms
>>     machine-0: 2015-11-13 19:37:21 INFO juju.apiserver
>>     apiserver.go:280 [472] API connection from 127.0.0.1:35039
>>     <http://127.0.0.1:35039>
>>     machine-0: 2015-11-13 19:37:21 DEBUG juju.apiserver utils.go:71
>>     validate env uuid: state server environment -
>>     7e9b3312-0dbd-428d-8771-c802cd0e9d7c
>>     machine-0: 2015-11-13 19:37:21 DEBUG juju.apiserver
>>     apiserver.go:261 <- [472] <unknown>
>>
>> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params
>>     redacted'"}
>>     machine-0: 2015-11-13 19:37:21 DEBUG juju.apiserver admin.go:149
>>     hostPorts: [[localhost:17070 10.0.3.82:17070
>>     <http://10.0.3.82:17070> 10.0.7.1:17070 <http://10.0.7.1:17070>
>>     192.168.122.1:17070 <http://192.168.122.1:17070> 127.0.0.1:17070
>>     <http://127.0.0.1:17070> [::1]:17070]]
>>
>>     machine-0: 2015-11-13 19:37:21 DEBUG juju.apiserver
>>     apiserver.go:275 -> [472] user-admin at local 36.467818ms
>>     {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
>>     machine-0: 2015-11-13 19:37:21 DEBUG juju.apiserver
>>     apiserver.go:261 <- [472] user-admin at local
>>     {"RequestId":3,"Type":"Client","Request":"Run","Params":"'params
>>     redacted'"}
>>     machine-0: 2015-11-13 19:37:21 DEBUG juju.apiserver.client
>>     run.go:155 exec
>>     []*client.RemoteExec{(*client.RemoteExec)(0xc210bb2420)}
>>     machine-0: 2015-11-13 19:37:21 DEBUG juju.apiserver.client
>>     run.go:162 exec on 1/lxc/5:
>>     client.RemoteExec{ExecParams:ssh.ExecParams{IdentityFile:"",
>>     Host:"", Command:"juju-run glance-simplestreams-sync/0 'cat
>>     /etc/glance-simplestreams-sync/identity.yaml'",
>>     Timeout:300000000000}, MachineId:"1/lxc/5",
>>     UnitId:"glance-simplestreams-sync/0"}
>>     machine-0: 2015-11-13 19:37:21 DEBUG juju.apiserver.client
>>     run.go:166 reponse from 1/lxc/5: {0 [] []} (err:missing host address)
>>     machine-0: 2015-11-13 19:37:21 DEBUG juju.apiserver
>>     apiserver.go:275 -> [472] user-admin at local 781.952us
>>     {"RequestId":3,"Response":"'body redacted'"} Client[""].Run
>>     machine-0: 2015-11-13 19:37:21 INFO juju.apiserver
>>     apiserver.go:284 [472] user-admin at local API connection terminated
>>     after 39.009272ms
>>     machine-0: 2015-11-13 19:37:22 DEBUG juju.apiserver
>>     apiserver.go:261 <- [9] user-admin at local
>>
>> {"RequestId":639,"Type":"Client","Request":"FullStatus","Params":"'params
>>     redacted'"}
>>     machine-0: 2015-11-13 19:37:22 DEBUG juju.apiserver.client
>>     status.go:123 Services:
>>     map[nova-cloud-controller:nova-cloud-controller
>>     openstack-dashboard:openstack-dashboard mysql:mysql ntp:ntp
>>     rabbitmq-server:rabbitmq-server keystone:keystone
>>     neutron-gateway:neutron-gateway neutron-api:neutron-api
>>     neutron-openvswitch:neutron-openvswitch
>>     glance-simplestreams-sync:glance-simplestreams-sync glance:glance
>>     nova-compute:nova-compute]
>>     machine-0: 2015-11-13 19:37:22 WARNING juju.apiserver.client
>>     status.go:677 error fetching public address: public no address
>>     machine-0: message repeated 7 times: [2015-11-13 19:37:22 WARNING
>>     juju.apiserver.client status.go:677 error fetching public address:
>>     public no address]
>>     machine-0: 2015-11-13 19:37:22 DEBUG juju.apiserver
>>     apiserver.go:275 -> [9] user-admin at local 76.155173ms
>>     {"RequestId":639,"Response":"'body redacted'"} Client[""].FullStatus
>>     machine-0: 2015-11-13 19:37:23 INFO juju.apiserver
>>     apiserver.go:280 [473] API connection from 127.0.0.1:35040
>>     <http://127.0.0.1:35040>
>>     machine-0: 2015-11-13 19:37:23 DEBUG juju.apiserver utils.go:71
>>     validate env uuid: state server environment -
>>     7e9b3312-0dbd-428d-8771-c802cd0e9d7c
>>     machine-0: 2015-11-13 19:37:23 DEBUG juju.apiserver
>>     apiserver.go:261 <- [473] <unknown>
>>
>> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params
>>     redacted'"}
>>     machine-0: 2015-11-13 19:37:23 DEBUG juju.apiserver admin.go:149
>>     hostPorts: [[localhost:17070 10.0.3.82:17070
>>     <http://10.0.3.82:17070> 10.0.7.1:17070 <http://10.0.7.1:17070>
>>     192.168.122.1:17070 <http://192.168.122.1:17070> 127.0.0.1:17070
>>     <http://127.0.0.1:17070> [::1]:17070]]
>>
>>     machine-0: 2015-11-13 19:37:23 DEBUG juju.apiserver
>>     apiserver.go:275 -> [473] user-admin at local 33.993005ms
>>     {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
>>     machine-0: 2015-11-13 19:37:23 DEBUG juju.apiserver
>>     apiserver.go:261 <- [473] user-admin at local
>>     {"RequestId":3,"Type":"Client","Request":"Run","Params":"'params
>>     redacted'"}
>>     machine-0: 2015-11-13 19:37:23 DEBUG juju.apiserver.client
>>     run.go:155 exec
>>     []*client.RemoteExec{(*client.RemoteExec)(0xc210d7a000)}
>>     machine-0: 2015-11-13 19:37:23 DEBUG juju.apiserver.client
>>     run.go:162 exec on 1/lxc/5:
>>     client.RemoteExec{ExecParams:ssh.ExecParams{IdentityFile:"",
>>     Host:"", Command:"juju-run glance-simplestreams-sync/0 'cat
>>     /etc/glance-simplestreams-sync/identity.yaml'",
>>     Timeout:300000000000}, MachineId:"1/lxc/5",
>>     UnitId:"glance-simplestreams-sync/0"}
>>     machine-0: 2015-11-13 19:37:23 DEBUG juju.apiserver.client
>>     run.go:166 reponse from 1/lxc/5: {0 [] []} (err:missing host address)
>>     machine-0: 2015-11-13 19:37:23 DEBUG juju.apiserver
>>     apiserver.go:275 -> [473] user-admin at local 713.89us
>>     {"RequestId":3,"Response":"'body redacted'"} Client[""].Run
>>     machine-0: 2015-11-13 19:37:23 INFO juju.apiserver
>>     apiserver.go:284 [473] user-admin at local API connection terminated
>>     after 36.200855ms
>>
>>     #######################################################
>>
>>
>>     On 11/13/2015 10:35 AM, Adam Stokes wrote:
>>
>>         Hey Tim,
>>
>>         Im not entirely sure about the Mint issue, the previous issue,
>>         however, looks like the installer failed to talk to the Juju
>>         state server.  What version of Juju do you have installed?
>>
>>         On Fri, Nov 13, 2015 at 11:32 AM, Tim Soderstrom
>>         <ubuntu+openstack at moocowproductions.org
>>         <mailto:ubuntu%2Bopenstack at moocowproductions.org>
>>         <mailto:ubuntu+openstack at moocowproductions.org
>>
>>         <mailto:ubuntu%2Bopenstack at moocowproductions.org>>> wrote:
>>
>>             I'm having trouble using openstack-install both on a fresh
>>         14.04
>>             VM and on my Linux Mint 17.2 desktop.
>>
>>             The former bombed out here:
>>
>>
>> ###################################################################################################
>>
>>
>>             [DEBUG: 11-13 09:16:48, core.py:472] Issued deploy for Neutron
>>             OpenVSwitch
>>             [INFO: 11-13 09:16:48, core.py:586] Checking availa bility of
>>             mysql:pending, keystone:pending,
>>             glance-simplestreams-sync:pending, rabbitmq-server:pending,
>>             neutron-api:pending, openstack-dashboard:pending,
>>         glance:pending,
>>             nova-compute:pending, neutron-gateway:pending,
>>             nova-cloud-controller:pending
>>             [INFO: 11-13 09:19:33, core.py:586] Checking availability of
>>             mysql:pending, keystone:pending,
>>             glance-simplestreams-sync:pending, rabbitmq-server:pending,
>>             neutron-api:pending, openstack-dashboard:pending,
>>         glance:pending,
>>             neutron-gateway:pending, nova-cloud-controller:pending
>>             [INFO: 11-13 09:19:54, core.py:586] Checking availability of
>>             mysql:pending, keystone:pending,
>>             glance-simplestreams-sync:pending, rabbitmq-server:pending,
>>             neutron-api:pending, openstack-dashboard:pending,
>>         glance:pending,
>>             nova-cloud-controller:pending
>>             [ERROR: 11-13 09:21:56, ev.py:145] Exception in ev.run():
>>             Traceback (most recent call last):
>>               File "/usr/share/openstack/cloudinstall/ev.py", line
>>         143, in run
>>                 self.loop.run()
>>               File
>>         "/usr/lib/python3/dist-packages/urwid/main_loop.py", line
>>             274, in run
>>                 self.screen.run_wrapper(self._run)
>>               File
>>         "/usr/lib/python3/dist-packages/urwid/raw_display.py", line
>>             268, in run_wrapper
>>                 return fn()
>>               File
>>         "/usr/lib/python3/dist-packages/urwid/main_loop.py", line
>>             339, in _run
>>                 self.event_loop.run()
>>               File
>>         "/usr/lib/python3/dist-packages/urwid/main_loop.py", line
>>             1002, in run
>>                 raise exc
>>               File
>>         "/usr/lib/python3/dist-packages/urwid/main_loop.py", line
>>             989, in wrapper
>>                 return func(*args, **kw)
>>               File
>>         "/usr/lib/python3/dist-packages/urwid/main_loop.py", line
>>             158, in cb
>>                 callback(self, user_data)
>>               File "/usr/share/openstack/cloudinstall/core.py", line
>>         98, in update
>>                 self.update_node_states()
>>               File "/usr/share/openstack/cloudinstall/core.py", line
>>         114, in
>>             update_node_states
>>                 deployed_services = sorted(self.juju_state.services,
>>               File "/usr/share/openstack/cloudinstall/juju.py", line
>>         197, in
>>             services
>>                 ret = self.status()
>>               File "/usr/share/openstack/cloudinstall/juju.py", line
>>         81, in status
>>                 self._juju_status = self.juju.status()
>>               File "/usr/share/openstack/macumba/__init__.py", line
>>         295, in status
>>                 timeout=60)
>>               File "/usr/share/openstack/macumba/__init__.py", line
>>         282, in call
>>                 req_id = self.conn.do_send(params)
>>               File "/usr/share/openstack/macumba/__init__.py", line
>>         165, in
>>             do_send
>>                 self.send(json.dumps(json_message))
>>               File
>>         "/usr/lib/python3/dist-packages/ws4py/websocket.py", line
>>             257, in send
>>                 message_sender = self.stream.binary_message if binary else
>>             self.stream.text_message
>>             AttributeError: 'NoneType' object has no attribute
>>         'text_message'
>>             [INFO: 11-13 09:21:56, utils.py:85] Cleanup, saving latest
>>         config
>>             object.
>>             [DEBUG: 11-13 09:21:56, utils.py:91] Attempting to reset
>>         the terminal
>>             [INFO: 11-13 09:43:42, openstack-status:104] Starting
>>         deployment
>>             of OpenStack
>>             [INFO: 11-13 09:43:42, openstack-status:122] Running
>>         status within
>>             container
>>             [DEBUG: 11-13 09:43:44, container.py:49] lxc-info found:
>>             '[b'10.0.3.227', b'10.0.6.1', b'192.168.122.1']'
>>             [DEBUG: 11-13 09:43:44, container.py:52] using 10.0.3.227
>>         as the
>>             container ip
>>             [DEBUG: 11-13 09:43:44, container.py:158] Running command
>>         without
>>             waiting for response.: sudo -H -u tim TERM=xterm256-color
>>         ssh -t
>>             -q -l ubuntu -o "StrictHostKeyChecking=no" -o
>>             "UserKnownHostsFile=/dev/null" -o "ControlMaster=auto" -o
>>             "ControlPersist=600" -i /home/tim/.ssh/id_rsa 10.0.3.227
>>             openstack-status
>>             [INFO: 11-13 09:43:45, openstack-status:104] Starting
>>         deployment
>>             of OpenStack
>>             [DEBUG: 11-13 09:43:45, config.py:188] Querying juju env in
>>         /home/ubuntu/.cloud-install/juju/environments/local.jenv
>>             [INFO: 11-13 09:43:45, utils.py:85] Cleanup, saving latest
>>         config
>>             object.
>>             [DEBUG: 11-13 09:43:45, utils.py:91] Attempting to reset
>>         the terminal
>>
>>
>> ###################################################################################################
>>
>>
>>             Note this was on a brand new Ubuntu 14.04.3 install. The
>>         VM had
>>             8GB of RAM, 8GB of swap (additional RAM is still in the
>>         mail), and
>>             2 CPUs. My hope was the swap would be enough to get the
>>         install
>>             going? I didn't see any OOM errors anywhere and, in fact, the
>>             system barely hit swap (the instructions mentioned needing
>>         12GB
>>             for the install).
>>
>>             For Linux Mint, the main container gets built, has internet
>>             acccess, but the commands.log just says:
>>
>>             [DEBUG: 11-13 09:52:01, single.py:310] Waiting for cloud-init
>>             status result
>>
>>             I'm not sure what else to check?
>>
>>             Thanks!
>>
>>             Tim
>>
>>
>>
>>             --     ubuntu-openstack-installer mailing list
>>         ubuntu-openstack-installer at lists.ubuntu.com
>>         <mailto:ubuntu-openstack-installer at lists.ubuntu.com>
>>             <mailto:ubuntu-openstack-installer at lists.ubuntu.com
>>         <mailto:ubuntu-openstack-installer at lists.ubuntu.com>>
>>             Modify settings or unsubscribe at:
>>
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-openstack-installer
>>
>>
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-openstack-installer/attachments/20151113/2de60433/attachment-0001.html>


More information about the ubuntu-openstack-installer mailing list