More Notes on Windows Images

| categories: windows, openstack

This is a follow-up to Windows Images for OpenStack that includes some of the notes accumulated along the way. Other Docs Building Windows VM images is a topic that has been done to death, but the working consensus of those I've talked to is that Florent Flament's post is one of the best guides through this minefield. Metadata Server Curl Commands Instance UUID: curl http://169.254.169.254/openstack/latest/meta_data.json | python -c 'import sys, json; print json.load(sys.stdin)["uuid"]' Instance Name: curl http://169.254.169.254/openstack/latest/meta_data.json | python -c 'import sys, json; print json.load(sys.stdin)["name"]' Fixed IP: curl http://169.254.169.254/latest/meta-data/local-ipv4 Floating IP: curl http://169.254.169.254/latest/meta-data/public-ipv4 Building on an OpenStack Cloud One of

Windows Images for OpenStack

| categories: windows, openstack, virtualbox

There is no shortage of articles online about building Windows images for use in various clouds. What there is a shortage of are working articles on building these images unattended. The Windows unattended install process has been basically solved, even if still a bit arcane. But finding more than a trivial example of doing it in a cloud is sparse. Cloudbase has shared the tooling they created for building their Windows images. That makes a good base for an automated build process that can be tailored to your particular needs. in addition to being the authors of cloudbase-init, their GitHub

OpenStack Clients

| categories: windows, openstack

OpenStack Client Projects The developers of OpenStack maintain a series of library projects which are the Python interfaces to the OpenStack REST APIs and also include command-line clients: python-ceilometerclient python-cinderclient python-glanceclient python-heatclient python-keystoneclient python-novaclient python-quantumclient python-swiftclient Each project is managed through the same development process as the integrated OpenStack projects so you can expect to find the latest source on GitHub. The master branch in the project repositories should theoretically never be 'broken,' but realistically they are not tested between releases with the same vigor as the core projects. The bug and feature tracking happens on Launchpad; each of the

OpenStack Clients on Windows

| categories: windows, openstack

OpenStack command line clients are a pile of Python modules and dependencies and can be a real joy to install. On Linux there are often vendor-maintained packages available to simplify the task and capture all of the dependencies, while on Windows it is a completely different story as no version of Windows includes any version of Python out of the box. There are three layers to the Python stack to get the OpenStack clients (or any Python app really) installed and working on Windows: a Python interpreter/runtime, the Python modules that provide an interface to PyPI, and the client libraries