New Question

mario-sommer's profile - activity

2017-05-25 11:13:16 +0300 received badge  Famous Question (source)
2017-02-28 14:45:48 +0300 received badge  Famous Question (source)
2017-02-26 13:10:16 +0300 received badge  Famous Question (source)
2017-02-21 20:14:13 +0300 received badge  Famous Question (source)
2017-01-30 10:01:55 +0300 received badge  Notable Question (source)
2017-01-30 10:01:55 +0300 received badge  Famous Question (source)
2017-01-30 10:01:55 +0300 received badge  Popular Question (source)
2017-01-27 13:03:58 +0300 received badge  Notable Question (source)
2017-01-27 13:03:09 +0300 asked a question nova evacuate

I just tried to simulate a hardware error with Openstack (Liberty) and Hyper-V. I forcfully shut down one node and tried to nova evacute the instances from the failed node. But that failed with an InstanceRecreateNotSupported error.

2017-01-27 11:56:22.194 4956 ERROR oslo_messaging.rpc.dispatcher     raise exception.InstanceRecreateNotSupported
2017-01-27 11:56:22.194 4956 ERROR oslo_messaging.rpc.dispatcher InstanceRecreateNotSupported: Instance recreate is not supported.

Is this a limitation of Nova Hyper-V? Is there any way to recover the failed instances?

2017-01-26 11:26:25 +0300 commented answer Flat Networks with neutron-ovs-agent?

Actually I don't see how this should work yet. But anyway, how would the neutron_ovs_agent.conf look for that kind of configuration?

2017-01-26 05:57:11 +0300 received badge  Popular Question (source)
2017-01-26 00:26:12 +0300 received badge  Notable Question (source)
2017-01-20 01:25:39 +0300 received badge  Popular Question (source)
2017-01-19 16:07:46 +0300 commented answer Live Migration fails with Hyper-V Error

That's not an answer to my question. Please don't hijack other people's questions.

2017-01-19 12:16:04 +0300 asked a question Live Migration fails with Hyper-V Error

I'm trying to live migrate instances between 2 Hyper-v hosts. I'm using Kerberos and have set the necessary delegations. The instance is running normally. In the Windows Hyper-V VMMS Event Log I see

EventId: 19050 
'instance-00006ac3' failed to perform the operation. The virtual machine is not in a valid state to perform the operation. (Virtual machine ID A06D5047-6D5E-4D18-B1F8-68E3D746542B)

In the nova logfile it says

'HyperVException: WMI job failed with status 10. Error details: <INSTANCE CLASSNAME="Msvm_Error"><PROPERTY NAME="CIMStatusCode" TYPE="uint32"><VALUE>1</VALUE></PROPERTY><PROPERTY NAME="CIMStatusCodeDescription" TYPE="string"></PROPERTY><PROPERTY NAME="ErrorSource" TYPE="string"></PROPERTY><PROPERTY NAME="ErrorSourceFormat" TYPE="uint16"><VALUE>0</VALUE></PROPERTY><PROPERTY NAME="ErrorType" TYPE="uint16"><VALUE>4</VALUE></PROPERTY><PROPERTY NAME="Message" TYPE="string"><VALUE>Virtual machine migration operation for \'instance-00006b37\' failed at migration destination \'ostkcomp23\'. (Virtual machine ID E18F6A7F-CBAE-49D9-B2CD-FD1B5849E98F)</VALUE></PROPERTY><PROPERTY.ARRAY NAME="MessageArguments" TYPE="string"><VALUE.ARRAY><VALUE>instance-00006b37</VALUE><VALUE>E18F6A7F-CBAE-49D9-B2CD-FD1B5849E98F</VALUE><VALUE>grzostkcomp23</VALUE></VALUE.ARRAY></PROPERTY.ARRAY><PROPERTY NAME="MessageID" TYPE="string"><VALUE>21026</VALUE></PROPERTY><PROPERTY NAME="OtherErrorSourceFormat" TYPE="string"></PROPERTY><PROPERTY NAME="OtherErrorType" TYPE="string"></PROPERTY><PROPERTY NAME="OwningEntity" TYPE="string"><VALUE>Microsoft-Windows-Hyper-V-VMMS</VALUE></PROPERTY><PROPERTY NAME="PerceivedSeverity" TYPE="uint16"><VALUE>5</VALUE></PROPERTY><PROPERTY NAME="ProbableCause" TYPE="uint16"><VALUE>0</VALUE></PROPERTY><PROPERTY NAME="ProbableCauseDescription" TYPE="string"></PROPERTY><PROPERTY.ARRAY NAME="RecommendedActions" TYPE="string"></PROPERTY.ARRAY></INSTANCE>\n']
2017-01-19 10:53:26.032 6312 ERROR nova.compute.manager [req-f7ae8717-4d0e-4195-92fe-67bcb47586c7 admin, admin 832ab226a08e46e293b3bce90bf0517e - - -] [instance: 19a1714e-7a77-4db3-931b-e66f90b24701] Live migration failed.

