Ask Your Question

alexpilotti's profile - activity

2017-06-12 11:44:57 -0500 received badge  Good Answer (source)
2017-02-22 06:15:59 -0500 received badge  Supporter (source)
2017-02-22 06:15:43 -0500 commented answer Packstack: Requirement for python-tinyrpc breaks installation

Thanks jpena-c, is there an ETA for the update in the repo?

2017-02-03 07:22:41 -0500 received badge  Nice Answer (source)
2016-08-23 15:46:16 -0500 answered a question add Hyper-v to devstack

Hi Adrien, the nova-compute.log on Hyper-V will tell you if there are issue. Make sure to configure NTP to have synchronized clocks on Hyper-V and DevStack.

2016-08-23 10:02:40 -0500 answered a question How to create a instance with username and pw via api

You can simply pass admin_pass in the metadata, e.g.:

nova boot --image <yourimage> --flavor 1 --meta admin_pass=<yourpassword> <instance_name>

Note: clear text passwords are not recommended for security reasons. We recommend to let cloudbase-init generate a random encrypted password that can be obtained with:

nova get-password <instance_name> <private_key_path>
2016-02-29 15:36:05 -0500 received badge  Nice Answer (source)
2016-02-04 12:51:01 -0500 commented answer hyper-v neutron binding_fail

Are you using VXLAN, GRE or VLAN for segmentation?

2016-02-04 12:49:10 -0500 edited answer hyper-v neutron binding_fail

Hi, as pointed out by vadimm, Hyper-V does not support GRE or VXLAN natively, so interoperability with OpenStack is limited to VLAN and flat networks.

There's also an Open vSwitch porting whose first beta has currently been released and that adds GRE and VXLAN to Hyper-V for OpenStack and other integration scenarios:

2016-01-04 15:55:47 -0500 answered a question Nova 2.28.1 ERROR (AttributeError): 'module' object has no attribute 'TCP_KEEPCNT'

Fixed by:

and by:

The latter has not yet been released on pypi, so for now the workaround is:

pip install -U python-keystoneclient
git clone
pip install -U .\keystoneauth
2015-11-03 10:16:11 -0500 answered a question how to create windows image to boot an instance in kvm/qemu?

If you get errors during download, please use a browser that supports resuming the download from where it stopped.

Said that, we support KVM, but not QEMU in the WS2012 R2 evaluation images.

You can create your own Windows image with the following automated tools:

2015-10-07 03:55:41 -0500 answered a question Error to run nova-compute.exe python script in hyper-v compute node, how to solve?

We provide an MSI installer for Nova-Compute on Hyper-V:

2015-09-17 12:43:07 -0500 answered a question I am trying to launch a windows server 2012 instance from my openstack kilo. But it's stuck at "Getting Ready".

Possibly it's a matter of MTU, when using GRE or VXLAN overlays.

Recent versions of Cloudbase-Init set the MTU based on the DHCP configurations. Try also to use a ConfigDrive when booting the instance.

2015-09-17 12:36:48 -0500 answered a question How openstack comunicates with hyper-v, which fw ports I need to liberate?

The Hyper-V nodes dont need any incoming call except 2179 for RDP console, while your OpenStack node will need to allow the following TCP ports (out of the top of my mind):

  • Keystone 5000, 35357
  • Nova 8774
  • Neutron 9696
  • Cinder 8776
  • Glance 9292
  • RabbitMQ 5672
  • iSCSI 3260
2015-08-24 12:35:45 -0500 answered a question Is it possible to reboot the VM during Software Deployment using HEAT

It is definitely possible, look for example at this Heat template which shows how to deploy Active Directory in a Windows instance:

About rebooting, just exit the userdata script with a 1001 code as shown in the example. This will instruct Cloudbase-Init to reboot.

More info:

Windows Server 2012 R2 OpenStack evaluation images:

2015-08-24 12:33:11 -0500 answered a question VMDK and Hyper-V IMAGES

