Ask Your Question
0

Can't Ping VM instances, but VMs can ping each other

asked 2015-06-09 16:11:03 -0500

Laxman2809 gravatar image

Hello all I am new to the Openstack world and have been having a trouble getting connectivity to and from my VM instances. I am unable to ping them from the outside, but the VMs create can ping each other.

I have installed Openstack in single node configuration using the Openstack-installer, using Juno. I do not know what .conf file needed to help being trouble shooting so I am going to provide some basic ones and if more are required I can add them later.

Thanks in advance for your help I am only cracking the surface into Openstack and am hoping to delve further into it.

Controller node neutron.conf

[DEFAULT]
state_path = /var/lib/neutron
lock_path = $state_path/lock
bind_host = 0.0.0.0
auth_strategy = keystone
notification_driver = neutron.openstack.common.notifier.rpc_notifier
api_workers = 2
use_syslog = False

bind_port = 9686
core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.firewall.fwaas_plugin.FirewallPlugin,neutron.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.vpn.plugin.VPNDriverPlugin,neutron.services.metering.metering_plugin.MeteringPlugin
allow_overlapping_ips = True
neutron_firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
rabbit_userid = nova
rabbit_virtual_host = openstack
rabbit_password = FWxn6xYzXb5ScpPnShxmfNF7TktLzcc74mctfY4GW5fZBZZyBX63NrrdT9YyZY38
rabbit_host = 10.0.4.72


notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
nova_url = http://10.0.4.81:8774/v2
nova_region_name = RegionOne
nova_admin_username = s3_ec2_nova
nova_admin_tenant_id = 5e85fecd26da46c9bc6c9a43fb023e4f
nova_admin_password = x9JMmw5BytwMht6scPqtZpzSMFZfpBB4gf9h8RxTLLHX8y8qzkjF9k98KRHK82h8
nova_admin_auth_url = http://10.0.4.125:35357/v2.0
[quotas]
quota_driver = neutron.db.quota_db.DbQuotaDriver
quota_items = network,subnet,port,security_group,security_group_rule
[agent]
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf

[keystone_authtoken]
signing_dir = $state_path/keystone-signing
service_protocol = http
service_host = 10.0.4.125
service_port = 5000
auth_host = 10.0.4.125
auth_port = 35357
auth_protocol =  http
admin_tenant_name = services
admin_user = s3_ec2_nova
admin_password = x9JMmw5BytwMht6scPqtZpzSMFZfpBB4gf9h8RxTLLHX8y8qzkjF9k98KRHK82h8
[database]
connection = mysql://neutron:pv2CkdMR4G8nRfE1@10.0.4.187/neutron


[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
service_provider=FIREWALL:Iptables:neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver:default

Controller nova.conf

    [DEFAULT]
verbose=False
debug=False
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
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
auth_strategy=keystone
compute_driver=libvirt.LibvirtDriver
use_ipv6 = False
osapi_compute_listen = 0.0.0.0
metadata_host = 0.0.0.0
s3_listen = 0.0.0.0
ec2_listen = 0.0.0.0

osapi_compute_workers = 2
ec2_workers = 2

scheduler_default_filters = RetryFilter,AvailabilityZoneFilter,CoreFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
cpu_allocation_ratio = 16
ram_allocation_ratio = 1.5

use_syslog=False
my_ip = 10.0.4.81



keystone_ec2_url = http://10.0.4.125:5000/v2.0/ec2tokens
rabbit_userid = nova
rabbit_virtual_host = openstack
rabbit_password = FWxn6xYzXb5ScpPnShxmfNF7TktLzcc74mctfY4GW5fZBZZyBX63NrrdT9YyZY38
rabbit_host = 10.0.4.72


glance_api_servers = http://10.0.4.177:9292
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
libvirt_user_virtio_for_bridges =  True
security_group_api = neutron
nova_firewall_driver = nova.virt.firewall.NoopFirewallDriver
default_floating_pool = ext_net
network_api_class = nova.network.neutronv2.api.API
neutron_url = http://10.0.4.140:9696
neutron_auth_strategy = keystone
neutron_admin_tenant_name = services
neutron_admin_username = s3_ec2_nova
neutron_admin_password = x9JMmw5BytwMht6scPqtZpzSMFZfpBB4gf9h8RxTLLHX8y8qzkjF9k98KRHK82h8
neutron_admin_auth_url = http://10.0.4.125:35357/v2.0
s3_listen_port = 3323
osapi_compute_listen_port ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-06-15 12:49:33 -0500

jdiaz9 gravatar image

What IP address are you using to ping the instance? If you are using the floating IP then you will need to open up the ICMP rule in the security group in order to ping successfully.

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: 2015-06-09 16:11:03 -0500

Seen: 368 times

Last updated: Jun 15 '15