/srv/irclogs.ubuntu.com/2013/02/21/#ubuntu-server.txt

=== ggg is now known as w0rmie
sunya7ahi...I have an Xserve xeon (nephalem) server and wish to install Ubuntu server on it. someone suggested to use the 64-bit Mac (AMD64) server install CD image for it..but it is intel based cpu is it not? should I use the PC (Intel x86) server install cd image or the AMD64 Mac image? I tried burning the AMD64 Mac version onto a DVD but was not able to boot from the DVD...I'm not sure if00:01
sunya7athis is related to the image I chose or if this is un unrelated problem00:01
=== ggg is now known as w0rmie
sunya7aI believe I created the DVD correctly...I downloaded the iso image. then mounted it on another mac using disk utilities...once I found the disk id I went into terminal and used dd to extract the iso to another location. I am able to mount this extracted image and eventually burned this extracted iso to a DVD00:03
sarnoldsunya7a: the 'amd64' name is because AMD's 64 bit extensions to x86 took hold; intel implemented them00:03
sarnoldsunya7a: intel's 64 bit ("itanium") went nearly no-where for a wide variety of reasons that are fun to discuss over beers :)00:03
sarnoldsunya7a: so when you buy a modern intel 64 bit chip, chances are good it is running the amd64 instruction set00:04
sunya7asarnold: i see...so I take it the image is not the issue then...I read much online regarding difficulties booting on mac's due to the EFI only requirement00:05
sarnoldsunya7a: (though I don't have advice on what _you_ need to use on your xserve machines -- the mac amd64 image would be my first starting place, too, fwiw.)00:05
sunya7aHowever, the issue is that I don't seem to be able to even see the option to boot from the DVD which is what stumps me00:05
sunya7asarnold: well...to be honest, since most macs these days are intel based...I would assume that an image labelled for mac (albeit being labeled with amd64) shouldn't be wrong...so I'm sure you are right on point00:06
sunya7asarnold: my next attempt is going to be to boot from a USB instead...maybe there's just something wrong with booting from DVD (which might be why it was so difficult getting the image onto the dvd in the first place)00:07
sarnoldsunya7a: ooh, usb is a good idea. At least it doesnt make another coaster, anyway.. :)00:08
sunya7asarnold: I did verify that there is nothing wrong with the DVD device though...the system still have mac os server installed so booting into it allows me to use the DVD just fine...and it looks the way it is supposed to (all icons on the root, instead of a single iso file, like my first 3 dvd burning attempts)00:09
sunya7athe system still has**00:09
sarnoldsunya7a: hehe, yeah, that's happened to me too :)00:10
sunya7asarnold: btw...when I put the DVD into any computer I have...and right-click to view information (within disk utility) it says that the DVD is not bootable...I wonder if this has any bearing though because I'm not aware of how I could make the DVD bootable...it seems that just burning the image with disk utility should have made it bootable (please correct me if this assumption is wrong)00:11
escottsunya7a, did you burn as image or as file00:12
sarnoldsunya7a: tbh I've never used a bootable DVD before; I've only ever used bootable CDs.00:12
sarnoldescott: first three as file, next one as image :D00:12
shaunoI wouldn't put too much hope behind booting from usb, apple's efi implementation doesn't usually agree with it00:13
sarnold:(00:14
sunya7aescott: well...disk utility seems to have no option to pick to "burn as files" or "burn as image". it just says to burn.......I didn't know you had to extract the iso from the iso (using dd to extract it) the first 3 times...so i ended up with a dvd that had just the iso file on the root...the next time I extracted the iso..and when I burned that one I got a DVD with a bunch of files00:14
sunya7a(there's an image on ubuntu documentation that shows "not good" , "good" )00:14
sarnoldhrm. that probably breaks the dvd-variant of the boot specification thingy (like cd's el torito..)00:15
shaunovery much so (it's no different for dvd; in this regard it's just a bigger CD)00:16
=== acrocity_ is now known as acrocity
sunya7asarnold: the extraction breaks the boot specification you say?00:16
sunya7ai was working through this suggestion: http://ubuntuforums.org/showthread.php?t=1870261&page=500:17
sunya7aon the very bottom someone linked an explaination as to why you need to use dd to extract the iso00:17
sunya7athe working theory is that ubuntu started to create a hybrid iso file...that can be used for USB as well as DVD...but somehow that makes burning to DVD impossible unless you extract the ISO00:18
adam_gzul: hows about this  http://people.canonical.com/~agandelman/folsom/keystone_2012.2.1-0ubuntu1.2~cloud0/00:20
zuladam_g: looks good00:20
adam_gSpamapS: ping00:33
SpamapSadam_g: pong, just have 2 minutes, whats up?00:38
adam_gSpamapS: the keystone packagte you accepted to q-proposed was superceded ~2 hours later by a security update00:39
adam_gSpamapS: im putting together a new stable/folsom snapshot for q-proposed to supercede what you had accpeted today, that will include those security fixes00:40
=== imbrando1 is now known as imbrandon
ssvssHi, this isn't ubuntu specific. I use "du -sh" to see the size of a folder, the folder is getting updated. but I feel du cmd doesn't calculate the size everytime I run the cmd. I see to just display the previously calculated sizes.00:42
SpamapSadam_g: doh00:43
SpamapSadam_g: ok, will look tomorrow morning00:43
SpamapSor later tonight00:43
=== ggg is now known as w0rmie
ssvss*It seem to just display the previously calculated sizes. any idea on how I can find the updated sixe of the dir.00:44
escottsunya7a, "extracting" the filesystem from the iso breaks the bootloader00:44
escottsunya7a, as you no doubt realized00:45
sarnoldssvss: updated files may not have their metadata updated until the writing programs performs an fsync(2) or sync(2) syscall or closes the file...00:45
sunya7aescott: I've found another article that states so =(  ya i guess it's not gonna happen this way...it seems that the only way that people have been successfully installed ubuntu on macs is with a dual boot setup...by taking advantage of rEFIt00:46
ssvssThanks.  I am using rsync, this might be the reason.00:47
sunya7aescott: I haven't found a single instance of someone installing Ubuntu cleanly on a mac00:47
histosunya7a: don't buy a mac then.00:48
histo!uefi | sunya7a00:48
ubottusunya7a: UEFI is a specification that defines a software interface between an operating system and platform firmware, it is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI00:48
shaunoI haven't lately, but I've installed 10.04 with no issues at all  (well, at this level anyway)00:49
histossvss: rsync has a progress option also du should be updating.00:49
sunya7aubottu: I've attempted the instructions described in the article you linked but I am not able to get the mac to boot from the DVD I created...holding down 'C' results in booting to the mac osx..and holding down alt/option shows only my primary hard drive, no dvd00:54
ubottusunya7a: I am only a bot, please don't think I'm intelligent :)00:54
sunya7aubottu: i see...=) thank you any way =P00:54
ubottusunya7a: I am only a bot, please don't think I'm intelligent :)00:54
shaunosunya7a: you don't want UEFI instructions, apple's EFI implementation is pre-UEFI (hence the -mac images, they cut out the attempts at UEFI booting which didn't work on apple's implementation)00:56
escottsunya7a, macs are proper efi so things are a bit messy00:57
shaunoyou specifically want https://help.ubuntu.com/community/Xserve2-1  because the xserv doesn't support bootcamp, so trying to boot it the same way as a macbook will get you nowhere00:57
=== ggg is now known as w0rmie
sunya7ashauno: okay...thank you for that information...I will take a look at that post00:58
shaunothis becomes very relevant because along with the driver packages and helper apps, bootcamp also includes the firmware update that provides bios-emulation for booting from "legacy" methods.  this update never reached the xserve00:59
jdstrandadam_g: fyi, nova and cinder are coming too01:08
jdstrandcinder tonight, nova tomorrow01:08
jdstrandwell, nova might be tonight01:12
jdstrandsoon anyway01:12
ekajI am having trouble getting ubuntu server 12.04 LTS to 'sudo apt-get update' - every link is an "Err" or "Ign".... us.archive.ubuntu.com is active ( I can go on my lappy) but not the server. I believe the problem is my college's DNS server, because when I ping the us.archive.ubuntu.com I get 10.0.0.112 (college DNS) - I tried putting dns-nameservers 8.8.8.8 in /etc/network/inferfaces, but that didn't work... Could anyone help me?01:55
histoekaj: does your /etc/network/interfaces get over written?01:56
ekajNo... I know that's not the correct way to do that anymore, but it's not gettong over written01:57
sarnolddid the nameservers line make it all the way through to /etc/resolv.conf ?01:57
ekajShould I flush the cache?01:57
ekajYep01:57
ekajnameserver 10.0.0.112, 8.8.8.801:57
ekajShould I just remove the 10.0.0.112 from resolv.conf?01:58
histoekaj: you should add nameservers to /etc/resolv.conf.d/head01:58
ekajJust create that file and add 'dns-nameservers 8.8.8.8'?01:59
histoekaj: sorry /etc/resolvconf/resolv.conf.d/head01:59
histoekaj: just nameserver 8.8.8.8  in that file  When you restart resolvconf it will put that in your /etc/resolv.conf file01:59
ekajThat one it says not to edit by hand =p so I added that there, I guess now /etc/init.d/networking restart02:00
histoekaj: right that's how the do not edit message gets into the /etc/resolv.conf file it comes from the head file.02:01
ekajAhh okay02:01
ekajI love you, thank you =p02:01
ekajI've been screwing with that for an hour02:02
ekajNow, sorry to bug you again, but what would be the proper way to set up a RAID configuration on a server with 4 HDDs? I've never used RAID =/ a reliable guide would be excellent02:03
histo!raid | ekaj02:03
ubottuekaj: Tips and tricks for RAID and LVM can be found on https://help.ubuntu.com/community/Installation/SoftwareRAID and http://www.tldp.org/HOWTO/LVM-HOWTO - For software RAID, see https://help.ubuntu.com/community/FakeRaidHowto02:03
ekajThankya02:03
ekajThis is what happens when a freshman sets up server =p02:08
ekaj*servers02:08
=== wedgwood_away is now known as wedgwood
histo?03:49
sarnold!03:49
histo^03:53
cfhowlett#eol03:59
cfhowlett!eol03:59
ubottuEnd-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades03:59
luminoushello, here is an upstart config for logstash, pretty basic: http://dpaste.de/62AvF/04:03
luminousI can run logstash in the exact way outlined by the config, and logstash will work fine. but starting through upstart eventually results in logstash closing and being respawned04:04
esuaveCan anyone tell me what lacp_rate actually does? I'm going to go nutz! Can't find any solid explanation anywhere on google04:41
=== wedgwood is now known as wedgwood_away
=== acrocity_ is now known as acrocity
goddardhow can i debug a email domain issue06:05
histowhat kind of domain issue?06:08
adam_gzul: http://people.canonical.com/~agandelman/folsom/cinder_2012.2.1-0ubuntu1.1~cloud0/ && http://people.canonical.com/~agandelman/folsom/euca2ools_2.0.2-1ubuntu2.1~cloud0/06:15
adam_gjamespage: ^06:15
somepersonAnyone know how to set up s3 keys on an Ubuntu server like Heroku's "heroku config:add S3_KEY=XXXXXXXXX S3_SECRET=XXXXXXXXXX" ?06:18
someperson#vps06:20
someperson#linode06:20
somepersonAnyone know how to set up s3 keys on an Ubuntu server like Heroku's "heroku config:add S3_KEY=XXXXXXXXX S3_SECRET=XXXXXXXXXX" ?06:28
goddardhow do you trouble shoot smtp issues with a domain on your network06:44
histogoddard: What sort of issues?07:02
goddardhisto: for some reason on my virtual domains can only pull mail from postfix but not sent mail via smtp07:08
someperson#rubyonrails07:14
histogoddard: can local users send mail?07:16
histogoddard: you'd have to look at your logs and see what's goign on.07:16
goddardhisto: is there a way i can test smtp connects with verbose logging like ssh -vvvv ?07:34
histogoddard: Isn't there output in mail.log?07:40
andolgoddard: Play smtp manually? Typing in the HELO, MAIL FROM, RCPT TO, etc yourself?07:42
andol(Will of course get a bit trickier if it is used in a submission scenarion, with starttls, smtp auth, etc)07:44
goddardhisto: ill look at the log07:50
someperson What is the equivalent of heroku config:add S3_KEY=XXXXXXXXX S3_SECRET=XXXXXXXXXX on a remote Ubuntu server?08:01
melmothsomeperson, your question is not clear enough08:14
andolsomeperson: The relevant equivlant isn't towards a remote Ubuntu server, but towards a specific piece of software you are running on your Ubuntu server, which speaks to S3.08:14
melmothit looks like environment variables.08:15
melmothactually, looks like ec2 environment variable (amazon s3 stuff) indeed08:15
somepersonSo there's no way I can set in my server's command shell like heroku?08:16
melmothi dont know heroku08:16
melmothbut you can set an environment variable in bash with "export S3_KEY=XXXXXXXXX"08:16
somepersonAren't environment variables insecure though? Since it shows the keys in the code?08:16
=== smb` is now known as smb
melmothgood question. I guess only you and root will be allowed to lookfor your environment08:17
somepersonmelmoth: What would you do?08:17
andolsomeperson: You can't really compare Herouke compared to a Ubuntu server, the later being a much more arbitrary multi purpose environment.08:18
andolsomeperson: Again, the relevant part is what daemons/code you will be running which needs to communicate with S3.08:18
melmothi dont know what i would do for sure, because i m still not sure what is the problem to solve08:18
melmothif you dont trust root, you will be stuck anyway, even if you do not use an env variable.08:20
melmoththe program that will need your pass need to read it from somewhere08:20
melmothif the program can, then root can08:20
melmothworst case, root can dig into ram itself (i dont know how, but i bet it can be done)08:20
somepersonI was using the dragonfly gem for images on Heroku and then migrated to Digital Ocean...but I need to reconfigure my s3 keys08:20
somepersonhttp://markevans.github.com/dragonfly/file.Heroku.html08:20
melmoththose are environmen variables inded08:21
somepersonI'm assuming I just need to config S3_Key=XXXX and S3_Secret=XXXX in my remote shell somehow08:21
melmothyes08:21
melmothexport S3_Key=XXXX08:21
melmothand there you go08:21
somepersonAh, I tried it without export and nothing worked, but let me try now08:22
melmothif you do not do an export, the variable will only exist in the current shell, not in the new shell created for a new application08:22
somepersonnow do I need to do that under app@HostName: or app@HostName: ~/myapp/current/ ?08:23
melmothexport the variable before starting your app08:25
melmothif you need to do it automatically, set stuff in your ~/.bashrc (assuming you are using bash)08:25
somepersonI'm using ~/.zshrc locally but ~/.bashrc remotely08:26
somepersonWhat do you mean by export the variable before starting your app? Do I need to stop nginx?08:27
melmothi dont know08:27
melmothi dont know what nginx is08:27
somepersonit's my web server08:27
melmothwell, if this the application that needs the environment, it must be set before it start. right ?08:28
somepersonlet me just do this and see if it works:08:28
PadNet_201So here's a question. Say i wanna report a program crash, which repos do i need to add these necessary programs08:28
somepersonapp@HostName: export S3_KEY=XXXXX S3_SECRET=XXXXX08:28
melmothi dont understand app@Hostname08:29
melmothand i m not sure you can export 2 variable in a single line08:29
melmothyou need to test it08:29
somepersonapp is the user and Hostname is my remote IP address08:29
somepersonI also have root@HostName:08:30
melmothok. sounds ok (except i would do  2 export, one per variable)08:30
melmoththen launch your app08:30
somepersonok08:30
somepersonso don't stop nginx08:30
somepersonThey're showing any responses in the shell command, they just go to the next line08:33
somepersonIs that normal?08:33
someperson*They're not08:33
melmothyou should have a prompt, no message.08:34
somepersonAren't I supposed to get some feedback, like S3_Key saved or something?08:34
melmothno08:34
somepersonIt just goes to the next shell line without any message08:34
somepersonOh well, lets see if it worked08:35
=== sanderj_ is now known as Sander^work
luminoushello, here is an upstart config for logstash, pretty basic: http://dpaste.de/7phHf/12:37
luminousI can run logstash in the exact way outlined by the config, and logstash will work fine. but starting through upstart eventually results in logstash closing and being respawned12:37
jacobwahoy12:47
jacobwi want to find out if the snmpd package is built with the --with-mib-modules=smux option, what's the easiest way to do that?12:47
SkaagSomething keeps rewriting my /etc/resolv.conf when the machine boots...13:09
Skaagthat's extremely annoying13:09
Skaaghow do I disable that?13:09
jacobwSkaag: it's resolvconf13:10
Skaagok, uninstalled it13:10
SkaagI thought it only fetches them upon dhcp connection establishment13:10
jacobwSkaag: embracing it is easier than fighting it, it's used by network-manager13:10
Skaagmy machine uses a static ip13:10
Skaagit's a server, not a desktop13:11
Skaagjacobw: how do I embrace it such that name servers will always be the same after a reboot?13:12
Questregarding http://stackoverflow.com/questions/14990973/tomcat7-and-apache2-on-ubuntu-in-integration-with-some-sort-of-proxy , what modes exactly do I need?13:40
Questhi, i dont see mod_proxy_ajp nor mod_proxy in mods-available dir of apache 2. any solution?14:06
=== lordsame is now known as SergioMenesesAFK
PiciQuest: you don't see proxy_ajp.load ?14:14
Questi do14:15
QuestPici,  thats actually the mod_proxy_ajp?14:15
Questwhat about mod_proxy?14:15
Piciproxy.load14:15
jdstrandsmoser: hi! I've got a diablo stack deployed and am running into 'Kernel not found for image...'14:21
QuestPici,  are you sure?14:21
smoserjdstrand, i think the first issue was using diablo14:21
smoser:)14:21
jdstrandsmoser: smoser heh, well, I don't have a choice-- testing a security update14:21
smoserdid something work at first and then start to fail ?14:22
smoser(an upgrade?)14:22
jdstrandok, let me explain14:22
PiciQuest: 100%, what are you trying to do that isn't working?14:22
smoserjdstrand, it is possible that you cannot boot a 'disk1.img' (aka "full disk image") on quantal.14:22
jdstrandsmoser: I use these commands to add an image to glance: https://wiki.ubuntu.com/SecurityTeam/TestingOpenStack#Adding_an_image_via_glance14:22
smoseri dont recall for certain if that is the case, but if it is, then you can use the uec style image.14:22
jdstrandsmoser: this is oneiric14:23
jdstrandsmoser: the image boots fine with euca2ools14:23
jdstrandsmoser: but if I use nova boot, it fails:14:23
jdstrand$ nova boot --image 5 --flavor 1 testme14:23
jdstrandCannot find requested image 5: Kernel not found for image 5. (HTTP 400)14:23
QuestPici,  i was trying to be sure before tying anything as it usually leads to messy things you know.14:23
PiciQuest: using a2enmod should alleviate any mess14:23
QuestPici,  + i would need a guide on how to setup the config files for those. tomcat and apache14:23
QuestPici,  ok. do i need to be in a specific dir to run a2enmod?14:24
jdstrandsmoser: I tried both ubuntu-12.04-beta1-server-cloudimg-amd64-disk1.img and ubuntu-11.10-server-cloudimg-amd64-disk1.img. it seems like I need to add something else to glance add, but I don't in essex and higher so I am a bit confused14:24
PiciQuest: no. It automatically creates the symlinks14:25
smoserjdstrand, can you pastebin 'euca-describe-images <id>' and 'nova show <id>' ?14:25
smoseri'm surprised that ec2 api would work here but nova not.14:25
QuestPici,  so i can be just in /hom and run a2enmod proxy.load?14:25
PiciQuest: just: sudo a2enmod proxy14:25
=== SergioMenesesAFK is now known as SergioMeneses
jdstrandsmoser: http://paste.ubuntu.com/1699230/14:26
jdstrandsmoser: I think you menat image-show14:26
* jdstrand gets it14:27
smoserright.14:27
smoser:)14:27
jdstrandsmoser: http://paste.ubuntu.com/1699237/14:27
QuestPici,  ok.14:27
Questthanks14:27
QuestPici,  + i would need a guide on how to setup the config files for those. tomcat and apache14:27
jdstrandsmoser: fyi, this is all in a snapshotted vm, so I can do anything you wnat14:28
smoserjdstrand, ok. can you just confirm, you're saying it boots fine using 'euca-run-instances ami-00000005' but *not* using 'nova boot 5' ?14:28
smoserthat just seems odd to me. but if you want to just get something booting via 'nova boot', i'd suggest just registering one of the "uec style" images, which have their own kernel/ramdisk.14:29
jdstrandsmoser: that's right: http://paste.ubuntu.com/1699260/14:31
jdstrandsmoser: that is acceptable to me. I don't really care about the bug, I just need nova boot to work14:32
jdstrandsmoser: let's say I am at http://uec-images.ubuntu.com/releases/oneiric/release/, you know, just for kicks14:32
jdstrandsmoser: which image should I grab and can I continue to use 'glance add'?14:33
smoserjdstrand, just for kicks, lets try14:34
smoserhm..14:34
jdstrand(fyi, using glance is important since it is also supported in 11.10-- though if I had to, I could use something else)14:35
smoseroh wow. i think you used to be able to specify a kernel with nova boot. but you can't in my client (raring).  if you could i was going to suggest '--kernel=1'14:35
jdstrandyeah, nova boot doesn't have a kernel option on 11.10 either14:36
smoserok. so download ubuntu-11.10-server-cloudimg-amd64.tar.gz14:37
jdstrand(this problem doesn't exist in essex)14:37
smoserthen, for simplicity i might suggest trying cloud-publish-image14:37
smosererr..14:37
smosercloud-publish-tarball ubuntu-11.10-server-cloudimg-amd64.tar.gz mybucket/amd6414:37
smosercloud-publish-tarball ubuntu-11.10-server-cloudimg-amd64.tar.gz mybucket amd6414:37
smoserand seeing if that boots.14:37
sorengreping through the entire history of python-novaclient, it never mentions "kernel" at all.14:37
jdstrandI think I tried cloud-publish-image last night, and glance didn't know about it (though euca2ools did)14:37
smosersoren, don't you find that odd ?14:37
sorensmoser: I do.14:38
smoserif that doesn't work, then somehow we have to use glance client to upload and specify the kernel image and then kernel-id.14:38
smoserits just more commands.14:38
smoserand i'm not familiar with it.14:38
jdstrandwill cloud-publish-tarball use glance?14:38
smoserwell, everything uses glance indirectly.14:39
smosercloud-publish-tarball talks to nova api, and nova api talks to glance.14:39
jdstrandor rather, is glance supposed to know about the image after using cloud-publish-tarball?14:39
smoseryes.14:39
smoserit should be listable by 'glance image-list'14:39
Questany help for config files?14:39
smoseror whatever the right glance syntax is.14:39
Questany help for config files Pici ?14:40
jdstrandsmoser: with glance, I (personally) don't use buckets14:40
jdstrandglance index14:40
jdstrandsmoser: what is a bucket?14:40
sorensmoser: Equally odd: grep -ir kernel nova/api/openstack14:40
sorenNo output.14:40
sorenWEll, not equally odd. It just sort of takes over the oddness.14:41
smoserjdstrand, arbitrary string.14:41
smosersoren, it wouldn't be that odd to me if nova were moving towards "its stupid to know about these things called 'kernels' specifically"14:42
smoserbut i saw a gerrit review recently that made it know *more* about kernels14:42
jdstrandI think glance may use 'my-glance' as a default14:42
smoser(so you could boot with a custom kernel command line!)14:42
smoserglance has no concept of buckets.14:43
smoserjust names.14:43
smoserthat name you give it with 'my-glance' is just a string.14:43
jdstrandwhat I mean is that using glance add, I have:14:43
jdstrandmy-glance/ubuntu-12.04-beta1-s...14:44
jdstrandeuca-describe-images has14:44
jdstrandIMAGEami-00000005None (my-glance/ubuntu-12.04-beta1-server-cloudimg-amd64-disk1.img)availablepublic14:44
smoserwell, you registered the image with 'my-glance/foo'14:45
jdstrandI'm just more familiar with glance atm, so I am just trying to understand the differences between glance and cloud-publish-...14:45
jdstrandsmoser: while I am downloading the .tar.gz you mentioned, I tried this:14:46
smoserjdstrand, cloud-publish-tarball just uses the ec2 api for publishing images. and to do that  you ahve to load the image into a s3 bucket, and then register it.14:46
jdstrandcloud-publish-image -t image x86_64 ./ubuntu-11.10-server-cloudimg-amd64-disk1.img mybucket14:46
smoserso that is why cloud-publish-tarball wants a 'bucket' .14:46
jdstrandI see14:46
smoserso what happens when you do that to openstack is14:46
smoser * you upload an image to s3 work-alike14:46
smoser * nova pulls it from that location14:46
smoser * nova uploads it to glance14:47
smoserso at this point you should have 3 new images in glance14:47
smosera kernel and initrd and image14:47
* jdstrand does not14:47
jdstrandI only have the old one that was already in there14:47
smoserthat is odd.14:48
jdstrandeuca-describe-images shows two14:48
smosermaybe i'm wrong, and diablo did something different.14:48
jdstrand(the old and the new)14:48
smosermaybe make it public?14:48
smosereuca-modify-image-attribute -l -a all <image-id>14:48
jdstrandit is private14:48
smoserthen try looking in glance.14:48
jdstrandthat did it. interestingly, the name in flance is 'None'14:49
jdstrands/flance/glance/14:49
jdstrandhttp://paste.ubuntu.com/1699383/14:50
jdstrandI may not care, but it is interesting14:50
jdstrand$ nova boot --image 6 --flavor 1 testme14:51
jdstrandCannot find requested image 6: Kernel not found for image 6. (HTTP 400)14:51
jdstrandso, cloud-publish-image is out. it'll be a while before I can try cloud-publish-tarball14:51
jdstrandsmoser: thanks for your help14:52
* jdstrand will try the other command later14:52
=== wedgwood_away is now known as wedgwood
smoserjdstrand, you can register a name with cloud-publish-ubuntu if you want14:52
smoserjust pass '--name'14:53
smoserand newer versions of it (i think) figure out that you probably wanted to do that and just register with the same name as the bucket/image if you dont give it one.14:53
smosermaybe i'm wrong though.14:54
smoseranyway.14:54
* jdstrand doesn't have a cloud-publish-ubuntu. tried passing --name to cloud-publish-image, but that didn't work14:56
jdstrandagain, don't think I care14:56
jdstrandfyi, nova image-meta 7 set "name=foo"14:59
jdstrandhmm, that only does it in nova, not glance15:03
jdstrandok, glance update 7 name=foo15:04
QuestPici,  do i need fcgid?15:09
PiciQuest: I don't know.  You might want to check out the server guide: http://help.ubuntu.com/12.04/serverguide/C/15:13
Questok15:14
QuestPici,  whats the difference between documentroot and directory in site file?15:18
Questone is with ending / and one without15:19
PiciQuest: I don't know off the top of my head, if you're looking for apache specific answers, your best bet is to ask in #httpd15:19
zuladam_g: +115:32
roaksoaxScottK: howdy!! I recall you rejected the SRU for python-django (maas related). this was uploaded with ubuntu1.5. Now, since I need to upload a new version dropping GenericIpAddressField, should I do it with 'ubuntu1.6' as a version?15:38
ScottKroaksoax: No.  If it was rejected, you can reuse the revision number.15:39
roaksoaxScottK: right, cause I get this: Rejected:15:39
roaksoaxFile python-django_1.3.1-4ubuntu1.5.debian.tar.gz already exists in Primary Archive for Ubuntu, but uploaded version has different contents.15:39
ScottKOdd.15:40
ScottKOK, then I guess it does need to be 1.6.15:40
ScottKMake sure someone else didn't do another SRU in the mean time.15:40
roaksoaxScottK: will do! thanks15:40
ScottK(maybe a security update)15:40
roaksoaxScottK: seems the previous upload is still there: https://launchpad.net/ubuntu/+source/python-django/1.3.1-4ubuntu1.515:45
agu10^hi15:45
ScottKLooking15:46
ScottKroaksoax: It looks like it was accepted and then removed, so you will need to bump the revision.16:00
roaksoaxScottK: yep, did that already! Thanks!16:00
fahostingHello16:29
Questvirtualhost and proxy for apache with tomcate config aid http://pastebin.ca/2316365   ?16:42
Questvirtualhost and proxy for apache with tomcate config aid http://pastebin.ca/2316370   ?16:50
RoyK!patienc16:51
RoyK!patience16:51
ubottuDon't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/16:51
RoyK!ask | Quest16:51
ubottuQuest: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience16:51
QuestRoyK,  thats a question in the paste16:51
Skaaghey there, tryint to build a new package and getting this:16:53
Skaagdpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../opentxs_0.88.f.orig.tar.{bz2,gz,lzma,xz}16:53
Skaagbut that file isn't supposed to exist yet16:53
Questcan anyone answer 3?16:55
Questcan anyone answer 3. in  http://stackoverflow.com/questions/14990973/tomcat7-and-apache2-on-ubuntu-in-integration-with-some-sort-of-proxy ?16:55
fahostingusing MAAS to build an environment suitable for Hadoop and OSCAR...completely virtualized on KVM with ipmi's enabled to each vm.16:58
fahostingdev environment and proof of concept using a single machine...I know I know..but as I said it's a proof of concept to microsize the environment.16:59
=== goddard is now known as Guest99653
Skaagwhat do you mean ipmi enabled for each vm?17:00
smoserfahosting, 'virtual maas' https://code.launchpad.net/~virtual-maasers17:03
smoseris very similar to what (i think) you're describing.17:03
smoserwe use maas to deploy a charm on a hardware system that sets up a maas itself with kvm nodes.17:04
* Quest waits17:04
fahostingsmoser yep exactly17:05
fahostingI didnt know about this project, very cool17:05
smoserfahosting, we'd love to have improvements or other users.17:06
smoserand i personally would'nt mind de-coupling the initial provisioning from a charm.17:07
smoserie, make the charm invoke more gneeral purpose stuff than have all the setup in itself.17:07
smoserfahosting, so the hangup as it is right now is that you have to have maas and juju setup.  then  juju tells maas to deploy a new system running the 'virtual-maas' charm.17:08
fahostingsmoser exactly, the problem I am facing is a very large dev group in a crappy environment. They dont have the 30 physicals to go that route but I can defintly virt the environment for them17:09
fahostingIf this works then great, if not then I will need to explore the RHEL / CentOS clustering and obtain a few low end machines.17:09
fahostingi.e OSCAR17:10
Skaagthere's an ipmi controller for virtual machines?17:34
Skaagvirtual ipmi?17:34
jdstrandsmoser: well, I used cloud-publish-tarball, made it public then updated the name and still have the same problem: http://paste.ubuntu.com/1700683/18:21
jdstrandsmoser: I can boot the aki kernel though, which is actually enough for my testing18:21
smoserjdstrand, ok. i'm sorry. i'ms ure there is some way to get what you're wanting.  maybe the issue was 'container_format=ami disk_format=ami'18:23
smosercontainer_format=bare disk_format=qcow218:24
smoserperhaps.18:24
jdstrandlet me try that18:24
smoseryou might just be getting lucky if it works with 'ami' elsewhere.18:24
jdstrandsmoser: thanks18:24
smoserjdstrand, i have a question though18:24
jdstrandk18:24
smosergiven an inline signature18:24
smoserhold on..18:25
smoserjdstrand, given http://paste.ubuntu.com/1700723/18:26
=== yofel_ is now known as yofel
smoserhow can i get information about who signed that ?18:27
adam_gzul: https://code.launchpad.net/~gandelman-a/ubuntu/quantal/cinder/2012.2.3-2/+merge/149749 plz18:27
smoseri guess ideally, given just the PGP SIGNATURE part, i'd like to know *who* signed it, and what checksum and such is expected.18:28
zuladam_g: +118:28
jdstrandsmoser: glance add name="my-glance/$img" is_public=true container_format=bare disk_format=qcow2 < "$img" seemed to work! :)18:29
* jdstrand looks at paste18:29
jdstrandsmoser: otoh (sorta), you can do 'gpg --verify <file>' and if it isn't in your keyring, snag the key ID, then feed that to 'gpg --search-keys'18:33
smoserjdstrand, right.18:34
smoseri was just wanting to somehow extract the info without actually attemping to verify.18:34
smoserie, i just wanted to know who it came from.18:35
jdstrandotoh idk, but maybe something like libgpgme11/python-gpgme could help18:36
=== SoulOfTheInterne is now known as ToBeFree
adam_gSpamapS: theres also now a rebased cinder package in the quantal queue to include another sec update18:52
=== daniel_-_ is now known as daniel_-
=== daniel_- is now known as Guest6998
Questwhy this config http://pastebin.ca/2316408  for alpinema.com nor alpinema.com/alpinemadotcom is working but only the independant tomcate request as alpinema.com:8080 works?19:00
genii-aroundI think you probably need a trailing slash on line 819:23
agu10^hi19:42
RoyKho19:42
zerickhi, anybody knows if it is possible - I mean, the normal way, not forcing - to install Varnish 2.1 on Ubuntu 12.04 ?19:45
=== daniel_-_ is now known as daniel_-
AngtagaHello, somebody successfully installed "OwnCloud"-Server on a Ubuntu server already?20:07
sliddjurim not sure i understand useradd -p20:23
sliddjurand man useradd tells me to go to man 3 crypt witch i dont have20:23
adam_gzul: http://people.canonical.com/~agandelman/folsom/nova_2012.2.1+stable-20121212-a99a802e-0ubuntu1.2~cloud0/20:24
sarnoldsliddjur: crypt(3) is in manpages-dev20:24
zuladam_g: +120:24
=== baba is now known as unix
rockpapergoatanyone have any tips on mounting kvm guest lvm images on the host? guest won't boot; says there's no device at the UUID, even though it's there. guest/host are ubuntu 10.04lts.20:45
xnoxrockpapergoat: loopmount diskimage, then use kpart -a on it.20:48
xnoxthen vgchange -a y20:49
rockpapergoatxnox: cool. i got it to mount once before but haven't since i unmounted it.20:49
xnoxin my case I use lv volumes as backing store for kvm, so I just run kpartx on the volume.20:49
rockpapergoatxnox: so i should be able to 'kpartx -av /var/lib/libvirt/images/vm_name.img' before mounting devices under /dev/mapper?20:51
rockpapergoatxnox: in doing so, i was able to mount the /boot partition but not the guest's lvm volume.20:52
xnoxrun $ vgscan20:52
xnox$ vgchange -a y20:53
rockpapergoatxnox: after mounting the /boot?20:53
xnoxno need to mount boot, but if you can mount that you should be able to detect lvm2 groups with vgscan20:53
xnoxand then activate them with vgchange -a y20:54
rockpapergoatxnox: i can mount /dev/mapper/loop1p1 but neither of the other two. vgscan shows no other volume groups.20:54
adam_gzul:  PITA! https://code.launchpad.net/~gandelman-a/ubuntu/quantal/nova/nova-2012.2.3-2/+merge/14993320:56
xnoxrockpapergoat: how about vgscan /dev/mapper/loop1p*20:56
xnox?20:56
* xnox can't quite remember the syntax.20:56
rockpapergoatxnox: vgscan only picks up the host's group. can't get it to see the guest's group devices under /dev/mapper.20:58
rockpapergoatxnox: thanks for the help, by the way.20:58
xnoxrockpapergoat: hmm... does it help mounting the partition with the volumegroup (e.g. the p3 i think?)20:59
rockpapergoatxnox: not sure what you mean there.20:59
rockpapergoatxnox: i have dev/mapper/loop1p[1,2,5], no 3.21:00
xnoxboot, (vg group), swap21:01
xnoxrockpapergoat: so mount p2 -> try vgscan, mount p5 -> try vgscan.21:01
zuladam_g: +121:01
rockpapergoatxnox: weird. i can't mount p2 or p5. "/dev/mapper/loop1p2 already mounted or /mnt/vm2 busy" even though there's nothing mounted at that mount point.21:04
rockpapergoatmount /dev/mapper/loop1p5 /mnt/vm321:04
rockpapergoatmount: unknown filesystem type 'LVM2_member'21:04
rockpapergoatxnox:21:04
rockpapergoatoops… sticky return key21:05
HHTI'm running 12.04.2 and having problem with netwoking. status always shows "netwoking stop/waiting"21:36
HHTI have no problem accessing internet or other machines but DLNA devices won't find the server21:39
sunya7a_hi guys22:17
sunya7a_is there a live cd for ubuntu server? or is that just crazy speak?22:17
sunya7a_i'm asking because i'm trying to install ubuntu on a mac os server…and I can only find instructions on how to do it with rEFIt … and those instructions seem to require a Ubuntu Live CD22:18
=== sw0rdfish is now known as Guest40293
SpamapSadam_g: sorry I suck, probably won't be able to re-review those two today. Will try to get to it tomorrow early22:44
adam_gSpamapS: ah, np. theres also a nova CVE too! so 3 total currently.22:46
SpamapSbad timing :-P22:46
adam_gyea22:48
pwarnerhow can I get my cloud-precise LXCs to start reliably in precise?22:54
pwarnerabout 1/5 of the time networking fails to come up.22:54
pwarnerI get an errors in /var/log/upstart/networking.log "ifup: failed to open statefile /run/network/ifstate: No such file or directory" and similar22:54
pwarnerhttp://paste.ubuntu.com/1702277/22:54
pwarnerit appears to me like networking is trying to come up in the LXC before /run FS is there, which does not seem to go well22:55
=== jhulten_ is now known as jhulten
=== sw0rdfish- is now known as sw0rdfish

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