/srv/irclogs.ubuntu.com/2010/12/07/#ubuntu-cloud.txt

=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== asac_ is now known as asac
MakereSo I downloaded maverick-server-uec-amd64.tar.gz from http://uec-images.ubuntu.com/maveric/current/ and used uec-publish-tarball with --resize 8G06:57
MakereIt's stuck on pending when I'm trying to launch it06:57
Makereany tips?06:57
MakereI don't see what I'm doing wrong06:57
Makerewriting GET/GetDecryptedImage output to /var/lib/eucalyptus/instances//admin/i-51A60A11/kernel is the last thing I see about it in nc.log07:00
Makereafter that it just keeps doDescribeInstances and gives info about it07:01
MakereI get similar behaviour with my own image07:01
Makerebut the UEC image works without modifications07:02
Makereafter some time I get EXPIRED08:52
kiallMakere, I havent see that before .. but I presume the instance type your using is allowed 8GB of disk?09:59
kiall(i have no idea what the defaults are anymore .. but i seem to remember the smaller instance types being about 5GB10:00
Makereyea10:08
Makereadjusted the amounts10:08
Makerealso tried launching with larger10:09
kiallso do you see a kvm process start up? (or the dd process preparing the disk image before that..)10:11
kiall(or xen)10:11
kiallwait .. this is #ubuntu-cloud not #eucalyptus .. of course is kvm ;)10:12
Makeredidn't actually check this time, but last time it did this, no kvm process10:12
MakereI'll check inside an hour10:14
Makere"hour"12:57
Makereno kvm processes lol12:57
kevinwhow does one go about de-registering a node controller in euc?13:20
kevinwlet me rephrase that, i see the node controller registered but with 0 available vm's, whats causing this?13:37
Makereanything in cc/nc/registartion logs?13:43
kevinwnope13:46
Makerewell I recommend giving up on cloud now while you can13:47
kialllol ...13:53
kiallkevinw, what have you got in /var/log/eucalyptus/euca_test_nc.log ?13:55
kiall(for total memory and cores)13:55
kevinwtotal_memory=102614:00
kevinwnr_cores=214:00
kevinwi see the node as registered: root@cloudcc1:/var/log/eucalyptus# euca_conf --list-nodes14:09
kevinwregistered nodes:14:09
kevinw   213.xxx.xxx.xx  cluster114:09
kevinwroot@cloudcc1:/var/log/eucalyptus#14:09
mcellahi there, we are using ubuntu amis on ec214:35
mcellawhat's the proper/best way to launch new instances with a custom hostname?14:36
mcellawe need a predicable hostname for our own applications (+ rabbitmq)14:36
kiallmcella, you can "fudge" the hostname with RabbitMQ ..14:39
kiallHOSTNAME=test / NODENAME=rabbit@test in /etc/rabbitmq/rabbitmq.conf gives a fudged hostname of "test" to rabbitmq14:39
kiall(assuming you have test in your hosts file or DNS)14:40
mcellakiall: that's interesting, but we still required a know hostname for our own apps :-/14:41
kiallDNS and an elastic IP will give you that ..14:42
kiallif you set the hostname on the server to microsoft.com, you dont start getting MS's traffic .. so an elastic (static) ip and a DNS record like server.yourdomain.com pointing at it will work ..14:43
mcellakiall: yep, but our instances are short lived, we need to start and stop them for demonstration purpose, so we decided to not use elastic ips14:44
mcellait would cost too much14:45
mcellawe are also exploring route 5314:45
kiallthen there really isn't much you can do - without an elastic IP, there is no standard way to allow one instance determine the dynamic IP of another .. You'd have to get Dynamic DNS, or pushing the IPs to specific S3 keys or something like that going ..14:46
kiallbut only dynamic DNS will help with a consistent hostname ..14:46
kiallah wait .. i read S3 there .. not route 53 their new service14:50
kiallI'm betting that can help you now that you mention it .. been meaning to read up on it14:50
mcellakiall: yeah, anyway we don't need intra instances communication14:51
mcellawe just need a way to launch/create an instances and have it accessible at a know location (parametrized by the instance user data probably)14:52
mcellawe have a base ami (built from the ubuntu one) to create new instances14:52
mcellaanother option is to set a static know hostname but cloud init at the first run will override it right? is there a way to avoid that thing14:53
mcella'14:53
mcella?14:54
kiallby "know location", you mean a hostname like "demo.domain.com" I presume? You need DNS for that - be it static pointing at an elastic IP .. or dynamic pointing at a non-elastic IP ..14:54
kialland by accessible, you mean you can point your browser at it?14:54
kiall(Im assuming a web app here .. but you get the idea)14:55
kiallyea - cloudinit will override it .. I haven't looked, but im sure you can turn that off .. otherwise, you can just use cloudinit to set it to something after its reset it14:57
mcellakiall: exactly14:59
mcellakiall: at what stage runs cloudinit?15:00
mcellabefore or after rabbit?15:01
mcellaI assume it runs as early as possibile in the boot process right?15:01
kiallIts prerry early15:09
kiallrc.local -ish if i remember right15:09
kialleither way - adjusting the hostname on the instance is not required, nor will it help with, access the instance from outside amazon, or from other instances ...15:10
kiallaccessing*15:10
mcellayep, that's true15:12
kiallIt would help with RabbitMQ .. but is an awful hack in my opinion .. Telling RabbitMQ to use a specifc, additional hostname thats been planted in /etc/hosts (or DNS) is way less hacky...15:12
kiall(... instead of fudging the entire server .. your only fudging RabbitMQ.. aka less hacky ;))15:13
mcella:-)15:13
=== xfaf is now known as zul
jmgallowaydoes anyone know why Im getting this error "bash: .ssh/authorized_keys: Permission denied" when I try to exchange keys from the cluster controller and the cloud controller?17:18
RoAkSoAxjmgalloway: probably something realted to the permissions of authorized_keys in the CC17:20
RoAkSoAxi experienced something similar17:20
jmgallowayI'm doing a clean install and this step is failing17:21
RoAkSoAxjmgalloway: yeah it is that then17:21
RoAkSoAxjmgalloway: might wanna take a look to eucalyptu's autherized_keys file, and check that the ownership is set to the eucalyptus user17:22
jmgallowayok let me look17:23
RoAkSoAxjmgalloway: i experienced exactly the same issue17:24
RoAkSoAxDaviey: ^^ might be of your interest17:24
jmgallowayit is owned by root17:24
jmgalloway-rw-r--r-- 1 root       root        396 2010-12-06 12:26 authorized_keys17:24
jmgallowayshould I change "sudo -u eucalyptus ssh-copy-id -i ~eucalyptus/.ssh/id_rsa.pub eucalyptus@cc" to "sudo -u root ssh-copy-id -i ~eucalyptus/.ssh/id_rsa.pub eucalyptus@cc"17:26
jmgallowayor I could just chmod the permissions of the keys file..17:29

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