/srv/irclogs.ubuntu.com/2011/02/06/#ubuntu-cloud.txt

flaccidheh insecure03:41
superxglhi all, i forgot to terminate the running VMs before stop the cloud. and when i start the cloud again , "euca-describe-availability-zones verbose" shows " free is 0000" so that i do not have enough resource to start vm , what should i do ?14:19
superxgloh, now i can start vm again,14:27
superxgldon't know what happened..14:28
=== daker_ is now known as daker
kjdashalready here20:22
kim0kjdash: Hi20:22
kim0kjdash: you mentioned you want to work on the ebs migration tool right20:22
kjdashyes20:22
kim0great .. so what are your questions20:22
kjdashso the basic idea is: start an ebs instance in one region, and then start another in another region, copy the ebs volume over, snapshot and register20:24
kim0yes20:24
kjdashdo we require the user to list the amis to be launched in each region?20:25
kim0the ebs vol you copy over, is however not the ebs vol that is the root for the running instance20:25
kim0so both instances are running .. and each of them, has a ebs volume attached to it20:25
flacciduse rsync20:25
kjdashan ebs volume other than the root ebs volume20:25
kjdashflaccid, yes, most likely20:26
kim0yes, i.e. the version of the utility ec2 instance, is independent than the the version of the ebs instance you're actually copying20:26
kim0i.e. you could launch 2 ubuntu instances to copy a centos instance, makes sense ?20:26
kjdashso really, the goal is to migrate an ebs snapshot, not an ami20:27
kim0An ebs ami is an ebs snapshot (someone correct me if I'm wrong)20:27
flaccidyeah just rsync. you can't get the snapshot out of s3 manually20:28
kim0flaccid: do you have the perfect rsync command for that ? copying all the special files and magic ?20:30
kjdashok, so here is where i see the problem20:30
flaccidrsync -az does the trick depending on what you need to do20:30
kjdashrsync -azv or some such20:30
flaccidthere is an article i have to review today on this topic that i can show you later on, though alestic.com and google.com has much on this20:31
kjdashif you want to register an ami in the other region, you need to know things like kernel, ramdisk, architecture20:31
kim0copy from src ?20:32
kjdashwhich is no problem if you require that information at runtime20:32
flaccidpersonally, i don't re-use the root ebs volume as i design appliances20:32
kjdashi would imagine something like the syntax of ec2-register-img but with --source-region and --dest-region options20:34
flaccidthe --region param. its in teh commandline reference doc20:34
kjdashflaccid: i typically use a modified base image, and then a custom repository with meta packages20:35
kjdashwhat do you use?20:35
flaccidRightScale ServerTemplates20:37
kim0smoser: someone working on the ebs migration tool, asks if it's ok to target python 2.7 (for argparse module). Any ideas20:57
kjdashso euca2ools doesn't support registering an EBS ami eh?21:46
flaccidec2-register21:47
flacciderr euca-register21:47
kjdashsure, but euca-register doesn't support snapshots21:48
flaccidcheck the docs and see what does; sorry i don't use euca much yet21:50
kjdashi was more asking for clarification21:50
kjdashi looked at the source, it clearly does not support registering ami with snapshot21:51
flaccidkjdash: http://www.google.com.au/search?client=opera&rls=en&q=eucalyptus+register+ebs+ami&sourceid=opera&ie=utf-8&oe=utf-8&channel=suggest21:51
flaccidthe first result explains21:52
kjdashunf, the 6 searches i tried failed to produce that result.  thanks22:05
flaccidnp22:07

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!