Skip to content

Entries from June 2013.

Cloudstack 4.1.0

A couple of days ago the Apache foundation has released Cloudstack version 4.1.0 which brings a lot of new interesting stuff:
An API discovery service that allows an end point to list its supported APIs and their details.
Added an Events Framework to CloudStack to provide an “event bus” with publish, subscribe, and unsubscribe semantics. Includes a RabbitMQ plugin that can interact with AMQP servers. Introduces the notion of a state change event.
Implement L3 router functionality in the Nicira NVP plugin, and including support for KVM (previously Xen-only).
API request throttling to prevent attacks via frequent API requests.
AWS-style regions.
Egress firewall rules for guest networks.
Resizing root and data volumes.
Reset SSH key to access VMs.
Support for EC2 Query API.
Autoscaling support in conjunction with load balancing devices such as NetScaler.

Looking forward to testing it.
Download from here: http://cloudstack.apt-get.eu/rhel/4.1/
The original announcement here:
https://blogs.apache.org/cloudstack/entry/apache_cloudstack_4_1_0

PS: one can use this for a simple deployment: https://github.com/penguin2716/autoinstall_cloudstack/blob/master/README.org.

Fixing get_iplayer's "RTMP_ReadPacket, failed to read RTMP packet header - raw code = 256"

As of last week I've been having problems downloading my favourite programmes via get_iplayer.
Turns out BBC made some changes to IPlayer and get_iplayer lags behind so I am getting some of the below:
ERROR: WriteN, RTMP send error 10054 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
INFO: Command exit code 1 (raw code = 256)


Until the get_iplayer developers issue a new version that fixes the problem you can fix it temporarily by running:
get_iplayer --prefs-add --rtmp-tv-opts="--swfVfy=http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf"


Source: https://github.com/dinkypumpkin/get_iplayer/wiki/swfurl

Cloudstack Centos 6 template

Everytime I installed Cloudstack I had to limit my tests to the bundled Centos 5.5 template, which is not the best one around.
For this reason I created a nice and clean minimal CentOS6 64bit template that has the password and ssh key init scripts installed and functional.
You can download it from here: http://li.nux.ro/download/cloudstack/images/

Make sure to consult the README file.