Ask Your Question
0

Flat Network Issue - Port Status showing down

asked 2014-10-27 10:28:18 -0500

senyapsudah gravatar image

Hi Guys,

i have one issue, currently testing new JUNO. i have two server currently 1 act as controller and compute and another as compute node only. Currently i'm using flat network using ML2. the problem that i encounter is not able to create instance and i can see inside the error log stating NovaException: Unexpected vif_type=binding_failed. when i check the port status it state there admin state is up. but status is down. is there anything that i can do on this? please advise.

root@compute2:/var/log/neutron# neutron port-show 441d8eed-331b-4097-b476-afe8a3b18a2f
+-----------------------+--------------------------------------------------------------------------------------+
| Field                 | Value                                                                                |
+-----------------------+--------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                 |
| allowed_address_pairs |                                                                                      |
| binding:host_id       | compute2                                                                             |
| binding:profile       | {}                                                                                   |
| binding:vif_details   | {}                                                                                   |
| binding:vif_type      | binding_failed                                                                       |
| binding:vnic_type     | normal                                                                               |
| device_id             | dhcp9df606ff-e867-501d-9f97-8ba0ec504fec-0a81ed4e-8c7a-485f-97b7-ac2865153b37        |
| device_owner          | network:dhcp                                                                         |
| extra_dhcp_opts       |                                                                                      |
| fixed_ips             | {"subnet_id": "11839371-4276-429f-9e7c-8a4b972aeeff", "ip_address": "192.168.8.230"} |
| id                    | 441d8eed-331b-4097-b476-afe8a3b18a2f                                                 |
| mac_address           | fa:16:3e:71:88:b9                                                                    |
| name                  |                                                                                      |
| network_id            | 0a81ed4e-8c7a-485f-97b7-ac2865153b37                                                 |
| security_groups       |                                                                                      |
| status                | DOWN                                                                                 |
| tenant_id             | e8bdfc912b8c4c0182594e21b41b633f                                                     |
+-----------------------+--------------------------------------------------------------------------------------+
root@compute2:/var/log/neutron# neutron port-show 614afb74-88d9-4490-b88b-d57d323937da
+-----------------------+--------------------------------------------------------------------------------------+
| Field                 | Value                                                                                |
+-----------------------+--------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                 |
| allowed_address_pairs |                                                                                      |
| binding:host_id       | testgraph                                                                            |
| binding:profile       | {}                                                                                   |
| binding:vif_details   | {}                                                                                   |
| binding:vif_type      | binding_failed                                                                       |
| binding:vnic_type     | normal                                                                               |
| device_id             | dhcpe57fc0f8-34e9-5dda-a5c1-163e17a2e839-0a81ed4e-8c7a-485f-97b7-ac2865153b37        |
| device_owner          | network:dhcp                                                                         |
| extra_dhcp_opts       |                                                                                      |
| fixed_ips             | {"subnet_id": "11839371-4276-429f-9e7c-8a4b972aeeff", "ip_address": "192.168.8.233"} |
| id                    | 614afb74-88d9-4490-b88b-d57d323937da                                                 |
| mac_address           | fa:16:3e:68:f2:07                                                                    |
| name                  |                                                                                      |
| network_id            | 0a81ed4e-8c7a-485f-97b7-ac2865153b37                                                 |
| security_groups       |                                                                                      |
| status                | DOWN                                                                                 |
| tenant_id             | e8bdfc912b8c4c0182594e21b41b633f                                                     |
+-----------------------+--------------------------------------------------------------------------------------+
root@compute2:/var/log/neutron# neutron port-show fc82425f-5bbe-4bae-aed7-31be84533046
+-----------------------+--------------------------------------------------------------------------------------+
| Field                 | Value                                                                                |
+-----------------------+--------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                 |
| allowed_address_pairs |                                                                                      |
| binding:host_id       | compute2                                                                             |
| binding:profile       | {}                                                                                   |
| binding:vif_details   | {}                                                                                   |
| binding:vif_type      | binding_failed                                                                       |
| binding:vnic_type     | normal                                                                               |
| device_id             | 86917545-0f31-41a0-9bd9-3fec22634713                                                 |
| device_owner          | compute:SUKDC                                                                        |
| extra_dhcp_opts       |                                                                                      |
| fixed_ips             | {"subnet_id": "11839371-4276-429f-9e7c-8a4b972aeeff", "ip_address": "192.168.8.238"} |
| id                    | fc82425f-5bbe-4bae-aed7-31be84533046                                                 |
| mac_address           | fa:16:3e:20:91:7a                                                                    |
| name                  |                                                                                      |
| network_id            | 0a81ed4e-8c7a-485f-97b7-ac2865153b37                                                 |
| security_groups       | 43c84d87-f112-4d01-9e96-a25604186ced                                                 |
| status                | DOWN                                                                                 |
| tenant_id             | e8bdfc912b8c4c0182594e21b41b633f                                                     |
+-----------------------+--------------------------------------------------------------------------------------+

