New Question

Claudiu Belu's profile - activity

2018-06-01 22:17:57 +0300 answered a question Question regarding nova's limit_cpu_features

Hello, No, there's only the config option you've mentioned. The config option has to be set in the compute nodes' nova.

2018-04-05 21:37:29 +0300 answered a question Windows Cinder as Glance backend

Hello, os_brick only supports the Windows SMBFS connector; there are no Linux SMBFS connectors defined, which means tha

2018-02-27 11:27:35 +0300 commented answer Resizing Gen2 Guest EFI

I've updated by reply to respond to your comments.

2018-02-27 11:27:15 +0300 edited answer Resizing Gen2 Guest EFI

Hello Luc, Just a small bit of information about how cold resize / migration generally works. Pretty much all of the No

2018-02-26 12:25:37 +0300 edited answer Resizing Gen2 Guest EFI

Hello Luc, Just a small bit of information about how cold resize / migration generally works. Pretty much all of the No

2018-02-26 12:18:04 +0300 answered a question Resizing Gen2 Guest EFI

Hello Luc, Just a small bit of information about how cold resize / migration generally works. Pretty much all of the No

2018-02-23 16:55:54 +0300 commented answer Gnocchi - Keystone Unable to Validate Token

Thanks for posting the solution, it will be helpful for other people in the future. :) Also, just an FYI, it's a good t

2018-01-09 14:20:49 +0300 answered a question I want to add to hyper-v compute node to ocata openstack system, i installed it, but it gives an error "Filter ImagePropertiesFilter returned 0 hosts" ?

Hello, The warning you've mentioned in the Hyper-V nova-compute logs has nothing to do with not being able to spawn ins

2017-12-18 17:37:12 +0300 commented answer No hosts availble error when launching Hyper-V guest

And lastly, flat networking should be mostly used for the public networks. For tenant / private networks you should use

2017-12-18 17:35:37 +0300 commented answer No hosts availble error when launching Hyper-V guest

Thirdly, When a PortBindingFailed exception occurs and you see it in the logs, it will tell you to look into the Neutron

2017-12-18 17:33:58 +0300 commented answer No hosts availble error when launching Hyper-V guest

Secondly, could you share the neutron config files (neutron.conf and ml2conf.ini) for both the Controller and compute no

2017-12-18 17:31:58 +0300 commented answer No hosts availble error when launching Hyper-V guest

Hm, there isn't enough information to pinpoint the exact problem, but I'd say that there might be some misconfiguration

2017-11-21 12:57:11 +0300 edited answer No hosts availble error when launching Hyper-V guest

Hello, What OpenStack version are you using? If it's Ocata or newer, then it is as awestin says, you will have to execu

2017-10-27 11:43:05 +0300 answered a question No hosts availble error when launching Hyper-V guest

Hello, What OpenStack version are you using? If it's Ocata or newer, then it is as awestin says, you will have to execu

2017-10-13 18:28:38 +0300 edited answer Pike Nova Compute service hangs on "Loading compute driver"

Hello, This sounds a bit peculiar. I'm wondering if it actually hangs while loading the driver (shouldn't be any reason

2017-10-13 02:39:31 +0300 answered a question Pike Nova Compute service hangs on "Loading compute driver"

Hello, This sounds a bit peculiar. I'm wondering if it actually hangs while loading the driver (shouldn't be any reason

2017-09-11 23:05:00 +0300 answered a question Quota Usage

Hello, Well, first of all, quotas refer to the amount of resources a tenant / user is allowed to use, and they are set

2017-08-29 01:52:24 +0300 commented answer HyperV-Agent Error: PortBindingFailed

No problem. :) Since the hyperv mechanism driver resides in networking-hyperv, there was no way for neutron to succeed i

2017-08-29 00:13:52 +0300 commented answer HyperV-Agent Error: PortBindingFailed

You can check by running: pip freeze | grep networking-hyperv For Ocata, it should be version 4.0.0.

2017-08-29 00:13:40 +0300 commented answer HyperV-Agent Error: PortBindingFailed

You can check by running: pip freeze | grep networking-hyperv For Ocata, it should be version 4.0.0.

2017-08-29 00:12:10 +0300 commented answer HyperV-Agent Error: PortBindingFailed

Hello. Just an FYI, Neutron Ocata doesn't fail to start if a configured mechanism_driver is not installed, AFAIK. Can yo

2017-07-29 19:28:15 +0300 answered a question Open vSwitch(OVS) Hyper-V 2.6.1 - DVR

Hello,

In order to have OVS DVR, the neutron-l3-agent is required to also run on Windows, which is not supported at the moment.

Best regards,

Claudiu Belu

2017-07-29 19:02:44 +0300 answered a question cinder volume attach error in ocata.

Hello,

It would be a lot easier to understand the logs you've provided if they would be included in a paste, like: http://paste.openstack.org/ or any other paste.

From what I can understand, 2 errors occured: the first one while connecting the iSCSI volume, and the second one while formatting the exception message.

In order to better understand the issue, a few more bits of information would be useful:

What kind of iSCSI backend are you using?

What locale do you use in this environment?

Best regards,

