Ask Your Question
1

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)

asked 2014-06-24 12:25:04 -0600

Ranjan gravatar image

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/ (http://docs.openstack.org/icehouse/in...) ....

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 ...
(more)
edit retag flag offensive close merge delete

Comments

Which page talks about openstack installation on a single node?I have been going through the documentation all i can see the Legacy(Two Nodes) and the Three Node architecture.

LightMan gravatar imageLightMan ( 2014-12-11 19:43:43 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-09 06:59:33 -0600

nova-api-metadata service is not needed in a single-host configuration. Just try to remove it. Also re-install nova-api service if it will not start.

nova.conf:

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

force_dhcp_release=True

flat_network_bridge=br100

flat_interface=eth0

public_interface=eth0
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

3 followers

Stats

Asked: 2014-06-24 12:25:04 -0600

Seen: 1,838 times

Last updated: Jun 24 '14