below is my nova.conf

[DEFAULT]
#allow_resize_to_same_host = True
#allow_migrate_to_same_host = True
#allow_instance_snapshots = True
#block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_NON_SHARED_INC
#scheduler_default_filters=AvailabilityZoneFilter,RamFilter,ComputeFilter
#allow_same_net_traffic = False
#multi_host = True
#send_arp_for_ha = True
#share_dhcp_address = True


#libvirt_type=qemu
#default_availability_zone = SUKDR
#debug=true
#verbose=true
auth_strategy = keystone
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
scheduler_default_filters=AllHostsFilter,AvailabilityZoneFilter
host = compute2

rpc_backend = rabbit
rabbit_host = 192.168.8.41
rabbit_password = guest

allow_resize_to_same_host = True
allow_migrate_to_same_host = True
allow_instance_snapshots = True


metadata_host=192.168.8.41
#metadata_listen=0.0.0.0
#metadata_listen_port=8775
metadata_manager=nova.api.manager.MetadataManager
metadata_port=8775

my_ip = 192.168.8.52
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 192.168.8.41
novncproxy_base_url = http://192.168.8.41:6080/vnc_auto.html

glance_host = 192.168.8.41

network_api_class = nova.network.neutronv2.api.API
neutron_url = http://192.168.8.41:9696
neutron_auth_strategy = keystone
neutron_admin_tenant_name = service
neutron_admin_username = neutron
neutron_admin_password = abc
neutron_admin_auth_url = http://192.168.8.41:35357/v2.0
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver
security_group_api = neutron
service_neutron_metadata_proxy = true
neutron_metadata_proxy_shared_secret=abc123


#libvirt_images_type=rbd
#libvirt_images_rbd_pool=vms
#libvirt_images_rbd_ceph_conf=/etc/ceph/ceph.conf

#rbd_pool=volumes
#rbd_user=cinder
#rbd_secret_uuid=4cceac22-1a44-497a-8bc0-d49bbf7144df


#backup_driver=cinder.backup.drivers.ceph
#backup_ceph_conf=/etc/ceph/ceph.conf
#backup_ceph_user=cinder-backup
#backup_ceph_chunk_size=134217728
#backup_ceph_pool=backups
#backup_ceph_stripe_unit=0
#backup_ceph_stripe_count=0 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-27 11:06:35 -0500

mpetason gravatar image

Did you verify that the neutron-plugin-openvswitch-agent is running correctly on the compute nodes? You can view the current status with:

neutron agent-list

it should output everything that is running. As long as nova-compute + neutron-plugin-openvswitch-agent are running on the compute nodes you should be able to get the attachment to work correctly.

edit flag offensive delete link more

Comments

agent list is ok, hoever i have recheck the configuration again and recreate the network and everything went back normal. :)

senyapsudah gravatar imagesenyapsudah ( 2014-10-28 00:41:49 -0500 )edit

Awesome. Glad to hear that it is working.

mpetason gravatar imagempetason ( 2014-10-28 09:16:37 -0500 )edit

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: 2014-10-27 10:28:18 -0500

Seen: 2,309 times

Last updated: Oct 27 '14