Revision history [back]

click to hide/show revision 1
initial version

ERROR: HTTPConnectionPool(host='192.168.78.145', port=8774): Max retries exceeded with url: /v2/6bf0bcb4a1e145afa699f0660b7505ae/os-networks (Caused by <class 'socket.error'="">: [Errno 111] Connection refused)

Hi,

I am new to OpenStack.

I am doing a single node node OpenStack setup (Control and Compute) for POC purpose. My document reference is : http://docs.openstack.org/icehouse/install-guide/install/apt/content/ ....

Till nova-compute service configuration every thing went fine. the "nova -list" commands were working fine. Soon after I configured "nova netwrok" by following the document "http://docs.openstack.org/icehouse/install-guide/install/apt/content/ch_networking.html". adding the necessary attributes in "/etc/nova/nova.conf*".

tried to execute the command:

"nova network-create demo-net --bridge br100 --multi-host T --fixed-range-v4 192.168.10.24/29"

The error I got is:

"ERROR: HTTPConnectionPool(host='192.168.78.145', port=8774): Max retries exceeded with url: /v2/6bf0bcb4a1e145afa699f0660b7505ae/os-networks (Caused by <class 'socket.error'>: [Errno 111] Connection refused)"

my /etc/nova/nova.conf file details:

*root@openstackone:~# cat /etc/nova/nova.conf
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
flat_network_bridge = br100
flat_interface = eth0
public_interface = eth0
rpc_backend = rabbit
rabbit_host = 192.168.78.145
rabbit_password = rabb_pass
my_ip = 192.168.10.134
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 192.168.10.134
ovncproxy_base_url = http://192.168.78.145:6080/vnc_auto.html
auth_strategy = keystone
glance_host = 192.168.78.145
network_api_class = nova.network.api.API
security_group_api = nova
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
network_manager = nova.network.manager.FlatDHCPManager
network_size = 254
allow_same_net_traffic = False
multi_host = True
send_arp_for_ha = True
share_dhcp_address = True
[database]
connection = mysql://nova:nova_db_pass@192.168.78.145/nova
[keystone_authtoken]
auth_uri = http://192.168.78.145:5000
auth_host = 192.168.78.145
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = nova_db_pass*

Service Status:

root@openstackone:/var/log/nova# ps -ef|grep nova
nova      1909     1  1 21:26 ?        00:01:04 /usr/bin/python /usr/bin/nova-api-metadata --config-file=/etc/nova/nova.conf
nova      1911     1  0 21:26 ?        00:00:05 /usr/bin/python /usr/bin/nova-cert --config-file=/etc/nova/nova.conf
nova      1916     1  0 21:26 ?        00:00:05 /usr/bin/python /usr/bin/nova-consoleauth --config-file=/etc/nova/nova.conf
nova      1917     1  1 21:26 ?        00:01:04 /usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf
nova      1919     1  0 21:26 ?        00:00:07 /usr/bin/python /usr/bin/nova-network --config-file=/etc/nova/nova.conf
nova      1921     1  0 21:26 ?        00:00:05 /usr/bin/python /usr/bin/nova-scheduler --config-file=/etc/nova/nova.conf
nova      1923     1  0 21:26 ?        00:00:02 /usr/bin/python /usr/bin/nova-novncproxy --config-file=/etc/nova/nova.conf
nova      1975     1  0 21:26 ?        00:00:14 /usr/bin/python /usr/bin/nova-compute --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf
nova      2327  1917  0 21:26 ?        00:00:09 /usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf
nova      2329  1917  0 21:26 ?        00:00:09 /usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf
nova      2331  1917  0 21:26 ?        00:00:09 /usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf
nova      2332  1917  0 21:26 ?        00:00:10 /usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf
nova      2344  1909  0 21:26 ?        00:00:00 /usr/bin/python /usr/bin/nova-api-metadata --config-file=/etc/nova/nova.conf
nova      2345  1909  0 21:26 ?        00:00:00 /usr/bin/python /usr/bin/nova-api-metadata --config-file=/etc/nova/nova.conf
nova      2346  1909  0 21:26 ?        00:00:00 /usr/bin/python /usr/bin/nova-api-metadata --config-file=/etc/nova/nova.conf
nova      2347  1909  0 21:26 ?        00:00:00 /usr/bin/python /usr/bin/nova-api-metadata --config-file=/etc/nova/nova.conf
root      4186  2682  0 22:36 pts/0    00:00:00 grep --color=auto nova
root@openstackone:/var/log/nova#

**keystone service:**
root@openstackone:/var/log/nova# ps -ef|grep keystone
keystone  1819     1  0 21:26 ?        00:00:01 /usr/bin/python /usr/bin/keystone-all
root      4196  2682  0 22:37 pts/0    00:00:00 grep --color=auto keystone

**glance service:**
root@openstackone:/etc/glance# ps -ef|grep glance
glance    1827     1  0 21:26 ?        00:00:00 /usr/bin/python /usr/bin/glance-registry
glance    1838     1  0 21:26 ?        00:00:01 /usr/bin/python /usr/bin/glance-api
glance    2256  1827  0 21:26 ?        00:00:00 /usr/bin/python /usr/bin/glance-registry
glance    2321  1838  0 21:26 ?        00:00:00 /usr/bin/python /usr/bin/glance-api
root      4239  2682  0 22:40 pts/0    00:00:00 grep --color=auto glance

System Networking info:

root@openstackone:/etc/glance# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0c:29:a6:d4:e2
          inet addr:192.168.10.134  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fea6:d4e2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:602 errors:0 dropped:0 overruns:0 frame:0
          TX packets:151 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:58859 (58.8 KB)  TX bytes:19892 (19.8 KB)
          Interrupt:16 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:0c:29:a6:d4:d8
          inet addr:192.168.78.145  Bcast:192.168.78.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fea6:d4d8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2111 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1416 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:198983 (198.9 KB)  TX bytes:243401 (243.4 KB)

I request, it will be great if somebody help in resolving the issue.

Please let me know, if you required any more info.

I followed some links before posting my question.

"https://ask.openstack.org/en/question/28214/error-httpconnectionpoolhostcontroller-port8774-max-retries-exceeded-with-url-v2e843a13455614b638973dd0f6239a04os-networks-caused-by-class-socketerror/"

"https://ask.openstack.org/en/question/9783/nova-list-error-httpconnectionpoolhostopenstackcloud1-port35357-max-retries-exceeded-with-url-v20tokens-caused-by-class-socketerror-errno-111/"