[00:22] Hello [00:22] i get this error "Looking up studiopaceatl.com [00:22] Cannot look up hostname studiopaceatl.com: Name or service not known" in ubuntu EC2 instance [00:23] but ftp server works and i am connected to using gftp [00:23] can somebody direct me to the right path ? [00:25] anyone home ? [00:36] HHHHHHHHHHEEEEEEEEEEEEEEEEEEEELLLLLLLLLLLLLLLLLLLLLOOOOOOOOOOOOOOOOOOOOOOOOOWWWWWWWWWWWWWWWWWWWWWWWWWWW [00:44] daxt_: From what you've described so far, this does not sound like an issue that would be specific to EC2. [00:45] hi erichammond , then what it can be ? [00:45] Note that it sometimes takes hours for EC2 and UEC questions to be answered on this channel. Non-cloud questions will probably get better help elsewhere. [00:46] so mine is non-cloud ? :D [00:46] can u point me to a proper place which might help me to resolve this [00:47] daxt_: It sounds like a DNS lookup issue for a general host name. DNS for this on EC2 works pretty much the same as anywhere else. [00:47] actually my ftp gui client connects and works properly [00:47] only the ftp cli at ec2 instance does not manage to lookup the host , is the problem [00:48] shall i modify the resolv.conf and add externam dns than what amazon gives ? will it help me ? [00:49] daxt_: Sounds like you'll need to investigate how the name is being resolved for your local client and how your local environment differs from the environment on your server. I don't have enough information about any of that to be able to help you sufficiently [00:50] erichammond , when i connect to the ftp hoststudiopaceatl.com from my PC , it connects , but when i try to connect from the EC2 instance using ssh , it does not [00:50] so it has to be a dns issue on EC2 according to my feeling [00:50] daxt_: I'm not telling you to go away, just pointing out that it probably isn't directly related to the topic of the channel, and given the nature of this channel, you might find better help over on #ubuntu or other places. The fact that it is not working on an EC2 instance is unlikely to be related to EC2 as a service. [00:54] erichammond , let me show u a screenshot , so you can get a clear understanding :) [00:56] http://img820.imageshack.us/img820/8213/screenshot18f.png [00:59] this issue is EC2 related [01:00] EricHammond , could this be an issue with security groups ? [01:00] aka amazon firewall ? === daker_ is now known as daker [16:37] I realize this is semi vague here (detail in forum) but is it reasonable to get warnings and or errors during a startup of UEC 2 (10.10)? [16:39] the first one is [16:39] The file cloud-error.log contains the following: [16:39] 10:54:16 ERROR [SystemUtil:Thread-23] com.eucalyptus.util.ExecutionException: ///usr/lib/eucalyptus/euca_rootwrap losetup /dev/loop0 error: loop: can't get info on device /dev/loop0: No such device or address [16:42] the second one is: 10:54:17 ERROR [ISCSIManager:Thread-23] com.eucalyptus.util.EucalyptusCloudException: tgtadm: invalid request [16:43] Since I don't have iscsi implemented that may explain this but why there error? [16:48] the third one is:10:54:20 ERROR [NioServerHandler:New I/O server worker #1-1] Internal Error. [16:48] com.eucalyptus.ws.ServiceNotReadyException: System has not yet completed booting. [16:48] at com.eucalyptus.ws.server.NioServerHandler.messageR eceived(NioServerHandler.java:107) [16:48] at org.jboss.netty.handler.stream.ChunkedWriteHandler .handleUpstream(ChunkedWriteHandler.java:114) [16:48] at org.jboss.netty.channel.Channels.fireMessageReceiv ed(Channels.java:385) [16:48] at org.jboss.netty.handler.codec.replay.ReplayingDeco der.unfoldAndfireMessageReceived(ReplayingDecoder. java:459) [16:49] at org.jboss.netty.handler.codec.replay.ReplayingDeco der.callDecode(ReplayingDecoder.java:443) [16:49] at org.jboss.netty.handler.codec.replay.ReplayingDeco der.messageReceived(ReplayingDecoder.java:381) [16:49] at com.eucalyptus.ws.handlers.http.NioSslHandler.hand leUpstream(NioSslHandler.java:31) [16:49] at org.jboss.netty.channel.Channels.fireMessageReceiv ed(Channels.java:342) [16:49] at org.jboss.netty.channel.Channels.fireMessageReceiv ed(Channels.java:329) [16:49] at org.jboss.netty.channel.socket.nio.NioWorker.read( NioWorker.java:330) [16:49] at org.jboss.netty.channel.socket.nio.NioWorker.proce ssSelectedKeys(NioWorker.java:282) [16:49] at org.jboss.netty.channel.socket.nio.NioWorker.run(N ioWorker.java:203) [16:49] at org.jboss.netty.util.internal.IoWorkerRunnable.run (IoWorkerRunnable.java:53) [16:49] at org.jboss.netty.handler.execution.MemoryAwareThrea dPoolExecutor$MemoryAwareRunnable.run(MemoryAwareT hreadPoolExecutor.java:502) [16:49] at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1110) [16:49] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:603) [16:49] at java.lang.Thread.run(Thread.java:636) [16:59] waltc: the losetup and tgtadm would worry me [16:59] the rest not really .. Java apps are chatty :) [17:00] Are you actually able to start isntances and connect to ebs volumes [17:00] as I had said earlier...I blew away the logs (they do get massive) and did a fresh restart === dendrobates is now known as dendro-afk [17:01] no....its a function of when the author choses to issue the log.info(...). I actually don't mind info (I use them all the time) but they can be overused thus lowering the 'signal to noise' ratio === dendro-afk is now known as dendrobates [17:02] what I am trying to ascertain is for the real issues I have, are their roots during startup [17:03] you know...separate cause from effect [17:04] yeah .. [17:04] I don't have iscsi so the admtgt I don't think should even be an issue. Well, the other thing too, are these benign, like the iscsi one [17:04] the loop device....that worries me too [17:06] at first, I tried to do things outside the 'script' like not have the 'everything but node controller' on my desktop because it saved buying a dedicated machine and it seemed like it 'should' work [17:06] largely it did except for disappearing public ipaddrs [17:07] with 10.10 I now have 3 machines, a dedicated Ubuntu server for 'everything but' and a dedicated ubuntu server for the nc [17:08] I did a free install...out of the box, manually config'd eth1 [17:08] works GREAT for store images of ubuntu. does not work for anything else [17:10] frankly, what I am trying to do kim0 is get buy-in at work to put up UEC there for my dev team, but I don't want egg on my face as soon as someone wants to start a centos image and can't [17:11] waltc: have you tried publishing a centos image [17:11] that should work AFAIK [17:11] I really want to get this to be predictable and reliable...and, as I said to you earlier, become really well versed in this...local 'expert' and all [17:12] I did try an image published by Eucalyptus [17:12] one commonality is the lack of a ramdisk image...but that should not necessarily cause a failure [17:12] the image starts, just never transitions to running [17:13] since it is not running I can't get to a log [17:14] with maverick and naddy images do I need to pull them apart and publish the individual parts separately? They run great under kvm natively [17:14] waltc: can you try with this image http://eucalyptussoftware.com/downloads/eucalyptus-images/euca-centos-5.3-x8 [17:15] 6_64.tar.gz [17:15] broken link :) [17:15] just publish tarball? [17:15] yeah mostly [17:17] waltc: Also check out this message http://www.mail-archive.com/ubuntu-cloud@lists.ubuntu.com/msg00367.html [17:17] where smoser mentions an updated patch to the uec-publish-tarball utility [17:17] which may help [17:22] I will check it out...What I did for centos is pull it apart, remove the xen subdir moved the kvm subdir up a level and re-tared it [17:22] didn't go to run state [17:23] in other words, in images that work, there is no kvm subdir, the kernel manifest and ramdisk image are all in the single subdir [17:25] while centos is on my list...I don't want to shotgun the issues...so I am content, for now, resolving why maverick and naddy uec images from uec-ubuntu don't 'just work' [17:26] there was that one forum problem someone entered where he said he got frustrated and wiped the 'everything but nc' server and started from scratch to reinstall (plus added a new user) and now his works. [17:27] I don't find 'reformat and reinstall' a satisfying solution [17:29] there is code in walrus land that differentiates administrator from not administrator but that is just for permissions [17:30] is the focus on having these images work on ec2 and 'the hope is' they also will work on uec? [17:32] waltc: hey, are you "wcorey" from forums [17:32] kim0, do you have a maverick based uec cloud where all images store or otherwise just work?....yes I am [17:32] waltc: nice meeting you man :) [17:32] you too! [17:33] I don't currently have UEC running with me [17:33] currently is this second or post 10.10? [17:33] but yeah image store images, should definitely just work [17:33] this second [17:33] my question is not 'should' they work it is 'do' they work [17:34] when I played with 10.10, they did boot [17:34] the 'store' images do run perfectly...the maverick and naddy I get off the ec2/uec site start just fine but never go to running [17:35] hmm [17:35] well, with no particular error message [17:35] it's gonna be a bit hard [17:35] did you try nc logs ? [17:36] did you ever look at forum, t=1588826? [17:38] yes I did [17:39] to re-state what I believe you said is you have (somewhere) a UEC cloud, based on 10.10 and you downloaded the image from the ec2/uec site of maverick and naddy and published them uec-pub-tarball and they run just fine. Is that accurate? [17:40] yeah, just not natty, it wasn't there yet [17:40] now I feel ill...that means the problem is here [17:41] waltc: it might have needed some manual step though, can't quite remember [17:41] oh...do you run them as you or admin? [17:41] waltc: man, I understand you want to help UEC users "debug" such problems [17:41] waltc: as opposed to the current format/reinstall appraoch [17:41] is that correct [17:42] btw, I enjoy your 'blogs' like publishing what scott did with the running the cloud-init under kvm directly [17:43] waltc: What about we (you and I) start like some project to freshly install UEC, documenting the exact setup [17:43] waltc: with every command ever needed ...etc [17:43] if we stumble across an issue, we can hopefully get some help from the devs over here [17:43] the advantage being .. [17:44] instead of being an individual support case [17:44] it would become .. like an open UEC manual for the whole world [17:44] in that case it wasn't so much trying to help him, he already got a solution. What I was trying to do is either from him or someone like yourself, explain which part of what he did actually fixed the problem. I logged in as admin, and just downloaded the credentials there so maybe I should not use admin just add myself as joe user and run images that way [17:44] Everything you wanted to know about UEC but were afraid to ask .. comes to mind :) [17:45] waltc: the thing is .. he doesn't know, nor do I .. and if you ask the devs .. so many things could go wrong [17:45] there is no simple answer [17:45] which is why I am suggesting we start documenting a "controlled" envrionment [17:46] I would personally love to work on this with you [17:46] kim0....yes, yes, and yes [17:46] just let me know if you can commit to doing it [17:46] I've been in software, as a developer for decades [17:46] but part of that is support [17:47] what, as a person paid to do this stuff, really annoys me is people who open a problem, find some solution and just simply announce, "OK, thanks, it's fixed now" without ever saying what they did [17:48] hehe yeah .. some tend to do that :) [17:48] the next worst thing is people that say, I did this, this, this, this, and this....and now it works [17:48] that, as he described it, is the "hail mary" solution... [17:49] ALOT tend to do that [17:49] I like crisp and clean answers..THIS (and only this) is the cause and the solution is do this (and only this) [17:50] link cause and effect and remedy together [17:51] Oh...I have become an expert at re-installing, from scratch, the ubuntu server (as cluster) and the ubuntu server as node [17:51] waltc: I am in total agreement [17:51] about the "this and only this" statement [17:52] thus I am suggesting we start working on a controlled env [17:52] documenting everythgin aloong the way [17:52] * kim0 is on crappy Internet for now .. slow answer [17:53] the other thing I hate is people who open an issue and it gets kidnapped by others who say I have the same problem except... After a couple of those you don't even know what the problem environment even is any more [17:55] I realize to most, if not all, people who work on the forums and maybe even launchpad, theirs is a 'labor of love' in other words they are there because they are interested in being there, not they have to be. So when a problem comes in and it is, or becomes by others additions, too confusing they move on as it is now too confiusing [17:58] let's start here...something I wanted to verify with you....10.4 is LTS, 10.4 UEC is 1.6, 10.4 won't run Eucalptus 2 or UEC 2.0 as it needs the newer kernel. What you get with UEC 2 is the cloud init stuff which means you don't have to specialty create new images for everything but do stem cell image that gets specialized at boot time, not create time...correct? [17:59] or, asked differently, why would one want to use UEC 2.x? [18:00] waltc: 10.04 is LTS and runs 1.6 yes .. can it run 2.0, maybe [18:00] cloud-init is not directly related to EUC version AFAIK .. it's an image thing [18:01] I seem to recall a forum question and answer saying you could not install UEC 2 as Eucalyptus 2.x required 2.6.35 [18:01] waltc: there's linux-image-generic-pae-lts-backport-maverick for lucid in the repo [18:02] I guess an backport of euca 2 for lts would be an interesting thing to do [18:02] but cloud init IS a Ubuntu thing...until very recently you couldn't use it on non ubuntu images. Amazon recently released a centos image that does support cloud init...right? [18:02] TeTeT: any idea if euca2 does need a newer kernel [18:02] kim0: actually not [18:02] waltc: ^^ thought so [18:03] waltc: yeah amazon released their own "Linux distro" basically [18:03] weird huh? [18:03] waltc: and they did choose to include cloud-init [18:05] that pretty much locks Amazon into being a distro as unless RH includes cloud-init it won't be part of stock centos [18:05] correct? [18:05] Amazon's Linux, IS a separate distro [18:05] and yes .. centos will only get it when RH acccepts it (if ever) [18:06] unless someone packages it for centos directly [18:06] you mean all Amazon created AMI's or just that centos with cloud-init? [18:07] <\sh> moins [18:07] why wouldn't they (RH)...just like why wouldn't Ubuntu/Canonical include Spice? [18:07] <\sh> hmmm...when I want to upgrade an ec2 lucid instance to maverick, and I did a dist-upgrade from lucid to maverick...what aki id do I need to set to boot the correct kernel (which should be linux-image-2.6.35-24-virtual) [18:08] waltc: It's not like Ubuntu is opposed to spice .. It's just barely mature right now .. I'm sure Ubuntu will get it (personal opinion) [18:08] waltc: it's a matter of opinion .. if RH wants it, it can get it .. it's all open source [18:11] \sh: did you try "ec2-describe-images" [18:11] \sh: it should tell you the associated aki/ari [18:11] <\sh> kim0: yes, I followed smosers howto http://ubuntu-smoser.blogspot.com/2010/04/upgrading-ebs-instance.html [18:11] <\sh> but I don't find the kernel version at all... [18:11] We recently went through an exercise at work to put much of our infrastructure in EC2. building specialized images are a pain in the butt, slow, fragile, etc..I MUCH prefer the stem-cell provision on boot approach [18:11] <\sh> during dist-upgrade it installed the 2.6.35-24-virtual flavor [18:12] waltc: Yep! :) [18:13] between delta-cloud and RHEV RH has staked it's 'claim' on the cloud and virtualization space....it stands to reason they (and SUSE) would grab cloud-init [18:14] I would think the only incentive not to is to 'one-off' someone else's distro [18:14] \sh: smoser 's blog post seems to nail it [18:15] <\sh> kim0: he was upgrading to lucid...and I'm doing dist-upgrade from lucid to maverick, so I adjusted his shell/ec2-api-tools magic to the kernel version I got during dist-upgrade [18:15] <\sh> kim0: but this version I can't find the version in the ec2-describe-images --all list [18:18] <\sh> kim0: the only kernel which matches on the list is IMAGE aki-2316fd4a 099720109477/ububtu-test-kernel-2.6.35-12-virtual-x86_64-20100730-test-10 [18:18] \sh: The 64 bit aki seems to be aki-427d952b, 32bit aki-407d9529 [18:19] shang, what kernel do you have installed [18:20] and what release (maverick?) are you running ? [18:20] smoser: he's upgrading lucid to maverick [18:20] <\sh> smoser: I installed the t1.micro ebs image of lucid...and dist-upgraded to maverick now [18:21] <\sh> smoser: the running instance kernel is linux-image-2.6.32-311-ec2 and the dist-upgraded kernel now is linux-image-2.6.35-24-virtual [18:21] ah. then, yeah, you want the pv-grub kernel. make sure that you install grub-legacy-ec2 [18:21] <\sh> (hence no linux-image...-ec2 package for maverick) [18:22] <\sh> the grub-legacy-ec2 is already installed [18:22] <\sh> smoser: and what is the pv-grub kernel? [18:22] yeah, then you have a /boot//grub/menu.lst that lists [18:22] linux-image-2.6.35-24-virtual [18:22] kim0 listed the pv-grub kernel above [18:23] <\sh> smoser: ah ok... [18:23] \sh: this actually chainloads the kernel inside the image .. which is cool [18:23] smoser: do you actually memorize the akis ;) [18:23] <\sh> so I just update via modify-instance the kernel id to the aki mentioned. [18:24] no, i look them up. but i do have cached describe-images of all regions [18:24] yes, \sh [18:24] smoser: um, once on pv-grub .. upgrading maverick->natty .. should just involve dist-upgrade, like a bare metal box right ?! [18:25] kim0: when does that video go up? [18:25] thats the goal, kim0 yes [18:26] kirkland is looking for his 15 minutes of youtube fame [18:26] kirkland: :) Jono is holding it hostage .. should definitely go up today ... [18:26] * kim0 will bug Jono as soon as I see him [18:27] <\sh> hmmm [18:28] <\sh> I think I destroyed the instance, grmpf...so now I directly start a maverick instance [18:28] :) [18:29] \sh: I hope you didn't loose any data on this :) [18:30] \sh unless you terminatede the instance, you didn't loose its root volume [18:30] (as it is ebs) [18:30] <\sh> kim0: no...it's just this t1.micro free amazon offer [18:31] \sh: stopping is not terminating [18:31] kim0, you or i could walk the lucid -> maverick upgrade path in a blog post [18:31] that might actually be useful [18:31] <\sh> kim0: terminated :) [18:32] smoser: Sounds good :) [18:32] * kim0 likes [18:33] I just wish people would stop using ebs images .. it's a cloud c'mon :) [18:34] * kim0 notes that blog entry [18:34] smoser: I suppose Amazon could update their PVgrub kernel .. how can we always find out the latet ID ? [18:40] kim0, no way. [18:40] * kim0 #&$^%$^$ @amazon [18:40] other than look at the kernel associated with our latest image of that release/arch [18:40] Yeah ok [21:14] how do you enable root logins in an ec2 ami? [21:15] i changed /etc/cloud/cloud.cfg disable_root: false [21:15] but still seems to put in the "please login as ubuntu" [21:24] kim0: I actually have fully documented the installation process and post installation I did this last time around. It appears managed-novlan requires a second eth on the CC (in a default UEC install) yet it doesn't configure it. In fact, if it doesn't exist, it doesn't care. [21:26] that's what I was missing in the 9.04->10.04 time frame. BTW, my old issue of disappearing public ip addresses went away perhaps because of 10.10 or perhaps because of eth1 [23:56] kirkland: Your vid is out and loud woohoo http://www.youtube.com/ubuntudevelopers#p/a/u/0/CWNjzwci5e8