It depends on your target hypervisor:

Hyper-V supports VHD and VHDX images, VMWare supports VMDK, KVM supports QCow2, RAW, etc.

You can easily convert among image formats with qemu-img, see for example:

if you have multiple hypervisor types in your openstack deployment, just add a hypervisor_type property to your image, e.g.:

glance image-create --property hypervisor_type=hyperv --name "Windows Server 2012 R2 Std" --container-format bare --disk-format vhd --file image.vhdx
2015-08-15 12:52:12 -0500 answered a question force windows image to use EC2 metadata only for cloudbase-init

In cloudbase-init.conf and cloudbase-init-unattend.conf you can change the metadata providers and their order. For example:
2015-08-02 19:33:07 -0500 answered a question Hyper-V compute - not booting instances no network interface

In order to help you with the troubleshooting, can you please provide nova-compute and neutron-hyperv-agent logs from the Hyper-V node? Best is if you cold post them for readability on and add the generated links here.

Are you using Neutron or Nova network? What type of network (flat, vlan, vxlan, gre) are you trying to attach?

2015-08-02 19:26:37 -0500 answered a question Can you convert directly from a VHDX HyperV vm to a qcow2?

The VHDX support available in qemu-img versions that you can find in most Linux distributions is often incomplete.

We released recently a version of qemu-img 2.3.0 for Windows aimed specifically at converting VHD and VHDX to / from other common formats, including QCow2:

Note: if your goal is to run instances based on the converted disk on KVM, you might want to consider that you need to add the proper drivers, especially VirtIO for Windows images.

2015-06-23 10:45:23 -0500 answered a question Getting Icehouse to use hv_relaxed for Windows hosts

If migrating to Kilo or Juno is not an option, I'd suggest to backport in a downstream branch the relevant Nova libvirt Juno patches.

2015-06-22 20:26:12 -0500 commented answer windows networking in openstack

Cloudbase-Init does not require a network card configuration anymore. For your scenario, you can just leave the default options, optionally selecting COM1 on the serial port dropdown in case you'd like to retrieve cloudbase-init log with nova get-console or horizon equivalent.

2015-06-21 22:49:08 -0500 answered a question windows networking in openstack

Hi, Windows XP is not supported anymore. Did you install Cloudbase-init on the Windows 7 image?

2015-06-21 22:47:09 -0500 commented answer Machine Specification for Testing Openstack

All depends to the response time you expect: for example here we run Tempest tests during development on i5 NUCs (dual core) or i7 laptops (quad core). CPU is rarely a bottleneck in test scenarios, you will most probably hit IO limits way before, even on a SSD.

2015-06-20 12:00:43 -0500 answered a question Machine Specification for Testing Openstack

You can test OpenStack on very simple hardware, including a laptop.

If you have a Windows 8/8.1 laptop or a Hyper-V Server I'd recommend:

In terms of resources, consider at least 6-8GB RAM for OpenStack and related services. This depends in particular if you want to test a minimal OpenStack deployments or also services like Ceilometer.

For the Windows images, consider at least 1.5-2GB RAM each and around 20GB of disk space. You can find the Windows Server 2012 R2 trial images here.

Consider a minimum of around 50GB of disk space for the entire OpenStack deployment, more if you need to test multiple images.

2015-06-20 04:26:20 -0500 answered a question Requirements for Windows 7 x64

Hi, these are the scripts that we use to automatically generate Windows images, including the official Windows Server 2012 R2 trial images:

2015-06-05 05:44:27 -0500 answered a question Hyper-V virtualization platform manual installation problem.

I advice you to use the prepackaged installer available here:

2015-05-24 15:20:45 -0500 answered a question How to create Windows 2008 server instance from iso (step by step)

Here are the tools that we use to generate Windows images, including the official Windows Server 2012 R2 OpenStack trial images:

