Activity log for bug #1459169

Date Who What changed Old value New value Message
2015-05-27 09:28:58 YangLei bug added bug
2015-05-27 09:29:09 YangLei openstack-chef: assignee YangLei (yanglyy)
2015-05-27 09:34:41 YangLei description registry_host in glance-api.conf need equal bind_host in glance-registry.conf, otherwise glance-api will raise Exception ClientConnectionError. [root@controller ~]# grep registry_host /etc/glance/glance-api.conf #registry_host = 0.0.0.0 registry_host = 10.6.1.108 [root@controller ~]# grep bind_host /etc/glance/glance-registry.conf #bind_host = 0.0.0.0 bind_host = 127.0.0.1 [root@controller ~]# ./openstack-common/attributes/default.rb:default['openstack']['endpoints']['image-registry-bind']['host'] = node['openstack']['endpoints']['bind-host'] ./openstack-common/attributes/default.rb:default['openstack']['endpoints']['image-registry']['host'] = node['openstack']['endpoints']['host'] -----------------------error [root@controller glance]# netstat -anp | grep 9191 tcp 0 0 127.0.0.1:9191 0.0.0.0:* LISTEN 31170/python [root@controller glance]# ps -ef | grep 31170 glance 31170 1 0 11:57 ? 00:00:04 /usr/bin/python /usr/bin/glance-registry --config-file /etc/glance/glance-registry.conf --log-file /var/log/glance/registry.log glance 31189 31170 0 11:58 ? 00:00:00 /usr/bin/python /usr/bin/glance-registry --config-file /etc/glance/glance-registry.conf --log-file /var/log/glance/registry.log glance 31190 31170 0 11:58 ? 00:00:00 /usr/bin/python /usr/bin/glance-registry --config-file /etc/glance/glance-registry.conf --log-file /var/log/glance/registry.log root 32199 26536 0 12:05 pts/1 00:00:00 grep --color=auto 31170 [root@controller glance]# [root@controller glance]# wget http://10.6.1.108:9191/images/detail --2015-05-07 12:04:25-- http://10.6.1.108:9191/images/detail Connecting to 10.6.1.108:9191... failed: Connection refused. [root@controller glance]# wget http://127.0.0.1:9191/images/detail --2015-05-07 12:04:36-- http://127.0.0.1:9191/images/detail Connecting to 127.0.0.1:9191... connected. HTTP request sent, awaiting response... 401 Unauthorized Authorization failed. [root@controller glance]# 2015-05-07 12:00:39.177 31573 DEBUG glance.common.client [req-fed3038e-7d56-4f3a-8cb7-2ae3191374f9 a40f86695f5e4787b64c6565f4a22682 a15ca35b95b0486d9832743bc2d5a3f0 - - -] GL-A8EF472 Constructed URL: http://10.6.1.108:9191/images/detail?is_public=none&limit=500 _construct_url /usr/lib/python2.7/site-packages/glance/common/client.py:401 2015-05-07 12:00:39.182 31573 ERROR glance.registry.client.v1.client [req-fed3038e-7d56-4f3a-8cb7-2ae3191374f9 a40f86695f5e4787b64c6565f4a22682 a15ca35b95b0486d9832743bc2d5a3f0 - - -] Registry client request GET /images/detail raised ClientConnectionError 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client Traceback (most recent call last): 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 117, in do_request 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client **kwargs) 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 71, in wrapped 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client return func(self, *args, **kwargs) 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 376, in do_request 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client headers=copy.deepcopy(headers)) 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 88, in wrapped 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client return func(self, method, url, body, headers) 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 542, in _do_request 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client raise exception.ClientConnectionError(e) 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client ClientConnectionError: [Errno 111] ECONNREFUSED 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client 2 registry_host in glance-api.conf need equal bind_host in glance-registry.conf by default, otherwise glance-api will raise Exception ClientConnectionError. [root@controller ~]# grep registry_host /etc/glance/glance-api.conf #registry_host = 0.0.0.0 registry_host = 10.6.1.108 [root@controller ~]# grep bind_host /etc/glance/glance-registry.conf #bind_host = 0.0.0.0 bind_host = 127.0.0.1 [root@controller ~]# ./openstack-common/attributes/default.rb:default['openstack']['endpoints']['image-registry-bind']['host'] = node['openstack']['endpoints']['bind-host'] ./openstack-common/attributes/default.rb:default['openstack']['endpoints']['image-registry']['host'] = node['openstack']['endpoints']['host'] -----------------------error [root@controller glance]# netstat -anp | grep 9191 tcp 0 0 127.0.0.1:9191 0.0.0.0:* LISTEN 31170/python [root@controller glance]# ps -ef | grep 31170 glance 31170 1 0 11:57 ? 00:00:04 /usr/bin/python /usr/bin/glance-registry --config-file /etc/glance/glance-registry.conf --log-file /var/log/glance/registry.log glance 31189 31170 0 11:58 ? 00:00:00 /usr/bin/python /usr/bin/glance-registry --config-file /etc/glance/glance-registry.conf --log-file /var/log/glance/registry.log glance 31190 31170 0 11:58 ? 00:00:00 /usr/bin/python /usr/bin/glance-registry --config-file /etc/glance/glance-registry.conf --log-file /var/log/glance/registry.log root 32199 26536 0 12:05 pts/1 00:00:00 grep --color=auto 31170 [root@controller glance]# [root@controller glance]# wget http://10.6.1.108:9191/images/detail --2015-05-07 12:04:25-- http://10.6.1.108:9191/images/detail Connecting to 10.6.1.108:9191... failed: Connection refused. [root@controller glance]# wget http://127.0.0.1:9191/images/detail --2015-05-07 12:04:36-- http://127.0.0.1:9191/images/detail Connecting to 127.0.0.1:9191... connected. HTTP request sent, awaiting response... 401 Unauthorized Authorization failed. [root@controller glance]# 2015-05-07 12:00:39.177 31573 DEBUG glance.common.client [req-fed3038e-7d56-4f3a-8cb7-2ae3191374f9 a40f86695f5e4787b64c6565f4a22682 a15ca35b95b0486d9832743bc2d5a3f0 - - -] GL-A8EF472 Constructed URL: http://10.6.1.108:9191/images/detail?is_public=none&limit=500 _construct_url /usr/lib/python2.7/site-packages/glance/common/client.py:401 2015-05-07 12:00:39.182 31573 ERROR glance.registry.client.v1.client [req-fed3038e-7d56-4f3a-8cb7-2ae3191374f9 a40f86695f5e4787b64c6565f4a22682 a15ca35b95b0486d9832743bc2d5a3f0 - - -] Registry client request GET /images/detail raised ClientConnectionError 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client Traceback (most recent call last): 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 117, in do_request 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client **kwargs) 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 71, in wrapped 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client return func(self, *args, **kwargs) 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 376, in do_request 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client headers=copy.deepcopy(headers)) 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 88, in wrapped 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client return func(self, method, url, body, headers) 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 542, in _do_request 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client raise exception.ClientConnectionError(e) 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client ClientConnectionError: [Errno 111] ECONNREFUSED 2015-05-07 12:00:39.182 31573 TRACE glance.registry.client.v1.client 2
2015-05-27 09:35:08 YangLei openstack-chef: assignee YangLei (yanglyy)
2015-05-27 09:35:12 YangLei openstack-chef: assignee YangLei (yanglyy)
2015-05-28 14:23:21 Mark Vanderwiel summary registry_host in glance-api.conf is different from bind_host in glance-registry.conf [image] registry_host in glance-api.conf is different from bind_host in glance-registry.conf
2015-05-28 14:23:29 Mark Vanderwiel tags image
2015-05-28 14:24:56 Mark Vanderwiel openstack-chef: importance Undecided Medium
2015-05-28 14:24:58 Mark Vanderwiel openstack-chef: status New Confirmed
2015-05-28 14:25:02 Mark Vanderwiel openstack-chef: milestone kilo-rc1
2015-05-29 01:53:03 OpenStack Infra openstack-chef: status Confirmed In Progress
2015-06-04 20:26:16 OpenStack Infra openstack-chef: assignee YangLei (yanglyy) Mark Vanderwiel (vanderwl)
2015-06-05 07:36:29 OpenStack Infra openstack-chef: assignee Mark Vanderwiel (vanderwl) YangLei (yanglyy)
2015-08-26 16:27:26 Mark Vanderwiel openstack-chef: status In Progress Incomplete
2015-08-26 16:27:31 Mark Vanderwiel openstack-chef: milestone kilo-rc1
2015-08-26 16:45:09 Mark Vanderwiel openstack-chef: importance Medium Undecided