<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Pilotti,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Thanks for you quick response. I double check the value in my register, seems all the related set to 0. But I still run the power shell script. Then I restart my window server but seems it's still not works for me.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Then I did another test, I create a new VM on Hyper-V directly, then I set the NIC to external and set the VLAN ID to 3(The same VLAN of the VM's host), the VM still can not get any ip address.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">How about any other reason for this problem? Thanks.</div>
</div><div class="gmail_extra"><br clear="all"><div><font face="'courier new', monospace">Best Regards<br>-- Ray</font></div>
<br><br><div class="gmail_quote">On Thu, Oct 10, 2013 at 9:53 PM, Alessandro Pilotti <span dir="ltr"><<a href="mailto:apilotti@cloudbasesolutions.com" target="_blank">apilotti@cloudbasesolutions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
Hi Ray,</div>
<div style="word-wrap:break-word">
<br>
</div>
<div style="word-wrap:break-word">
Some Windows network adapter drivers disable VLAN access by default.</div>
<div style="word-wrap:break-word">
<br>
</div>
<div style="word-wrap:break-word">
Here's Powershell script that will apply the adapter's proper configuration:</div>
<div style="word-wrap:break-word">
<a href="https://bitbucket.org/cloudbase/vlanfilter-check/raw/8eea85e5cb38ce6e8ccb80fc00dd6c3f13869b6d/modifyRegistry.ps1" target="_blank">https://bitbucket.org/cloudbase/vlanfilter-check/raw/8eea85e5cb38ce6e8ccb80fc00dd6c3f13869b6d/modifyRegistry.ps1</a></div>
</span></div>
</span>
<div style="word-wrap:break-word">
<br>
</div>
In case the script reports that one of morte adapters have been reconfigured, you'll need to reboot or restart the corresponding adapters. </div>
</span></span><br>
</div>
<div>If you prefer to perform the steps manually, open the following registry key:</div>
<div><br>
</div>
<div>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}<br>
<br>
Look in all the child keys xxxx, e.g. 0001, 0002 etc for a value “VLanFiltering”. Make sure that if present it’s set to 0. <br>
In case of changes, reboot the server or restart the corresponding adapters.</div>
<div><br>
</div>
<div>Please let me know if this works for you.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Note: the error that you are reporting:</div><div class="im">
<div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default"><font face="arial, helvetica, sans-serif">
<div class="gmail_default" style="font-style:italic"> ERROR [quantum.openstack.common.rpc.amqp] Exception during message handling</div>
</font></div>
</div>
</blockquote>
</div>
</div><div>has been fixed with <a href="https://review.openstack.org/#/c/46989/" target="_blank">https://review.openstack.org/#/c/46989/</a></div>
<div><br>
</div>
<div><br>
</div>
<br>
<div><div><div class="h5">
<div>On Oct 10, 2013, at 13:36 , Ray Sun <<a href="mailto:xiaoquqi@gmail.com" target="_blank">xiaoquqi@gmail.com</a>> wrote:</div>
<br>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dear all,</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I am trying to test HyperV with OpenStack in Quantum VLAN model. But seems the network can't be reachable.<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><b>I use devstack to install my controller, by default, I use stable/grizzly branch. Here's my localrc file:</b></div>
<div class="gmail_default">
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i>disable_service n-net</i></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i>enable_service q-svc</i></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i>enable_service quantum</i></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i>enable_service q-dhcp</i></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i>enable_service q-l3</i></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i><br>
</i></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif">
<div class="gmail_default"><i>MULTI_HOST=True</i></div>
<div class="gmail_default"><i><br>
</i></div>
<div class="gmail_default"><i>PUBLIC_INTERFACE=eth1</i></div>
<div class="gmail_default"><i>FLOATING_RANGE=<a href="http://200.21.0.80/28" target="_blank">200.21.0.80/28</a></i></div>
<div class="gmail_default"><i><br>
</i></div>
<div class="gmail_default">
<div class="gmail_default"><i>ENABLE_TENANT_VLANS=True</i></div>
<div class="gmail_default"><i>TENANT_VLAN_RANGE=1000:1999</i></div>
<div class="gmail_default"><i>PHYSICAL_NETWORK=default</i></div>
<div class="gmail_default"><i>OVS_PHYSICAL_BRIDGE=br-eth1</i></div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default"><b>Then I create a new file /etc/quantum/plugins/hyperv/hyperv_quantum_plugin.ini</b></div>
<div class="gmail_default">
<div class="gmail_default"><i>[DATABASE]</i></div>
<div class="gmail_default"><i>sql_connection = <a>
mysql://root:admin@localhost/hyperv_quantum?charset=utf8</a></i></div>
<div class="gmail_default"><i><br>
</i></div>
<div class="gmail_default"><i>[HYPERV]</i></div>
<div class="gmail_default"><i>tenant_network_type = vlan</i></div>
<div class="gmail_default"><i>network_vlan_ranges = default:1000:2999</i></div>
<div class="gmail_default"><i><br>
</i></div>
<div class="gmail_default"><i>[SECURITYGROUP]</i></div>
<div class="gmail_default"><i>firewall_driver = quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</i></div>
</div>
</div>
</font></div>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><b>To avoid security groups problem, I also update nova.conf:</b></div>
<div class="gmail_default"><i><font face="arial, helvetica, sans-serif">firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver</font><br>
</i></div>
<div class="gmail_default"><i><font face="arial, helvetica, sans-serif"><br>
</font></i></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><b>The I restart nova-api service and modify quantum server command line, using:</b></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i>cd /opt/stack/neutron && python /opt/stack/neutron/bin/quantum-server --config-file /etc/quantum/quantum.conf --confifile /etc/quantum/plugins/hyperv/hyperv_quantum_plugin.ini<br>
</i></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i><br>
</i></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><b>Everything seems ok except these logs:</b></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif">
<div class="gmail_default" style="font-style:italic">2013-10-10 18:09:02 ERROR [quantum.openstack.common.rpc.amqp] Exception during message handling</div>
<div class="gmail_default" style="font-style:italic">Traceback (most recent call last):</div>
<div class="gmail_default" style="font-style:italic"> File "/opt/stack/neutron/quantum/openstack/common/rpc/amqp.py", line 430, in _process_data</div>
<div class="gmail_default" style="font-style:italic"> rval = self.proxy.dispatch(ctxt, version, method, **args)</div>
<div class="gmail_default" style="font-style:italic"> File "/opt/stack/neutron/quantum/common/rpc.py", line 43, in dispatch</div>
<div class="gmail_default" style="font-style:italic"> quantum_ctxt, version, method, **kwargs)</div>
<div class="gmail_default" style="font-style:italic"> File "/opt/stack/neutron/quantum/openstack/common/rpc/dispatcher.py", line 136, in dispatch</div>
<div class="gmail_default" style="font-style:italic"> raise AttributeError("No such RPC function '%s'" % method)</div>
<div class="gmail_default" style="font-style:italic">AttributeError: No such RPC function 'report_state'</div>
<div class="gmail_default" style="font-style:italic"><br>
</div>
<div class="gmail_default"><b>But I don't think this will impact me, I remember I saw this bug on the lanchpad, I follow the most introduction of the document:</b></div>
<div class="gmail_default"><b><a href="http://www.cloudbase.it/quantum-hyper-v-plugin/" target="_blank">http://www.cloudbase.it/quantum-hyper-v-plugin/</a></b><br>
</div>
</font></div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">After I finished all the steps, I tried to create a new instance using a private network. I got my VM(Ubuntu) ready but without network connection. As the pictures shown in the document
above, I also got an external NIC with VLAN id 1001 for the new VM.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Seems DHCP can not assign ip for the new VM.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><b>I try to tcpdump on my controller of my new VM's mac address, and I got:</b></div>
<div class="gmail_default">
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i> 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from fa:16:3e:25:7a:73 (oui Unknown), length 300, xid 0x880a075d, Flags [none] (0x0000)</i></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i><span style="white-space:pre-wrap"></span> Client-Ethernet-Address fa:16:3e:25:7a:73 (oui Unknown)</i></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><i><span style="white-space:pre-wrap"></span> source link-address option (1), length 8 (1): fa:16:3e:25:7a:73</i></font></div>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">But in my syslog of controller, I can't see any dhcp related logs.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">My questions is:</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">1. In my local network we have 3 VLANs(id is 1, 2, 3), do I need to set new VLANs based my configuration for quantum(1000:1999) on my hardware?</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">2. Do I need to setup any trunk port in my connection ports?</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">3. Can I use any other network type like Flatdhcp, even or nova-network for simple?</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div><font face="'courier new', monospace">Best Regards<br>
-- Ray</font></div>
</div></div></div>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote>
</div>
<br>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>