<div dir="ltr">Hi Livemoon,<div><br></div><div>I have not tried cloudbase nova client yet. However, I took a look at your log file and followed the error messages in Juno release source code:</div><div><br></div><div><b><u>From neutron/agent/securitygroups_rpc.py file:</u></b></div><div><br></div><div>229 def _update_security_group_info(self, security_groups,</div><div>230 security_group_member_ips):</div><div>231 <b> LOG.debug("Update security group information")</b></div><div>232 for sg_id, sg_rules in security_groups.items():</div><div>233 <b> self.firewall.update_security_group_rules(sg_id, sg_rules)</b></div><div>234 for remote_sg_id, member_ips in security_group_member_ips.items():</div><div>235 self.firewall.update_security_group_members(</div><div>236 remote_sg_id, member_ips) </div><div><br></div><div><b><u>From neutron/agent/firewall.py</u></b></div><div><br></div><div><div>112 def update_security_group_rules(self, sg_id, rules):</div><div>113 """Update rules in a security group."""</div><div>114 <b>raise NotImplementedError()</b></div></div><div><b><br></b></div><div>I think it is clear that you got error message. You can take a look at neutron juno release source code and trace your error messages in source code.</div><div><br></div><div><a href="https://github.com/openstack/neutron/blob/stable/juno/neutron/agent/firewall.py">https://github.com/openstack/neutron/blob/stable/juno/neutron/agent/firewall.py</a><br></div><div><br></div><div>Erhan,</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 9, 2015 at 8:15 AM, livemoon <span dir="ltr"><<a href="mailto:mwjpiero@gmail.com" target="_blank">mwjpiero@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:medium"><div><div style="font-size:18px"><h2></h2></div></div></div><div style="font-size:medium"><div><div><div><div style="width:1413px"><div><div><div><div><div style="font-size:13px"><table cellpadding="0"><tbody><tr><td colspan="3"><br></td></tr></tbody></table>I install nova(cloudbase juno version) on windows 2012 (Hyper-V). I using flat mode in neutron. <div>I found security_group is in config file and I set "enable_security_group=true" in neutron_hyperv_agent and set "security_group_api=neutron" in nova</div><div><br></div><div>but in the neutron log file ,it said:</div><div><br></div><div><div>2015-01-09 13:53:43.303 3816 DEBUG neutron.plugins.hyperv.agent.security_groups_driver [req-23712714-abcf-44bd-9480-ce471f094330 None] Creating port 1 rules prepare_port_filter C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\security_groups_driver.py:53</div><div>2015-01-09 13:53:43.303 3816 DEBUG neutron.agent.securitygroups_rpc [req-23712714-abcf-44bd-9480-ce471f094330 None] Update security group information for ports [u'cbab1deb-5a73-4c5d-bb80-ce733bfe22ac'] prepare_devices_filter C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py:225</div><div>2015-01-09 13:53:43.303 3816 DEBUG neutron.agent.securitygroups_rpc [req-23712714-abcf-44bd-9480-ce471f094330 None] Update security group information _update_security_group_info C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py:231</div><div>2015-01-09 13:53:43.303 3816 ERROR neutron.plugins.hyperv.agent.hyperv_neutron_agent [req-23712714-abcf-44bd-9480-ce471f094330 None] Error in agent event loop: </div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent Traceback (most recent call last):</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hyperv_neutron_agent.py", line 448, in daemon_loop</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent sync = self._process_network_ports(port_info)</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hyperv_neutron_agent.py", line 424, in _process_network_ports</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent resync_a = self._treat_devices_added(port_info['added'])</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hyperv_neutron_agent.py", line 392, in _treat_devices_added</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent self.sec_groups_agent.prepare_devices_filter([device])</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py", line 202, in decorated_function</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent return func(self, *args, **kwargs)</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py", line 227, in prepare_devices_filter</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent security_groups, security_group_member_ips)</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py", line 233, in _update_security_group_info</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent self.firewall.update_security_group_rules(sg_id, sg_rules)</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\firewall.py", line 114, in update_security_group_rules</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent raise NotImplementedError()</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent NotImplementedError</div><div>2015-01-09 13:53:43.303 3816 TRACE neutron.plugins.hyperv.agent.hyperv_neutron_agent </div></div><div><br></div><div>Dose the security group implemented now in hyper-v?</div></div></div></div></div></div></div></div></div></div></div>
</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>