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 = 8764
ec2_listen_port = 8763
[database]
connection = mysql://nova:Xc5dqqAi4DL1WTxv@10.0.4.187/nova
max_pool_size = 2
[keystone_authtoken]
auth_uri = http://10.0.4.125: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
[osapi_v3]
enabled=True
[conductor]
workers = 2
Neutron node commands for networking configurations
ip netns
qrouter-03f0e021-c5c0-47a8-93c3-ee8b676fb305
qdhcp-cb965ec2-c851-4354-8349-35cb733895b1
(neutron) agent-list
+--------------------------------------+--------------------+--------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+--------------------------------------+--------------------+--------+-------+----------------+---------------------------+
| 926b4d0e-c767-4a0e-9b27-13564ca3b144 | DHCP agent | ubuntu | :-) | True | neutron-dhcp-agent |
| baac5e88-075a-4073-bbea-ebae572ce4e4 | L3 agent | ubuntu | :-) | True | neutron-l3-agent |
| bcd038b1-4e07-4825-87e0-029c22cb0f85 | Open vSwitch agent | ubuntu | :-) | True | neutron-openvswitch-agent |
| cd85b8c3-92f8-467e-b0e4-66104be470a0 | Metering agent | ubuntu | :-) | True | neutron-metering-agent |
| e338f50d-4f3f-420a-b6e1-bda3d2971ada | Loadbalancer agent | ubuntu | :-) | True | neutron-lbaas-agent |
| f6e88563-5af3-4c7a-82ed-5ad4348d5423 | Metadata agent | ubuntu | :-) | True | neutron-metadata-agent |
+--------------------------------------+--------------------+--------+-------+----------------+---------------------------+
(neutron) net-list
+--------------------------------------+---------+--------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------+--------------------------------------------------+
| cb965ec2-c851-4354-8349-35cb733895b1 | ext-net | cfb304e3-9a8e-4ebd-bdd8-5d43ec880eaa 10.0.4.0/24 |
+--------------------------------------+---------+--------------------------------------------------+
(neutron) agent-list
+--------------------------------------+--------------------+--------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+--------------------------------------+--------------------+--------+-------+----------------+---------------------------+
| 926b4d0e-c767-4a0e-9b27-13564ca3b144 | DHCP agent | ubuntu | :-) | True | neutron-dhcp-agent |
| baac5e88-075a-4073-bbea-ebae572ce4e4 | L3 agent | ubuntu | :-) | True | neutron-l3-agent |
| bcd038b1-4e07-4825-87e0-029c22cb0f85 | Open vSwitch agent | ubuntu | :-) | True | neutron-openvswitch-agent |
| cd85b8c3-92f8-467e-b0e4-66104be470a0 | Metering agent | ubuntu | :-) | True | neutron-metering-agent |
| e338f50d-4f3f-420a-b6e1-bda3d2971ada | Loadbalancer agent | ubuntu | :-) | True | neutron-lbaas-agent |
| f6e88563-5af3-4c7a-82ed-5ad4348d5423 | Metadata agent | ubuntu | :-) | True | neutron-metadata-agent |
+--------------------------------------+--------------------+--------+-------+----------------+---------------------------+
ubuntu@ubuntu:~$ sudo ovs-vsctl show
564fbbbe-1fc2-412e-95cc-3ea20294b00b
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "eth0"
Interface "eth0"
Bridge br-tun
fail_mode: secure
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port "gre-0a000423"
Interface "gre-0a000423"
type: gre
options: {df_default="true", in_key=flow, local_ip="10.0.4.45", out_key=flow, remote_ip="10.0.4.35"}
Bridge br-data
Port br-data
Interface br-data
type: internal
Port phy-br-data
Interface phy-br-data
type: patch
options: {peer=int-br-data}
Bridge br-int
fail_mode: secure
Port "tapfb41f8b6-4f"
tag: 1
Interface "tapfb41f8b6-4f"
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "tapb2717522-76"
tag: 1
Interface "tapb2717522-76"
Port int-br-data
Interface int-br-data
type: patch
options: {peer=phy-br-data}
Port br-int
Interface br-int
type: internal
ovs_version: "2.0.2"
↧