Ask Your Question
0

Nova service port 8774

asked 2016-05-29 00:57:48 -0500

Edulabs.openstack gravatar image

Hi I am using ubuntu for two node installation , My keystone Service and image service are running fine . unfortunately I am getting on issue in nova service when I ran nova image-list , it gives me given below issue . I am trying to solve this issue from last days but no luck . controller@controller-Standard-PC-i440FX-PIIX-1996:~$ nova image-listERROR (ConnectionRefused): Unable to establish connection to http://controller:8774/v2/

i checked all services and they are running fine , also checked conf file it seems that they are also fine . Please let me know if someone can help and give some pointer to solve

controller@controller-Standard-PC-i440FX-PIIX-1996:~$ nova image-listERROR (ConnectionRefused): Unable to establish connection to http://controller:8774/v2/

edit retag flag offensive close merge delete

Comments

$ netstat -antp | grep 8774
$ iptables-save | grep 8774

dbaxps gravatar imagedbaxps ( 2016-05-29 04:08:24 -0500 )edit

Thanks Boris .. seems it is not listening on port 8774.. what is the solution

controller@controller-Standard-PC-i440FX-PIIX-1996:~$ sudo netstat -antp | grep 8774
controller@controller-Standard-PC-i440FX-PIIX-1996:~$ iptables-save | grep 8774
controller@controller-Standard-PC-i440FX-PIIX-1996:~$
Edulabs.openstack gravatar imageEdulabs.openstack ( 2016-05-29 08:46:54 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-05-29 08:52:56 -0500

Edulabs.openstack gravatar image

my etc/nova/nova.conf

[database] connection = mysql+pymysql://nova:navita12@192.168.122.221/nova

[DEFAULT] my_ip = 192.168.122.221

network_api_class = nova.network.neutronv2.api.API security_group_api = neutron linuxnet_interface_driver = nova.network.linux_net.NeutronLinuxBridgeInterfaceDriver firewall_driver = nova.virt.firewall.NoopFirewallDriver

auth_strategy = keystone rpc_backend = rabbit

[oslo_messaging_rabbit] rabbit_host = 192.168.122.221 rabbit_userid = openstack rabbit_password = navita12

dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge log_dir=/var/log/nova state_path=/var/lib/nova

lock_path=/var/lock/nova force_dhcp_release=True libvirt_use_virtio_for_bridges=True verbose=True

ec2_private_dns_show_ip=True api_paste_config=/etc/nova/api-paste.ini enabled_apis=ec2,osapi_compute,metadata

[keystone_authtoken] auth_uri = http://controller:5000 auth_url = http://controller:35357 auth_plugin = password project_domain_id = default user_domain_id = default project_name = service username = nova password = navita12

[glance] host = 192.168.122.221

[oslo_concurrency] lock_path = /var/lib/nova/tmp [vnc]

vncserver_listen =192.168.122.221 vncserver_proxyclient_address = 192.168.122.221

[glance] host = 192.168.122.221

[oslo_concurrency] lock_path = /var/lib/nova/tmp

[DEFAULT] enabled_apis=osapi_compute,metadata

[DEFAULT] verbose = True

[neutron]

url = http://controller:9696 auth_url = http://controller:35357 auth_plugin = password project_domain_id = default user_domain_id = default region_name = RegionOne project_name = service username = neutron password = navita12

service_metadata_proxy = True metadata_proxy_shared_secret = navita12

edit flag offensive delete link more
0

answered 2016-05-29 10:49:53 -0500

dbaxps gravatar image

updated 2016-05-29 11:01:18 -0500

Troubleshooting like

$ netstat -antp | grep 8774
$ iptables-save | grep 8774

Resolves the issue.
Solution is

1. Start openstack-nova-api service
2. Open port 8774 ( iptables or firewalld, whichever you are using )
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

1 follower

Stats

Asked: 2016-05-29 00:57:48 -0500

Seen: 4,171 times

Last updated: May 29 '16