2015-05-15 05:01:17 -0500 answered a question Traceback error in Windows VM pertaining to cloudbaseinit.init log

Looks good.

The first error is an attempt to set the MTU during first boot that fails due to the DHCP client socket being in use, but if you scroll down, it's set properly at the second attempt.

The second error is failing to setup WinRM, that you need only for remote management.

Both errors have been fixed in recent versions. Can you please repeat the deployment with an updated Cloudbase-Init copy?


2015-05-11 10:38:33 -0500 answered a question Openstack on Hyper-v

This is a duplicate of Please refer to the answer to that question.

2015-05-11 10:37:16 -0500 answered a question OpenStack on Windows Server 2012

The fastest way to get you started is to run v-magine, it will install OpenStack Juno and configure Hyper-V:

Beside this, you can find a lot of documentation and blog posts on, including the downloads for the Nova compute installers.

2015-05-11 10:34:01 -0500 answered a question instance time wrong

Recent versions of cloudbase-init handle this issue

2015-04-19 15:35:21 -0500 answered a question External Interface Down on Router - Network Node running on hyper-v 2012

Some starting questions to help in troubleshooting your issue:

Did you install the Hyper-V compute and network components using the MSI? What is your network configuration in Neutron? Can you post your nova-compute and neutron agent logs (by default in C:\OpenStack\Logs)?

2015-03-27 10:52:46 -0500 commented answer adding hyper-v node with packstack failing

You need also to open 9696 (neutron), 9292 (glance) and 3260 (iSCSI)

2015-03-27 10:50:19 -0500 answered a question Launched hyper-v instances not connecting to switch

Are you assigning a network to your instances when booting them?

The neutron-hyperv-agent service is responsible for attaching instances to virtual switches, so the related log and configuration might help troubleshooting your issue.

2015-03-25 18:51:04 -0500 answered a question adding hyper-v node with packstack failing

Hi, Packstack doe not currently support Hyper-V directly.

After deploying RDO, you can simply install the OpenStack components on Hyper-V:

Here's a project that uses Packstack with Hyper-V support:

2015-03-02 13:00:20 -0500 answered a question Windows 7 Console Unicode errors

Looks like a localization issue. Can you please run:

systeminfo.exe | findstr Locale

Sample output:

System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
2015-03-02 09:14:38 -0500 received badge  Nice Answer (source)
2015-03-02 08:06:28 -0500 answered a question Calling batch script from cloudbase-init?

All you need to do is to add a user_data script, where the first line will determine the type of script, followed by the actual script itself:


rem cmd






rem cmd
echo "Hello OpenStack instance" > C:\test.txt


Set-Content -Path "C:\test.txt" -Value "Hello OpenStack instance"

For additional details:

2015-02-24 07:56:29 -0500 answered a question how to create windows instance in openstack centOS7

Here are the scripts that we use to generate the official Windows Server 2012 R2 evaluation images, other Windows versions are supported as well:

2015-02-22 09:13:24 -0500 answered a question Windows Images shows Trap 00000006 Exception Error Message

Can you confirm that your libvirt_type in nova.conf is set to KVM?

Are you booting from volume or on local storage?

2015-02-05 05:09:42 -0500 answered a question Fibre Channel storage with Openstack on Hyper-v

@bishoy, This is not correct.

1) We don't currently support FC in Nova on Hyper-V for the time being, see:

2) We support live migration with block storage on Hyper-V (iSCSI, SMB3)

2015-01-24 08:05:49 -0500 received badge  Good Answer (source)
2015-01-05 14:12:18 -0500 answered a question Failing to create Win 8.1 Trial Image (IRQL_NOT_LESS_OR_EQUAL)

We just published an updated set of tools to generate OpenStack Windows images that we use at Cloudbase, which should make your life easier :-)

2014-12-08 05:25:51 -0500 commented answer ubuntu cloud-init can't get metadata at boot

I'd try 1400 to rule out frammentation issues. Can you also post your neutron.conf file?