Our official OpenStack Windows Server evaluation images got updated to the freshly released 2012 R2 version just in time for the Hong Kong summit!
Full support for OpenStack Havana is included for KVM and Hyper-V. We plan to release images for additional hypervisors as well quite soon (XenServer / XCP and ESXi / vSphere).
The images include the latest version of Cloudbase-Init, with new features and a fix for an issue that prevented to retrieve, in some circumstances, the Admin user’s password in the previous Grizzly 2012 image.
How to deploy the images in OpenStack
The first thing consists in downloading an image and uploading it in Glance.
For KVM:
1 2 3 |
gunzip -cd windows_server_2012_r2_standard_eval_kvm_20131031.vhd.gz | \ glance image-create --property hypervisor_type=qemu --name "Windows Server 2012 R2 Std Eval" \ --container-format bare --disk-format qcow2 --property os_type=windows |
For Hyper-V:
1 2 3 |
gunzip -cd windows_server_2012_r2_standard_eval_hyperv_20131031.vhd.gz | \ glance image-create --property hypervisor_type=hyperv --name "Windows Server 2012 R2 Std Eval" \ --container-format bare --disk-format vhd |
Now just boot the image as usual, providing a keypair, which is needed to retrieve the password later.
1 |
nova boot --flavor 2 --image "Windows Server 2012 Std Eval" --key-name key1 MyWindowsInstance |
Once the image has been booted, you can get the Admin user’s password with:
1 |
nova get-password MyWindowsInstance /path/to/your/keypairs/private/key |
Please note that the HTTP metadata service must be available in order for this feature to work. If you see a blank password, most probably the HTTP metadata service was not available when the password was set or the instance has been booted without a keypair assigned.
How to access the image via Remore Desktop Protocol (RDP)
First, make sure to add the RDP TCP port (3389) to a security group, for example:
1 |
nova secgroup-add-rule default tcp 3389 3389 0.0.0.0/0 |
Assign a floating IP to your instance and point your RDP client to it. When prompt for credentials, provide “Admin” and the password retrieved at the previous step.
Beside Windows, there are official Microsoft RDP clients available for OS X, iOS and Android.
On Linux, FreeRDP is by far the best available choice as it’s based on the official Microsoft open RDP specifications
How are those images created?
Here’s a post with a detailed explanation!
Hi Alessandro
First of all, thanks for this Windows image. I love the wallpaper 😉
I try to attach a Cinder volume to a running Openstack/KVM instance started with the Windows image you provide. Each type I get a Windows BSOD. Did you try this feature ? Does it work ?
Thanks
Hi Jordan,
Glad you liked the wallpaper! 🙂
About the BSOD: This is a VirtIO driver issue that we found in some conditions on KVM.
Hyper-V is immune from VirtIO drivers issue, if this is an option for you.
We’re investigating more this issue right now as in the past we already had issues with the latest stable VirtIO drivers.
Hello,
I have trouble getting Windows Server to work.
The problem is that it gets stuck in Booting from Hard Disk and the loops over and over again.
I have set OpenStack – Havana on two node setup using ubuntu guide. OpenStack test enviroment is running on VirtualBox. I have tested my build with cirrOS and it runs fine. I’ve also veryfied SHA1 hash and it’s OK.
I have imported image with following command:
gunzip -cd windows_server_2012_r2_standard_eval_kvm_20131117.qcow2.gz | glance image-create -–property=hypervisor_type=qemu -–name=“Windows Server 2012 R2 Std Eval” –-container-format=bare -–disk-format=qcow2 –is-public=ture
glance image-list:
ec6429f9-c1ca-47e2-8185-12927998fc10 | Windows Server 2012 R2 Eval | qcow2 | bare | 17182752768 | active
Nova list:
b5536d9f-427d-46cf-b2dd-293c3a9c69ee | Windows Server | ACTIVE | None | Running | vmnet=10.0.0.3
If you are using VirtualBox, it means that you are running on QEMU instead of KVM.
Instead of VirtualBox I’d suggest to switch to an environment that supports nested virtualization (e.g. VMWare Workstation / Player / Fusion) and use KVM.