Clone this wiki locally
Rudy 0.9 is not compatible with previous releases. If you wish to upgrade, you will need to shutdown and relaunch machines and disks created with previous releases. There are several improvements to the configuration syntax and also disk backups will not be compatible between 0.8 and 0.9. If you rely on backups you will need to make special arrangements (see Questions / Problems).
This describes the process for upgrading from 0.8. If you are using an earlier version of Rudy, see Questions & Problems below.
- Get everything you need off of your existing machines instances and disk volumes.
- Shutdown existing machines and destroy disks.
- Install Rudy 0.9
- Update your Rudy configuration.
- Startup your new machines.
$ rudy -V Rudy version: 0.8.5 $ rudy -vv shutdown ... $ rudy machines No Machines $ rudy disks No disks # Double check $ rudy-ec2 instances No instances running $ rudy-ec2 volumes No volumes
$ sudo gem install rudy -V $ rudy -V Rudy version 0.9.1
You will need to make the following changes to your Rudy configuration:
SSH commands in routines
The routine syntax has some minor improvements. The
after keywords are now used exclusively for defining dependencies. Local and remote blocks are now simply,
routines do sysupdate do script_local do uptime end before :root do apt_get 'update' apt_get 'install', 'build-essential' end end end
routines do sysupdate do local do uptime end remote :root do apt_get 'update' apt_get 'install', 'build-essential' end end end
For startup, shutdown, and reboot routines
after_local are still available where appropriate (there’s no
before_remote for startup).
config block in machines config
This config block is no longer used. In 0.8 a YAML file containing this configuration would be uploaded to each machine during routines. This is also removed. However, it is now possible to upload any file you want inside the remote routine blocks.
machines do config do dbmaster 'localhost' newparam 573114 end end
routines do startup do remote :root do file_upload 'local/file/path', 'remote/path' end end
$ rudy startup
Questions / Problems
If you have any questions or problems either before or after you upgrade to Rudy 0.9, feel free to use the discussion group or email me directly (note: if my response could help others I will post it to the discussion group).
— Delano (@solutious.com)