New Question

Sirisha's profile - activity

2015-02-06 06:42:29 +0200 received badge  Taxonomist
2014-09-26 14:31:08 +0200 received badge  Famous Question (source)
2014-09-17 16:23:33 +0200 commented answer VMs are not getting network with Hyper-V openstack

Even though binding:vif_type=hyperv and status=ACTIVE, still IP is not assigned to the instance by DHCP.External and private are the 2 vswitches created on the HyperV compute node and are configured in neutron_hyperv_agent.conf.Any suggestions please,based on above conf files
Regards,
Sirisha

2014-09-17 16:16:07 +0200 commented answer VMs are not getting network with Hyper-V openstack

Hi Claudiu, neutron port-show $PORT_ID result is:
| admin_state_up| True |
| binding:vif_type | hyperv |
| binding:vnic_type| normal |
| device_id | d61077f6-f8fe-4aa2-b6c0-e1251cd7d887 |
| device_owner|compute:None |
| status ACTIVE |

2014-09-17 04:05:24 +0200 received badge  Commentator
2014-09-17 03:44:18 +0200 commented answer VMs are not getting network with Hyper-V openstack

nova.conf at compute:
[hyperv]
vswitch_name=Local Area Connection 2 - Virtual Network
limit_cpu_features=false
config_drive_inject_password=false
qemu_img_cmd=C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\bin\qemu-img.exe config_drive_cdrom=true
dynamic_memory_ratio=1
enable_instance_metrics_collection=false

2014-09-17 03:42:32 +0200 commented answer VMs are not getting network with Hyper-V openstack

neutron_hyperv_agent.conf contains
[AGENT]
polling_interval = 2
physical_network_vswitch_mappings = *:external
local_network_vswitch = private
enable_metrics_collection=false
[SECURITYGROUP]
firewall_driver=neutron.plugins.hyperv.agent.security_groups_driver.HyperVSecurityGroupsDriver
enable_security_group=True

2014-09-17 03:38:45 +0200 commented answer VMs are not getting network with Hyper-V openstack

/etc/neutron/plugins/hyperv/hyperv_neutron_plugin.ini contains
[SECURITYGROUP]
firewall_driver=neutron.plugins.hyperv.agent.security_groups_driver.HyperVSecurityGroupsDriver
#firewall_driver=nova.virt.firewall.NoopFirewallDriver
enable_security_group=True

2014-09-17 03:35:58 +0200 commented answer VMs are not getting network with Hyper-V openstack

/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini contains
[SECURITYGROUP]
firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
#firewall_driver=neutron.agent.firewall.NoopFirewallDriver
enable_security_group=False

2014-09-17 03:35:02 +0200 commented answer VMs are not getting network with Hyper-V openstack

/etc/neutron/plugins/ml2/ml2_conf.ini contains
[ml2]
type_drivers = local,flat,vlan,gre,vxlan
tenant_network_types = vlan
mechanism_drivers = openvswitch,hyperv
[ml2_type_vlan]
network_vlan_ranges = physnet1:1000:2999,physnet2

2014-09-17 03:34:45 +0200 commented answer VMs are not getting network with Hyper-V openstack

Hi,neutron net-show $NETWORK_ID has provider:network_type as vlan. Initially "neutron agent-list" result showed DHCP agent, HyperV agent and Open vSwitch agent as alive.I dont know when the status is changed to XXX.

2014-09-16 15:53:59 +0200 received badge  Notable Question (source)
2014-09-15 17:38:29 +0200 received badge  Popular Question (source)
2014-09-15 16:58:47 +0200 answered a question VMs are not getting network with Hyper-V openstack

Hi Claudiu,

Thank you for the reply. I made the modifications suggested by you. After creating bridges and adding ports to it.

Result of ovs-vsctl show:

root@ubuntu:~# ovs-vsctl show
dba4b4c6-b1d9-4bd3-a0e7-c365b4359929
    Bridge br-int
       Port br-int
         Interface br-int
           type: internal
       Port "tapcff79286-48"
         tag: 4095
         Interface "tapcff79286-48"
           type: internal
    Bridge "br-eth1"
       Port "eth1"
         Interface "eth1"
       Port "br-eth1"
         Interface "br-eth1"
           type: internal
     Bridge "br-eth0"
       Port "eth0"
        Interface "eth0"
       Port "br-eth0"
        Interface "br-eth0"
         type: internal
     ovs_version: "2.0.2"

I booted new instance. It is in active state but Ip is not assigned to it.

Result of neutron port-show  59bb1389-d592-4993-9681-7d92384744f3 :

  Field | Value |
  +-----------------------+-----------------
   | admin_state_up  | True|
   | binding:host_id | WIN-IT50CNS6R6V |
   | binding:vif_type | binding_failed |
   | binding:vnic_type | normal |
   | status | DOWN |

We are using Openstack Icehouse release.

Please suggest any solution.

Regards,
Sirisha

2014-09-12 09:25:34 +0200 asked a question VMs are not getting network with Hyper-V openstack

I have an openstack controller installed using COI in which all openstack services are running except nova-compute. Used Cloudbase openstack compute installer for setting up hyper-v compute node in which nova-compute is running. Able to boot the instance but dhcp agent is unable to assign ip to the instance.

/etc/neutron/neutron.conf has: coreplugin = neutron.plugins.hyperv.hypervneutron_plugin.HyperVNeutronPlugin

/etc/neutron/dhcpagent.ini interfacedriver =neutron.agent.linux.interface.OVSInterfaceDriver

neutronhypervagent.conf: [AGENT] pollinginterval = 2 physicalnetworkvswitchmappings = *:external localnetworkvswitch = private enablemetricscollection=false

Error in the /var/log/neutron/dhcp-agent.log

2014-09-11 14:09:03.407 22809 INFO neutron.agent.dhcpagent [-] Synchronizing state complete 2014-09-11 14:09:33.409 22809 INFO neutron.agent.dhcpagent [-] Synchronizing state 2014-09-11 14:09:33.799 22809 ERROR neutron.agent.dhcpagent [-] Unable to enable dhcp for db68640c-3367-49b0-88f1-1e91ffcf611e. 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent Traceback (most recent call last): 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcpagent.py", line 127, in calldriver 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent getattr(driver, action)(**actionkwargs) 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 166, in enable 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent reuseexisting=True) 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 832, in setup 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent namespace=network.namespace) 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 169, in plug 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent self.checkbridgeexists(bridge) 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 106, in checkbridgeexists 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent raise exceptions.BridgeDoesNotExist(bridge=bridge) 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent BridgeDoesNotExist: Bridge br-int does not exist.

There seems to be no bridges concept in hyper-v, we have vswitch and portgroup networking stack. Is there any interface driver which is compatible with hyper-v plugin? Anyone please suggest where can I find detailed networking guide for hyper-v plugin.

Any help will be appreciated.