Claudiu Belu

2017-06-14 17:20:20 +0300 answered a question Unable to Import Key Pair

Hello,

The article you mentioned is passing the x509 certificate to the instance through instance user_data, not as a keypair:

nova boot --flavor 2 --image your_windows_image --key-name key1 vm1 --user_data=your_cert.pem

That being said, since then, support for x509 has been added to nova-api (but not horizon). See the help for the nova keypair-add command:

usage: nova keypair-add [--pub-key <pub-key>] [--key-type <key-type>]
                        [--user <user-id>]
                        <name>

Create a new key pair for use with servers.

Positional arguments:
  <name>                 Name of key.

Optional arguments:
  --pub-key <pub-key>    Path to a public ssh key.
  --key-type <key-type>  Keypair type. Can be ssh or x509. (Supported by API
                         versions '2.2' - '2.latest')
  --user <user-id>       ID of user to whom to add key-pair (Admin only).
                         (Supported by API versions '2.10' - '2.latest')

This has been introduced in nova-api v2.1 (microversion 2.2), so make sure you have that registered as an endpoint:

openstack endpoint list
# you should see something like this:
# | 34291deac24a4a9195c340b70f03830f | RegionOne | nova         | compute        | True    | admin     | http://10.14.0.149:8774/v2.1              |

If not, you'll have to register a new endpoint for the /v2.1 URL, and then run a command like this:

nova --service-type endpoint_name keypair-add ...

By default, the microversion 2.latest is used, but if not, you will probably want to be explicit:

nova --service-type endpoint_name --os-compute-api-version 2.2 keypair-add ...

Best regards,

Claudiu Belu

2017-06-09 11:32:29 +0300 received badge  Necromancer (source)
2017-06-09 11:32:20 +0300 received badge  Necromancer (source)
2017-06-08 11:59:19 +0300 commented question OSWinException: Duplicate resource name found

gwmi -Namespace 'root/virtualization/v2' -Class Msvm_SyntheticEthernetPortSettingData | ? ElementName -eq 3cef1e9b-9925-4926-83ae-e90d3824fc2b There should only be one WMI object returned.

2017-06-08 11:57:58 +0300 commented question OSWinException: Duplicate resource name found

Hi! It's a very bizarre exception, IMO. It basically means that there are at least 2 switch ports with the same ElementName on the same host, which should not be possible. On the host on which you are getting this exception, can you run the following command in powershell:

2017-02-13 17:10:07 +0300 answered a question PortBindingFailed: Binding failed for port f168d8e9-fbbb-4e42-a371-d910fe4bc560

Hello!

As previously mentioned, Hyper-V supports only VHD / VHDX images. You can find some already prepared images here: [1]

Secondly, make sure that you have the hyperv mechanism driver added in the Neutron server's ml2_conf.ini file in the mechanism_drivers list. Keep in mind that the neutron-hyperv-agent agent doesn't support VXLAN networks [2]. If you want VXLAN / GRE or other network types, you should take a look at Windows OVS + neutron-ovs-agent instead.

[1] https://cloudbase.it/windows-cloud-im...

[2] https://cloudbase.it/neutron-hyper-v-...

[3] https://cloudbase.it/openvswitch/

Best regards,

Claudiu

2016-12-07 17:01:53 +0300 received badge  Necromancer (source)
2016-11-18 13:18:12 +0300 received badge  Teacher (source)
2016-11-17 18:15:35 +0300 commented answer Cloudbase-init 0.9.9 timing and sysprep

Also, neutron-hyperv-agent / neutron-ovs-agent logs what ports it processed in its logs. A VM's NIC name is the same as its neutron port name. Also, Windows / Hyper-V Server 2016 has been released, you can give it a try. :) https://www.microsoft.com/en-us/evalcenter/evaluate-hyper-v-server-2016

2016-11-17 18:10:20 +0300 commented answer Cloudbase-init 0.9.9 timing and sysprep

You will have to set debug=True and verbose=True in the compute node's nova.conf file. Then, when you spawn a VM, and it is waiting for a Neutron VIF plug event, it should look like this in the logs: http://paste.openstack.org/show/589616/

2016-11-17 17:57:58 +0300 answered a question Cloudbase-init is not doing the Windows setup

Hello,

You can simply snapshot the instance after the setup, and you will have the final sysprepped image you need.

Also, the guide you have linked is a bit outdated. We have a much simpler and updated guide here: [1]

[1] https://github.com/cloudbase/windows-...

Best regards,

Claudiu Belu

2016-11-17 17:34:02 +0300 answered a question Hyper-V cluster with Newton

Hello,

Unfortunately, some bits regarding how the drivers are loaded changed in Newton, and now the valid drivers are:

# clustered driver
compute_driver=compute_hyperv.cluster.driver.HyperVClusterDriver

# regular driver
compute_driver=compute_hyperv.driver.HyperVDriver

Let us know if you have any further questions!

Best regards,

Claudiu Belu

2016-11-17 17:15:58 +0300 answered a question Cloudbase-init 0.9.9 timing and sysprep

Hello,

This is might not directly answer your question, but regarding the "unreachable network error", the symptoms you're describing sound like the VM's neutron ports were bound after the VM started.

