## cli fails:
ubuntu@beisner-bastion:~/bzr/openstack-charm-testing⟫ cinder list
ERROR: Unable to establish connection: HTTPConnectionPool(host='10.5.3.84', port=8776): Max retries exceeded with url: /v1/aa14bdc59aea4e0a9368a954e1f4b464/volumes/detail (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
## fyi other cloud cli ok
ubuntu@beisner-bastion:~/bzr/openstack-charm-testing⟫ nova list
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
ubuntu@juju-beis0-machine-5:/var/log/cinder$ uname -a
Linux juju-beis0-machine-5 3.2.0-74-virtual #109-Ubuntu SMP Tue Dec 9 17:04:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@juju-beis0-machine-5:/var/log/cinder$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
## connectivity is good
1 ubuntu@beisner-bastion:~/bzr/openstack-charm-testing⟫ ping -c 2 10.5.3.84
PING 10.5.3.84 (10.5.3.84) 56(84) bytes of data.
64 bytes from 10.5.3.84: icmp_seq=1 ttl=64 time=1.16 ms
64 bytes from 10.5.3.84: icmp_seq=2 ttl=64 time=0.385 ms
--- 10.5.3.84 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.385/0.774/1.164/0.390 ms
ubuntu@beisner-bastion:~/bzr/openstack-charm-testing⟫ ssh 10.5.3.84
Warning: Permanently added '10.5.3.84' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-74-virtual x86_64)
cinder is not binding to tcp 8776 on precise
## cli fails: beisner- bastion: ~/bzr/openstack -charm- testing⟫ cinder list ool(host= '10.5.3. 84', port=8776): Max retries exceeded with url: /v1/aa14bdc59ae a4e0a9368a954e1 f4b464/ volumes/ detail (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
ubuntu@
ERROR: Unable to establish connection: HTTPConnectionP
## fyi other cloud cli ok beisner- bastion: ~/bzr/openstack -charm- testing⟫ nova list -----+- ------- +------ ------+ ------- ------+ ------- ---+ -----+- ------- +------ ------+ ------- ------+ ------- ---+ -----+- ------- +------ ------+ ------- ------+ ------- ---+
ubuntu@
+----+-
| ID | Name | Status | Task State | Power State | Networks |
+----+-
+----+-
## keystone service-list && keystone endpoint-list: paste.ubuntu. com/9553373/
http://
## cinder unit log service: 29: Wrote template /etc/haproxy/ haproxy. cfg. service- relation- changed Site openstack_ https_frontend already disabled service- relation- changed cinder-api stop/waiting service- relation- changed cinder-api start/running, process 16101 service- relation- changed cinder-volume stop/waiting service- relation- changed cinder-volume start/running, process 16111 service- relation- changed cinder-scheduler stop/waiting service- relation- changed cinder-scheduler start/running, process 16121 service- relation- changed * Restarting haproxy haproxy service- relation- changed [ALERT] 350/184237 (16125) : Starting frontend tcp-in_cinder_api: cannot bind socket service- relation- changed ...fail! backend- relation- joined relation- joined relation- joined api-paste. ini cinder. conf haproxy. cfg sites-available /openstack_ https_frontend backend- relation- joined - skipping.
2014-12-17 18:42:37 INFO juju-log identity-
2014-12-17 18:42:37 INFO identity-
2014-12-17 18:42:37 INFO identity-
2014-12-17 18:42:37 INFO identity-
2014-12-17 18:42:37 INFO identity-
2014-12-17 18:42:37 INFO identity-
2014-12-17 18:42:37 INFO identity-
2014-12-17 18:42:37 INFO identity-
2014-12-17 18:42:37 INFO identity-
2014-12-17 18:42:37 INFO identity-
2014-12-17 18:42:37 INFO identity-
Reading package lists... Doneage-
Building dependency tree e-backend-
Reading state information... Donebackend-
2014-12-17 18:42:42 INFO juju-log storage-backend:30: Registered config file: /etc/cinder/
2014-12-17 18:42:42 INFO juju-log storage-backend:30: Registered config file: /etc/cinder/
2014-12-17 18:42:42 INFO juju-log storage-backend:30: Registered config file: /etc/haproxy/
2014-12-17 18:42:42 INFO juju-log storage-backend:30: Registered config file: /etc/apache2/
2014-12-17 18:42:42 INFO juju-log storage-backend:30: [cinder] Unknown hook storage-
## cinder unit net stat juju-beis0- machine- 5:/var/ log/cinder$ sudo netstat -taupn
ubuntu@
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 10883/apache2
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 800/sshd
tcp 0 0 0.0.0.0:3260 0.0.0.0:* LISTEN 7868/tgtd
tcp 0 0 0.0.0.0:8766 0.0.0.0:* LISTEN 16578/python
tcp 0 0 10.5.3.84:32987 10.5.3.90:3306 ESTABLISHED 16621/python
tcp 0 240 10.5.3.84:22 10.5.3.80:56387 ESTABLISHED 16902/sshd: ubuntu
tcp 0 0 10.5.3.84:44890 10.5.3.80:17070 ESTABLISHED 4261/jujud
tcp 0 0 10.5.3.84:32986 10.5.3.90:3306 ESTABLISHED 16598/python
tcp 0 0 10.5.3.84:51008 10.5.3.97:5672 ESTABLISHED 16598/python
tcp 0 0 10.5.3.84:44894 10.5.3.80:17070 ESTABLISHED 4310/jujud
tcp 0 0 10.5.3.84:51010 10.5.3.97:5672 ESTABLISHED 16621/python
tcp 0 0 10.5.3.84:44946 10.5.3.80:17070 ESTABLISHED 11031/jujud
tcp 0 0 10.5.3.84:47952 10.5.3.80:6514 ESTABLISHED 11116/rsyslogd
tcp 0 0 10.5.3.84:51011 10.5.3.97:5672 ESTABLISHED 16621/python
tcp 0 0 10.5.3.84:51004 10.5.3.97:5672 ESTABLISHED 16598/python
tcp6 0 0 :::22 :::* LISTEN 800/sshd
tcp6 0 0 :::3260 :::* LISTEN 7868/tgtd
udp 0 0 0.0.0.0:68 0.0.0.0:* 585/dhclient3
## cinder unit versions juju-beis0- machine- 5:/var/ log/cinder$ apt-cache policy cinder-api cinder-common python-cinder 1.3-0ubuntu1~ cloud0 1.3-0ubuntu1~ cloud0 1.3-0ubuntu1~ cloud0 0 ubuntu- cloud.archive. canonical. com/ubuntu/ precise- updates/ icehouse/ main amd64 Packages dpkg/status 1.3-0ubuntu1~ cloud0 1.3-0ubuntu1~ cloud0 1.3-0ubuntu1~ cloud0 0 ubuntu- cloud.archive. canonical. com/ubuntu/ precise- updates/ icehouse/ main amd64 Packages dpkg/status 1.3-0ubuntu1~ cloud0 1.3-0ubuntu1~ cloud0 1.3-0ubuntu1~ cloud0 0 ubuntu- cloud.archive. canonical. com/ubuntu/ precise- updates/ icehouse/ main amd64 Packages dpkg/status
ubuntu@
cinder-api:
Installed: 1:2014.
Candidate: 1:2014.
Version table:
*** 1:2014.
500 http://
100 /var/lib/
cinder-common:
Installed: 1:2014.
Candidate: 1:2014.
Version table:
*** 1:2014.
500 http://
100 /var/lib/
python-cinder:
Installed: 1:2014.
Candidate: 1:2014.
Version table:
*** 1:2014.
500 http://
100 /var/lib/
ubuntu@ juju-beis0- machine- 5:/var/ log/cinder$ uname -a machine- 5 3.2.0-74-virtual #109-Ubuntu SMP Tue Dec 9 17:04:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Linux juju-beis0-
ubuntu@ juju-beis0- machine- 5:/var/ log/cinder$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
## connectivity is good beisner- bastion: ~/bzr/openstack -charm- testing⟫ ping -c 2 10.5.3.84
1 ubuntu@
PING 10.5.3.84 (10.5.3.84) 56(84) bytes of data.
64 bytes from 10.5.3.84: icmp_seq=1 ttl=64 time=1.16 ms
64 bytes from 10.5.3.84: icmp_seq=2 ttl=64 time=0.385 ms
--- 10.5.3.84 ping statistics --- 774/1.164/ 0.390 ms
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.385/0.
ubuntu@ beisner- bastion: ~/bzr/openstack -charm- testing⟫ ssh 10.5.3.84
Warning: Permanently added '10.5.3.84' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-74-virtual x86_64)