I'm on Server 2016, Liberty and using the ovs-agent. Any ideas what is happening here? Edit: Funny. It works as long as the target host is "empty" (no other instance is running on the target host).

2017-01-18 17:33:20 +0300 received badge  Editor (source)
2017-01-18 17:32:45 +0300 asked a question Flat Networks with neutron-ovs-agent?

Because some apps don't play well in a NATed enviroment I have some provider networks mapped directly to my compute nodes. This works well on Linux compute nodes with additional external bridges and bridge_mappings.

I tried to add additional bridges and ports on Windows with ovs-vsctl add-br-ext2 and ovs-vsctl add-port br-ext2 'Ethernet 2" but that seems to fail for Interfaces without a Hyper-V Switch. On the other hand the documentation says "We currently support a single Hyper-V virtual switch ". Is there another way to achieve this with Hyper-V and neutron-ovs-agent?

2017-01-18 16:00:28 +0300 received badge  Enthusiast
2017-01-17 01:47:23 +0300 received badge  Notable Question (source)
2017-01-13 01:22:56 +0300 received badge  Popular Question (source)
2017-01-12 19:29:48 +0300 commented answer neutron-ovs-agent and security groups

Still no luck with that. pip install said "Successfully installed networking-hyperv-1.0.5.dev5" and I see the new files under hyperv\neutron. But after restarting neutron-ovs-agent I still get the same NotImplementedError as before.

2017-01-12 16:53:30 +0300 answered a question neutron-ovs-agent and security groups

I tried both.

firewalldriver=neutron.plugins.hyperv.agent.securitygroups_driver.HyperVSecurityGroupsDriver leads to...

2017-01-12 15:38:49.619 9352 INFO neutron.agent.securitygroups_rpc [req-c0cbda72-00ef-4b68-b7e2-59a016bf74f8 - - - - -] Preparing filters for devices set([u'397417cc-b531-48bc-aa0c-78943d63542a', u'37a063ab-9bb2-4721-893b-b4fda26268ff'])
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-c0cbda72-00ef-4b68-b7e2-59a016bf74f8 - - - - -] Error while processing VIF ports
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\ml2\drivers\openvswitch\agent\ovs_neutron_agent.py", line 1756, in rpc_loop
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     ovs_restarted)
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\ml2\drivers\openvswitch\agent\ovs_neutron_agent.py", line 1510, in process_network_ports
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     port_info.get('updated', set()))
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py", line 286, in setup_port_filters
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self.prepare_devices_filter(new_devices)
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py", line 142, in decorated_function
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     *args, **kwargs)
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py", line 167, in prepare_devices_filter
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     security_groups, security_group_member_ips)
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\securitygroups_rpc.py", line 173, in _update_security_group_info
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self.firewall.update_security_group_rules(sg_id, sg_rules)
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\agent\firewall.py", line 118, in update_security_group_rules
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     raise NotImplementedError()
2017-01-12 15:38:51.259 9352 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent NotImplementedError

With firewall_driver=openvswitch the agent doesn't even start

2017-01-12 15:36:04.611 5040 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-47dd3401-0bb9-4012-ae0f-0d45a46ff071 - - - - -] Empty module name Agent terminated!

I'm using Openstack Liberty and GRE Tunnels. Everything else works fine with Hyper-V and the OVS agent.

2017-01-12 16:47:58 +0300 received badge  Notable Question (source)
2017-01-12 14:55:58 +0300 received badge  Scholar (source)
2017-01-12 14:45:57 +0300 asked a question neutron-ovs-agent and security groups

Does neutron-ovs-agent with OVS 2.6 support security groups? I can't find anything except for the "enablesecuritygroup=false" line in the blogpost. What would be the correct firewall_driver value?

2017-01-11 16:47:34 +0300 received badge  Popular Question (source)
2017-01-10 11:40:07 +0300 asked a question Manual for Open vSwitch 2.6 on Hyper-V?

I'm looking for a manual to integrate OVS 2.6.1 into my Openstack enviroment, but I can only find blog posts for 2.4 and 2.5. Is there no difference between 2.5 and 2.6?