There is a feature in nova, which basically makes nova-compute wait for Neutron vif plug events before starting the VMs. This ensures that the VMs neutron ports and security groups are already processed and bound, ensuring that the VM will have network connectivity. The config option is called vif_plugging_timeout [1]. There is also a config option calledvif_plugging_is_fatal, which will cause the VM to fail to spawn on a host, if the Neutron vif plug events did not occur during the vif_plugging_is_fatal period.

We've introduced this feature into compute-hyperv in Mitaka.

What OpenStack version are you using? What hypervisor are you using?

[1] http://docs.openstack.org/kilo/config...

Best regards,

Claudiu Belu

2016-11-12 04:07:12 +0300 edited question how to increase the rdp speed

When i RDP to the Windows host using cloudbase web browser it very slow if i click on any icon it take time on come up and perform the action .

Please let me know how i increase the speed .


(duplicate question)

When i RDP to the Windows host using cloudbase web browser it very slow if i click on any icon it take time on come up and perform the action .

Please let me know how i increase the speed .

2016-11-12 03:45:23 +0300 edited question freerdp password

Hi,

I notice when using freerdp to log in to a Windows 2012 R2 server that the username and password are remembered between sessions. Is there a way to force freerdp to require that the user retype the username and password?


(duplicate question)

I notice that when I use FreeRDP to connect to Windows Server 2012 and subsequently log off, that when I go back to the FreeRDP login screen that it retains my credentials.

Is there a way to force FreeRDP to blank out the User ID and password fields so they need to be re-entered?

2016-11-11 23:41:48 +0300 answered a question error with neutron client

Hello,

From what I can see in the trace, it seems that there are some configurations missing from the neutron section of the Hyper-V compute node's nova.conf file, in particular, configurations regarding keytone authentication.

Our Hyper-V Nova compute installer already takes care of such configurations.

Also, make sure that you put traces like this into http://paste.openstack.org . This will make reading traces / logs a lot easier. [1] https://github.com/cloudbase/hyperv-n...

Best regards,

Claudiu Belu

2016-11-11 23:32:30 +0300 answered a question Is the VB driver bound to a specific OpenStack release?

Hello,

  1. The driver was developed and tested under the Kilo release of OpenStack.

  2. Devstack is not mandatory.

Please do keep in mind that the VirtualBoxDriver is meant for development only.

Best regards,

Claudiu Belu

2016-11-11 23:23:45 +0300 answered a question FreeRDP HTML5 proxy on Windows

Hello,

The article you've linked is already linking to the latest stable release [1].

[1] https://www.cloudbase.it/downloads/Fr...

Best regards,

Claudiu Belu

2016-11-11 23:17:13 +0300 answered a question hyper-v and kvm live migration

Hello,

No, it is not possible, for many possible reasons. In nova, you cannot simply live / cold migrate across hypervisors. Plus, there are many other things to consider, like adding / removing certain drivers (VirtIO, Linux Integration Services, etc.).

The easiest approach to this would be using Coriolis [1], which will help you migrate your VMs accross hypervisors, and to / from public clouds like Azure, AWS, etc. Not to mention that it has integration with Keystone, which means that it'll magically fit in your OpenStack deployment.

[1] https://cloudbase.it/coriolis/

Best regards,

Claudiu Belu

2016-11-11 23:03:07 +0300 answered a question how to increase the rdp speed

Hello,

FreeRDP's / FreeRDP-WebConnect's performance has increased in the meanwhile. Download the latest stable version and try it out.

Best regards,

Claudiu Belu

2016-11-11 22:59:56 +0300 answered a question how do i migrate my virtual machines from openstack to Azure using openstack hyper v nova compute

Hello,

Yes, it is possible. Please see more details about Coriolis [1]

[1] https://cloudbase.it/coriolis/

Best regards,

Claudiu Belu

2016-11-11 22:57:28 +0300 answered a question nova-compute not attaching VM to a Hypver-V vSwitch

Hello,

The trace you've posted is not the cause of your problem (but the source of it has been fixed).

It seems that there is a misconfiguration in your environment. You should take a look at the Hyper-V Neutron Agent guide [1] for debugging networking issues, but my guess is that you have not configured Neutron to use the hyperv mechanism_driver. More details in the article.

[1] https://cloudbase.it/neutron-hyper-v-...

Best regards,

Claudiu Belu

2016-11-11 22:42:41 +0300 edited answer PortBindingFailed

Hello,

In order to bind Neutron ports on Hyper-V, make sure you have networking-hyperv installed on your Neutron controller node (for liberty, use 1.0.4: pip install networking-hyperv==1.0.4). Afterwards, make sure to configure your Neutron server to use the hyperv mechanism_driver, by adding it to the mechanism_drivers config option in /etc/neutron/plugins/ml2/ml2_conf.ini. You should have something like: mechanism_drivers=openvswitch,hyperv. You can have any other mechanism drivers in the list.

For more details and more help in setting up and debugging any networking issues, please follow the article:

[1] https://cloudbase.it/neutron-hyper-v-...

Best regards,

Claudiu Belu