/srv/irclogs.ubuntu.com/2012/05/14/#ubuntu-server.txt

=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
harushimohey question for you01:05
harushimoI'm using ubuntu desktop version but I want to install maas on it01:05
harushimoI want to mess around with cloud computing for ubuntu01:05
harushimocan I use it?01:05
bigjoolsyes, you just need to boot the cloud nodes with the server image01:06
harushimoI need ubuntu server iso also then?01:06
harushimoI'm learning some server side right now. I just want to do this right01:07
harushimoespecially with the cloud01:07
bigjoolsread this: https://wiki.ubuntu.com/ServerTeam/MAAS01:07
harushimoI currently installed maas on my desktop version01:07
harushimoI'll get the server image cd01:08
harushimothat was easy01:08
harushimothank you01:08
bigjoolsnp01:08
=== dendrobates is now known as dendro-afk
harushimomaas detected my router ip address not the main one01:10
harushimowould that be a problem for the cloud01:10
harushimois it better use maas with the ip address of my service provider?01:12
harushimodoes it take long to import maas profile? I'm running the script right now01:13
yaboowant to setup ufw, but have three interfaces, how do I allow all ports on e.g. eth3,4 and block ppp001:35
twbNot sure if you can in ufw01:36
twbBased on ten seconds looking at the manpage, I would guess: ufw default deny; ufw allow on eth3; ufw allow on eth401:38
yabootwo, thanks missed it01:38
=== Arc_ is now known as a5m0
=== Resistance is now known as EvilResistance
twbOK so in lucid, when booting a server without the "quiet splash" options, when init prints "fsck of /srv/backup/boot failed with exit status 1" (or thereabouts), and then JUST HANGS FOREVER, refusing to continue booting, what am I supposed to do?04:32
twbBecause AFAICT the only way to rescue it is to boot a live image and manually fsck it clean.04:33
twbWhich is bullshit, because the /srv/backup/boot filesystem isn't needed to bootstrap :-/04:33
henkjantry S for skipping mounting04:34
henkjanplymouth :( i don't understand why its in the server version04:35
qman__I haven't seen an fsck on my file server in years because of it04:36
qman__just have to hope it's working04:36
twbhenkjan: I booted without splash04:40
twbhenkjan: there is no prompt04:40
twbI think this also happens if you boot with splash, but you don't have the fancy plymouth-...-theme pacakge installed, but only the unremovable plymouth deps04:42
twbYeah, I just checked and same symptoms with "single splash", there is no splash at all even though plymouth is installed04:44
twbIt does respond to ctrl-alt-del event though, not totally hung.  Just upstart sitting there being useless as ever04:45
twbAnd this mobo is one of those stupid UEFI hybrid ones, and it thinks my USB rescue keys are UEFI bootable, so it can't boot them correctly04:46
=== almaisan-away is now known as al-maisan
henkjantwb: try booting in grub with init=/bin/bash05:54
twbhenkjan: well of course that will work05:55
twbBut then I have to fiddle-fart around assembling the array and lvs and so on, and AFAICT the actual problem won't be fixed05:56
henkjanno, mdadm an lvm should be working correct with init=/bin/bash05:57
twbOh, yeah, I was thinking break06:02
veebullinstalled squid, then squid-deb-proxy on 12.04 server (VM)... installed squid-deb-proxy-client on a Lubuntu 12.04 VM... squid doesn't appear to be working on the server for some reason?06:02
twbhenkjan: FWIW init=/bin/sh also hangs same way06:05
twbIt boots correctly if I comment out all the HDD's filesystems (i.e. all of /srv/backup), so now I'm trying it with them enabled, but with their fsck pass field set to 006:06
twb(i.e. skip fsck of them on boot)06:06
Techieis there any way to have ubuntu-server automatically transcode videos that appear in one directory, put the output in a seperate directory and delete the source?06:06
Techieand do this on a cronjob without trying to transcode if its already transcoding something06:07
twbhttp://paste.debian.net/168684/06:07
twbOoooh, I wonder if those LVs are set to be read-only06:08
twbI *know* under that circumstance, mountall jsut completely shits itself.  ISTR it does so with a much clearer error message, though...06:08
twbCould be all the ureadahead-other lines are getting in the way of seeing it.06:08
twbFuck, I worked out what it actually is.  Some of these LVs no longer exist, but fstab still expects them06:09
twbSo mountall is just sitting there waiting for them to be inserted or something equally inane06:10
twb!&^@#&^%!@#^!@#06:10
twbSome debugging messages would've been nicer06:11
henkjantwb: i'm so fed up with plymouth and upstart :(06:11
henkjanmissing sane logging06:11
twbI've been fed up with it for three years06:11
twbIt was only managable in hardy because it was handballing all the work to a proper init06:12
DavieyGoooooooooooooooooooooooood Morning08:05
linociscohi all08:14
linociscoi want to be ubuntu partner. but nobody here will buy  ubuntu commercial edition. how could I do?08:15
linociscothey will just ask for support08:15
linociscopreloaded mail server, proxy server will be popular08:15
ikonialinocisco: what are you on about08:19
Davieylinocisco: There is no such thing as Ubuntu commericial edition.08:20
linociscoactually, I want to start a new business like tech support or preloaded ubuntu servers(mail,squid,firewall, dual wan loadbalancing) with system unit together. But I would like to be acknowledged by ubuntu08:20
linociscoactually, I want to start a new business like tech support or sell  preloaded ubuntu servers(mail,squid,firewall, dual wan loadbalancing) with system unit together. But I would like to be acknowledged by ubuntu08:21
=== smb` is now known as smb
Davieylinocisco: you probably want to get on the Ubuntu Marketplace, http://www.ubunut.com/partners/programme08:25
linociscoDaviey, thanks. let me check out08:26
linociscoaskubuntu.com vs ubuntuforums.org ??08:34
linociscofor server related questions, which one is more interactive?08:34
biomanHello08:40
biomanGot a problem with networking :/ I use eth0 and eth0:1. "service networking status" returns "networking stop/waiting" but it works infact...08:42
twbbioman: that's an artefact of how upstart reports things08:44
biomanwhen I try with the deprecated method "/etc/init.d/networking restart" it says "RTNETLINK answers: File exists" and "Failed to bring up eth0:1"08:46
biomanbut both appear with ifconfig...08:46
sorenYou probably created eth0:1 manually and have now added it to /etc/network/interfaces?08:48
twb:1 is gibberish08:49
twbIt's only applicable to ifconfig and only because ifconfig is too stupid to understand that an iface can have zero or more addresses08:50
biomansoren: no, I've created it in /etc/network/interfaces08:50
twbbioman: pastebin your /etc/network/interfaces08:50
biomantwb: a moment please. I'm used to use Archlinux, Ubuntu is at work. Which tool can I use please ?08:53
twbapt-get install pastebinit; pastebin -u http://paste.debian.net/ /etc/network/interfaces, IIRC08:53
maxb/sbin/ip is generally regarded as the modern replacement for ifconfig08:53
twbmaxb: AIUI ifupdown 0.7 uses ip internally08:54
twbAnd I thought ifupdwn 0.7 was rolled out a few releases back, but I'm still on lucid so I dunno08:54
biomantwb: http://paste.ubuntu.com/98683108:56
twbbioman: what version of ifupdown do you have08:57
twbIf it's a second *card* it should be iface eth1 not eth0:108:57
twb(Or whatever the iface is named; "ip link" will list all known ifaces.)08:57
biomantwb: It's for a DRBL. It will be installed on a laptop which has only one physical network card08:58
twbI don't know what a DRBL is08:58
biomantwb: drbl.sourceforge.net :)08:59
twbWhat, PXE?09:00
biomanyep09:01
twbYou know live-initramfs can PXE boot off an arbitrary http URL, right?09:01
twbSo you can PXE the ramdisk, and that can pull down the .iso or .img from the internet even09:01
=== jtv1 is now known as jtv
biomantwb: here it will be used for the clients to install a syspreped Windows XP Pro09:02
twbLame09:03
sorentwb: Oneiric is the first release with a 0.7 ifupdown.09:03
twbsoren: thanks09:03
twbbioman: what ubuntu release are you running?09:03
biomantwb: 12.04 LTS (need "latest" kernel, for hardware recognizing). Here we have one in 11.10, but it does not work with recent PC's because their hardware is too recent09:05
sorentwb: Are you familiar with rmadison?09:06
twbsoren: yeah I was just lazy -- sorry09:07
sorentwb: No problem at all. Just wanted to make sure. It's quite handy :)(09:08
soren:)09:08
biomanAh, another thing : Now when I boot, there is a message "Waiting for network configuration..." for more than 40s, then "waiting up to more 60 seconds for network configuration..." which is really annoying. How to fix this please ?09:11
=== daker__ is now known as daker
trapnidoes keystone (still) need "passlib"? is it a hard dependency? (I am to write packages for Gentoo, currently, and feel a bit clumsy about OpenStacks dependencies :)09:18
twbbioman: I *strongly* recommend you investigate live-initramfs (and maybe live-config and live-build).09:18
twbbioman: they are a central effort to solve this class of booting, once and for all09:19
twbThe Ubuntu effort is called "casper" but AFAIK it only tries to solve Canonical's problems, and isn't really set up for end users to use09:19
biomantwb: I come from Archlinux world, dunno what all you tell me is for...09:23
=== al-maisan is now known as almaisan-away
biomanhey people don't tell me you dunno how to get rid of those annoying messages ?09:47
twbbioman: what annoying messages09:53
biomantwb: at boot, "Waiting for network configuration..." (nearly 40 seconds) and "Waiting up to 60 more seconds for network configuration..."10:02
biomantwb: found those messages in /etc/init/failsafe.conf10:05
twbJust comment them out10:08
biomantwb: before doing this, can you explain me what is this file for please ? using the sleep command make the PC in stand mode isn't it ?10:12
twbSorry, I'm busy10:14
Techieif anybody in here is after automated transcoding of videos inside a folder, http://pastebin.com/wWYDpcvg11:47
Techieit uses HandBrakeCLI   and doesnt play nice with sub folders11:48
ikoniaTechie: handbrake has a command line tool that works fine12:02
ikoniano need for anything else12:02
Techieikonia, its for automation12:04
ikoniayes, you can automate with handbrake12:04
Techieikonia, when hooked up as a cron12:04
ikoniajust feed things into the queue and click "go"12:04
Techieit checks to see whether anythings converting12:04
Techieand if nothings converting it converts everything in a specified folder12:05
ikoniahandbrake does that12:05
Techieso rather than having to que things up, you just dump them in a folder12:05
ikoniait converts to what you want and checks comatability before processing12:05
Techiedid you even look at the script, or are you just bashing me because you dont understand it?12:06
ikoniaI'm not bashing anything12:06
Techiethen did you atleast look at it12:06
ikoniaI glanced at it12:07
ikoniadidn't really follow it through as the description you've given explained the idea12:07
Techiethen you should have noticed that it doesnt require the user to queue anything or invoke it manually12:07
ikoniait does12:07
ikoniait requires users to put things in the right directories12:07
ikoniathat's the same as adding to a queue12:07
Techienot when your using server12:08
ikoniayou may as well just add to the queue in handbrake a proven and supported solution12:08
ikoniaTechie: of course when you are using a server12:08
Techiewhen server adding to a folder is simple12:08
ikoniathe command line tool has add to queue functionality12:08
ikoniaTechie: adding to the queue is simple12:08
ikoniaand you don't need to worry about arranging subdirectories12:08
Techieunfortunately the queue function requires too much reading for my taste, so i created an alternative based on what i need, and i felt that it may be suitable for others12:09
ikoniaso rather than read a few lines you've created an unsupported shell script wrapper12:09
Techieyep12:10
Techiecoz thats how i roll12:10
ikoniapeople could just read about 10 lines of docs for the cli synatax12:10
ikoniaseems silly to offer this to people as a solution when an out of the box product does it better with more functionality12:10
Techieim not saying its a replacement for the proper method12:12
ikoniayou're offering as a solution12:12
Techiea solution thats easily configuable12:13
ikoniawhich in my view seems pointless as the official tool your wrapping around works fine without this script/need for specific layout and offers more options without your wrapper12:13
Techiethats the only reason im offering it12:13
ikoniaeasier to just use the correct tool without the wrapper12:13
ikoniamore options, no specific file system layout needed etc12:13
ikoniabut a good effort on your part12:13
Techiei find that for most users, more options = more confusion12:14
Techieincluding me12:14
ikoniaTechie: but you've hardcoded it to settings you like12:14
ikoniaand you've stipulated a specific directory layout12:14
ikoniathat seems harder than the official tool12:14
Techiethat being said, this is my first version12:14
ikoniamore so as there is an unofficial ncurses wrapper for it (if you want a menu driven interface without the gui)12:14
Techiei havent had years to refine it12:15
ikoniayou shouldn't need years12:15
ikoniait's a 30 line shell script calling a program that exists and is well documented12:15
ikoniaI did something very similar with mplayer and mencode, then realised handbrake did it better and easier12:15
ikoniamencoder even12:15
Techiebut you still did it12:16
ikoniaI had it doing subdirectories, chapter seperation/naming etc etc, then realised it was a pointless effort12:16
ikoniaTechie: yes, because mencoder didn't have a tool to do what I want12:16
ikoniaand I didn't offer my solution to people12:16
Techiethe same with this12:16
ikoniayou're aware of the tool handbrake as you actually call it and you're chosing to make it more complex/rigid by wrapping it in a shell script12:17
Techiei didnt realised that i could control the CLI version to the extent that i could control the GUI12:17
ikoniaTechie: I'd say %85 maybe a little more is available in the cli12:17
Techiethats why i created this wrapper12:17
ikoniathe profile options are very useful12:17
Techienot because i wanted to change the way things worked, but to get things to work how i wanted, with the knowledge i already have12:18
ikoniabut you'll find it easier/better to probably just use the tool12:18
ikoniaespecially if you created a profile for the settings (encoding) you like12:18
Techiemaybe further down the line i will redo it from scratch to work compltely wiht every option handbrake offers12:19
ikoniawhy do it at all ?12:19
ikoniajust call the handbrake binaries12:19
Techiebecause then i have to call them each time12:19
ikoniayou have to call this script each time12:19
Techiethis was created so i could just dump files onto the server via samba and have them convert12:19
ikoniaI don't see the difference12:19
Techiealso so my dad could drop files12:19
ikoniasorry, I don't see any value to it, but if you find it useful, good on you12:20
Techieokay12:20
Techieanyway im off, i have work tomorrow.    night ikonia12:20
ikoniagood night12:20
=== almaisan-away is now known as al-maisan
zulgood morning12:33
gary_posterapw, hi.  IS has some concerns about implementing the work-around to bug 944386 in the data center (comment #4 from kees disabling protected_nonaccess_hardlinks).  If I were able to beg borrow or steal escalation privileges from someone, how likely is it that we'd be able to get a Precise release of a fix for this?12:47
uvirtbotLaunchpad bug 944386 in linux "Making a hard link of a 0444 permission file fails in overlayfs [Precise]" [Medium,In progress] https://launchpad.net/bugs/94438612:47
gary_posterand what might the timeline be?12:48
apwgary_poster, i thought we expected that to be fixed upstream, so working now in quantal, if so then it may well be an easy job.  if so then 3 or so weeks to an official kernel a few days perhaps to get something you can test in the interim?12:51
gary_posterapw, ok, fantastic, thank you.12:52
apwgary_poster, am off today will make a note to poke that in the am12:52
gary_posterapw, understood, thank you12:52
=== dendro-afk is now known as dendrobates
ruben23hi guys i have uname -r ---> 2.6.18-308.el5.028stab099.3 an i would liek to install kernel headers but only see this version available ---> http://pastebin.com/rPqHjgav ---> it does not fit on its version and it wont install, any idea how to make this work..? to have same exact version..?14:08
ruben23help please how to make it worked..?14:09
nathwillruben, that looks like a rhel kernel...14:18
filo1234hi all14:21
filo1234I'm looking for a way to start recovery ( when I choice it ) in netroot by default... without display choice menu options14:22
ruben23nathwill: this is ubuntu server 10.034 LTS instaled on a VPS server..14:36
nathwillah. i'm used to seeing the el business on my rhel machines14:37
RoyKruben23: the 'el' in the kernel name there, is "enterprise linux", meaning redhat14:38
_rubenthat's no ubuntu kernel, so good luck finding the kernel headers, i'd ask the vps provider14:38
=== al-maisan is now known as almaisan-away
RoyKruben23: it might be openvz, though14:39
RoyKubuntu running under redhat with openvz, although it looks hairy14:39
ruben23yes its openvz..sorry guys14:40
nathwillwonder if the linux-headers-generic package would work for you.14:44
zulDaviey: ping does maas setup the dnsmasq to do the tftp?14:50
ahxcjbRoyK: OpenVZ is unsupported on RHEL14:51
ahxcjbit will invalidate Red Hat's ability to support the RHEL server14:51
ahxcjbgiven it replaces glibc iirc14:51
koolhead17zul, am not correct but currently its cobbler which creates profiles 4 the deplyment14:57
zulk14:57
RoyKahxcjb: I didn't know that, but the kernel version he posted, 2.6.18-308.el5.028stab099.3, looks like RHEL to me14:57
ikoniait's going to be some junk virtualzation14:58
RoyKmight be completely wrong, though :)14:58
koolhead17*sure14:58
RoyKikonia: openvz doesn't virtualize the kernel, does it?14:58
ikoniait's a RHEL 5.5 customised kernel14:58
ikoniait's not even a stock RHEL one14:58
ikoniaRoyK: no, it uses the hosts14:58
ikoniathe 028stab099.3 big suggests someone's modified it beyond redhat's though14:58
ikonia"bit"14:59
Davieyzul: maas sets up tftp by default, but doesn't touch dhcp, unless you install maas-dhcp15:08
zulDaviey: gotcha but maas-dhcp is dnsmasq right?15:08
Davieyyah15:08
LemU_Hi! I would need help... I was following this guide https://help.ubuntu.com/community/UbuntuCloudInfrastructure#Deploying_Ubuntu_Cloud_Infrastructure_with_Juju     Im almost end of guide but cloud-publish-tarball ubuntu-11.10-beta1-server-cloudimg-amd64.tar.gz images ain't working.15:51
LemU_It just gives me: Unable to run euca--describe-images.  Is environment for euca- set up?15:51
LemU_So I was wondering if there is someone who understands eucatools better than I am and sees why i can't use it15:52
alex88hello guys, someone tried chef deploy tool?15:54
JC617Can anyone verify if scp and rsync come pre-installed (shipped) with Ubuntu Server 10.04 LTS?16:09
=== matsubara is now known as matsubara-lunch
biomanHi16:31
=== iPhone is now known as Guest20494
Guest20494I really need help here: https://answers.launchpad.net/ubuntu/+question/19718416:43
Guest20494If someone is familiar with eucatools+juju+maas combination, I would love to have opinion what I am doing wrong16:47
biomanWhat's going on with the "service" command ? "service networking restart" says "stop: Unknown instance:". service start networking says "networking stop/waiting"16:47
=== Lcawte|Away is now known as Lcawte
* bioman is thinking...17:05
pdtpatrickhas anyone installed Landscape Dedicated server ?17:08
KM0201doesn't that cost money?17:12
pdtpatrickright - I'm trying to figure out whether it is just to license the landscape software or will it require a license for each server it manages (that'll suck).17:14
KM0201no idea.17:14
JarmoAnyone familiar with setting up Cloud with MAAS + juju?17:16
pdtpatrickJarmo: i believe there's a #juju room17:17
Jarmothere they did sent me elsewhere, because they thought it has something to do with eucatools... (or something like that)17:17
Jarmobut I'll try juju room too :)17:18
pdtpatrickseems like the juju technology is quite new so i've been struggling to find help myself or get a solid understanding of how the inner parts work. For instance, it'll be nice to see a decent guide on openstack17:19
Jarmowe are settnign up openstack :)17:22
pdtpatrickha! is that what you're trying to find help on ?17:22
Jarmoand actually we did it up with maas + juju, but we cant add images17:22
Jarmo*get it up17:22
pdtpatrickwas there a guide you followed?17:23
pdtpatricki got all way to the dashboard17:23
Jarmoyes17:23
pdtpatrickwas a PITA -- their documentation is LONNNNGGG17:23
Jarmosec..17:23
Jarmohttps://help.ubuntu.com/community/UbuntuCloudInfrastructure17:23
Jarmoeasy & good guide... there is couple of bugs wich we did find17:24
Jarmojust make sure your bios time is same on all machines  & If machines wont get RUNNING state: do this on MAAS server machine: sudo ufd disable, then detroy environment and put it up again... Seems your firewall is blocking connections between zookeeper & machines!  Note for myself: You can delete installed "charm" without destroying whole enviroment.... just cant remember command atm...17:25
Jarmoand it works17:25
pdtpatricki tried that .. that openstack.cfg never worked. each time i typed "juju deploy --config=openstack.cfg keystone"17:25
pdtpatrickit'17:25
pdtpatrickit would say charm not found17:25
Jarmoi have solution for that!17:26
alex88i installed openstack from official guide and i can confirm it's a PITA! :) it also have some errors17:26
Jarmoor in that document it is phase 2.... then instead "juju deploy --config=openstack.cfg keystone" you type juju --config=openstack.cfg --repository=. local:keystone17:27
pdtpatrickyeah their documentation is not clear. And all their usernames and id field -- better hope you have a large paste buffer or else you'll find yourself having to start over. Especially because you are not warned that you'll need each of those "id" fields it keeps generating17:28
Jarmoeverything else is working, but just can't add images there..... I hate when i cant find solution :P17:28
pdtpatrickJarmo:  so you copied the repo to ur local box ?17:28
Jarmoyeah and to ROOT17:29
pdtpatrickJarmo: did you turn on logs for juju and see what happens when u click to make an image ?17:29
Jarmobut you cant be root users when giving that command, but u must be at root, not at that  folder you craeted17:29
pdtpatrickJarmo:  at a different terminal, in ur bootstrapped environment. Type - juju debug-log17:31
pdtpatrickor u can do it in your current17:31
Jarmothere is no click to make image :(  it is like uec-publish-tarball ./ubuntu-11.10-beta1-server-cloudimg-amd64.tar.gz images gives me nothing, because i dont have access to eucatools or something :/17:31
pdtpatrickinteresting17:31
pdtpatrickI'm sure well let me know if the guys in #juju help as i'll be going through this myself soon :(17:32
biomanGot a problem : After a reboot, resolv.conf is empty so I cannot apt-get install...17:32
Jarmouec-publish-tarball isn't right btw it is cloud-publish-tarball17:32
JarmoIt gives me this output: Unable to run euca--describe-images. Is environment for euca- set up?17:32
pdtpatrickbioman: are you using static entries in /etc/network/interfaces? if so then add dns-nameservers and dns-search as part of you interfaces config17:32
JarmoAnd if I undrestand right following guide, using those CREDS should give me right access to right place :P but there happens something what i just dont understand17:33
biomanpdtpatrick: thank you :) Yep static... so for example I add "dns-nameservers 8.8.8.8" ?17:34
pdtpatrickyeah its a bit baffling right as as its a new technology. Im hoping it'll get automated soon where the .deb package actually walks you through setting it up or they create some frontend to configure it.17:35
pdtpatrickbioman: yes.17:35
biomanpdtpatrick: thank you. Maybe you could help me again... I have installed DRBL. The problem is that when I boot PXE on a machine I want to get, I have "PXE-32: TFTP open timeout" :/17:41
pdtpatrickon the machine running tftp .. do you see anything in the logs?17:43
=== matsubara-lunch is now known as matsubara
biomanI've installed tftp-hpa but done no configuration...17:43
pdtpatrickyou should probably configure that and ensure that your DHCP server has the correct pxelinux.0 settings. So that when the clients boot up, they know which server to contact to the files17:44
biomanpdtpatrick: I'm new to Ubuntu Server. Any wiki please ?17:46
pdtpatrickone second.17:46
pdtpatrickhttps://help.ubuntu.com/community/PXEInstallServer17:46
JarmoIt is funny when I throw my question at #juju they say come here, and when i throw it here people tell me to go #juju :P17:48
biomanpdtpatrick: thanks17:50
pdtpatricknp17:50
biomanpdtpatrick: it going the wrong way. No /etc/init.d/tftpd-hpa :(17:52
pdtpatrickyou'd got to install the package17:52
pdtpatrickyou've*17:52
pdtpatrickyou can check for the tftp package "apt-cache search tftpd-hpa"17:53
biomanpdtpatrick: I've installed the wrong one ;)17:53
pdtpatrickand install it with "apt-get install <packagename>"17:53
pdtpatrickhehe well there u go :)17:53
biomanpdtpatrick: at the dhcpd config, here it goes :17:58
biomanfilename "pxelinux.0"; next-server <pxe host>;17:58
pdtpatrickright17:58
pdtpatrickso that's what you'll fill out. That needs to point to whatever server has tftp running and listening17:58
biomanwhere do I get pxelinux.0 ? <pxe host> : what should I write here ?17:59
pdtpatricksee where it says "Configure dhcpd"17:59
pdtpatrickin /etc/dhcp3/dhcpd.conf17:59
pdtpatrickyou've also have to have dhcp3 installed17:59
pdtpatricksudo apt-get install dhcp3-server18:00
pdtpatrickand if your server is at 10.0.1.2 then your next-server would be "next-server 10.0.1.2"18:00
biomanpdtpatrick: installed yet ;) OK for next-server. But where do I find the file pxelinux.0 ?18:01
pdtpatrickthat's also on the tftp server18:01
biomanSo I only enter the line and that's all ?18:02
pdtpatrickyup18:02
pdtpatrickhttp://www.youtube.com/watch?v=q-MX2B4OpO818:02
biomanthank you :)18:03
pdtpatrickwatch that video and see if it explains things a bit18:03
pdtpatrickhere's an extended video -- its for CentOS but same concept18:03
pdtpatrickhttp://www.youtube.com/watch?v=XxULo0FLDR818:03
pdtpatrickHas anyone used this ?18:20
pdtpatrickhttp://www.drbd.org/mc/management-console/18:20
=== LyonJT is now known as LyonJTill
Jarmohas anyone been able to do something like this : https://help.ubuntu.com/community/UbuntuCloudInfrastructure and making it working? i'm having problems with eucatools part at the end... and would love to have tips... :D18:35
alex88Jarmo, page isn't loading here :/ is that openstack?19:02
Jarmoalex88 yes19:02
pdtpatrickJarmo:  the logs didn't show anything ?19:03
Jarmoalex88 It aint loading here either atm :/19:03
pdtpatricki remember during my install, you had the option of using ec2 or eucal cloud or creating your own local19:03
pdtpatrickmaybe u choose the former and now it is looking for such service ?19:04
Jarmopdtpatrick  not those logs wich I was watching... but im not 100% sure where to look... thats why im having really hard time to find where it goes wrong..19:04
pdtpatrickin the same terminal you're working on19:05
pdtpatrickjuju debug-log19:05
pdtpatrickit would do something like a tail -f19:05
pdtpatrickand then try navigating around and see if u get any logs19:05
pdtpatrickit might tell u what it is trying to do and failing19:05
JarmoBut im installing it from charms, so i didnt have to choose device...19:05
pdtpatricki guess the question then is - do the charms default to local or some other cloud technology19:06
Jarmohmmm, i think I have to try that tomorrow when I'm at my office again... at some other channel ppl told me that those creds wich i did use should give me ability to use eucatools at any computer with is at same network19:07
pdtpatrickthat sounds like u should already have euca server19:07
pdtpatrickunless the charms auto deploy one for you19:08
pdtpatrickdammit - - we need the person who wrote that charm haha19:08
JarmoFor that guide, wich we can't reach atm... (damn) i think charms did install it (or atleast should have done that)19:08
Jarmothis is what that guide deploys juju deploy mysql juju deploy rabbitmq juju deploy --config=openstack.cfg keystone juju deploy --config=openstack.cfg nova-cloud-controller juju deploy --config=openstack.cfg nova-volume juju deploy nova-compute juju deploy glance juju deploy openstack-dashboard19:09
pdtpatricki don't know much about the euca itself so maybe try to see without openstack if you can get to it and make some changes. If it continues to complain then it could be that it has wrong permissions. Considering it does not run as root (maybe the files/service it is accessing is controlled by root currently? )19:10
pdtpatrickyeah when i was installing mine, i don't recall seeing eucatools n e where.  so that's why I was wondering whether it is using local storage or some other cloud19:11
pdtpatricki know it tells you that you can use KVM, or XEN, or EC2 with amazon or euca19:11
pdtpatrickbut u have to have already set them up otherwise u cannot proceed.19:11
pdtpatrickat least that was my understanding when i read the docs19:11
Jarmohmmm, tbh that makes sense... because before I used eucatools, i had to be root, now that guide doesn't say anything about beeing root (even tho I did try it, and didnt help)19:12
pdtpatrickright so maybe the logs would say permission denied for <filename> and that would be ur canary in the coal mine?19:12
Jarmowell that is atleast best hint where to look it :)19:13
pdtpatrickyup19:13
Jarmothis is how guide says it: EC2 API  To begin using the EC2 API, select Settings-> EC2 Credentials -> Download EC2 Credentials in the Openstack dashboard. Save the file (eg, /home/adam/openstack/"). We can then unzip these and begin using our cloud:  cd /home/adam/openstack unzip 247e0c5de9dc415a8e411da643308eb6d-x509.zip . ec2rc.sh wget http://uec-images.ubuntu.com/server/server/releases/oneiric/beta-1/ubuntu-11.10-beta1-server19:13
Jarmouec-publish-tarball ./ubuntu-11.10-beta1-server-cloudimg-amd64.tar.gz images euca-add-keypair adam >adam.pk euca-run-instances -k adam ami-0000000219:14
Jarmoand uec-publish-tarball  is where my problems begins.. (yeah I did realize that it is cloud-publish-tarball now)19:15
Jarmoand BTW when i give command "wrong" way it realises what im doing and helping me..... until I give right command and then it tells: Unable to run euca--describe-images. Is environment for euca- set up?19:16
Jarmo*"wrongway"19:16
pdtpatrickyup so looks like ur going to have to setup euca and then continue with openstack19:17
Jarmowell, normally it wouldnt be problem, but Im not exactly sure how I can add it to maas + juju environment :O19:20
pdtpatrickwhen it said get ec2 credentials19:20
pdtpatricku already had a working AWS account ?19:20
Jarmoyeah19:21
broderout of curiosity, what does the ec2 ami build process look like? trying to just do some basic auditing - i.e. where does it run, how controlled is the access, etc19:21
Jarmoor wait...19:21
Jarmoi had installed those charms i did mention before, i had created new project, added user to it (via dashboard), the logged in as that user, and there was putton export credentials19:22
Jarmonow it works again!! :https://help.ubuntu.com/community/UbuntuCloudInfrastructure19:23
pdtpatrickJarmo:  but can u for instance log into AWS console and create an EC2 instance? do u have that ability?19:23
pdtpatrickwait what? it works now? what changed?19:23
Jarmoi mean that guide page :D19:23
Jarmoremind me AWS stands for?19:24
pdtpatrickhttp://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using-credentials.html19:24
Jarmohmmm... now I'm really confused... I dont think I had to use AWS before, and didnt think I have to use it now....19:27
pdtpatrickyeah looks like that guide is using their API19:27
pdtpatrickto create an EC2 instance19:27
pdtpatrickso u'll need an AWS account19:28
pdtpatrickto be able to create/launch the instances19:28
pdtpatrickthey should probably be more clear on that documentation19:28
Jarmoagree!19:28
Jarmobut that explains why I'm having  problems!19:29
pdtpatrickBut the good news is u can sign up for the AWS account and you get a free instance for 90days i think -- i forgot what the promo was but Amazon will tell u when the trial ends either way19:29
pdtpatrickso once u do that and then u import ur credentials - u should be able to launch those images and u'll be less stressed :)19:30
Jarmothank you very much, i have been wrestling with these images whole day! :)19:30
pdtpatrickand maybe u can blog about it with screenshots hehe. I might add that to mine after i finish my installation. http://thinkfirstblindsecond.com19:30
pdtpatrickJarmo: no problem19:30
pdtpatricklet me know how it goes19:31
Jarmoi will, after that i think I have to start looking way to deployin own system so wotn have to use AWS :D19:31
pdtpatrickyeah :) . If u look on the openstack docs, it shows you how to use local. One second i think i have that guide19:32
resnopdtpatrick: you use openstack?19:32
JarmoIt is just wierd that guide dont way any word about AWS...19:33
pdtpatrickresno: trying to -- still new to it myself. I'm just learning on the fly19:33
Jarmo*way  = say19:33
pdtpatrickJarmo:  so in your environments.yaml file19:34
pdtpatrickis where you'll do that19:34
pdtpatrickhttps://juju.ubuntu.com/docs/getting-started.html19:34
pdtpatricksee where it says ec219:34
pdtpatricki believed i changed that to local for me19:34
pdtpatrickscroll down a bit - it should show u an example19:34
Jarmook, I dont know way to show how thankful I am at this moment :D19:35
pdtpatrickno worries - we all help each other right? :) I'm sure I'm going to run into a PITA problem soon. like DRBD cluster!19:36
resnopdtpatrick: are you using it in "enterprise" or just home use?19:36
pdtpatrickresno: home. Will be testing it in enterprise in couple of weeks when I'm done with my current project.19:36
resnopdtpatrick: im on the cusp on setting up our office system and im not sure which of the multitudes of optoins to go with19:37
pdtpatrickresno: i keep hoping that the process is more streamlined but you've gotta jump through some hoops for now to get it working but once u do - you're quite pleased.19:37
resnopdtpatrick: you said, yaml file, is it ruby based?19:37
pdtpatrickresno: well the whole juju idea is quite fantastic actually. Two commands and you have an entire service up is pretty lovely but its very nice. So currently I'm using ESXi cluster. But i'm going to continue testing until i feel comfortable enough to switch. I would have for it to start misbehaving and i'll have to spend hours troubleshooting while servers are down. That would be horrible19:39
pdtpatrickresno: yaml does not necessarily mean ruby. I believe most of openstack is python19:39
pdtpatrickit just uses the yaml format to import the configs. They could have easily used JSON but yaml is easy to read19:39
pdtpatrickso u'll put that in your ~/.juju/environments.yaml19:40
veebullHow can I tell if squid-deb-proxy is working?19:40
pdtpatrickveebull: did u check the .conf files to see if it listens on some port?19:43
=== dendrobates is now known as dendro-afk
pdtpatrickveebull: sounds like the squid-deb-proxy is similar to apt-cacher-ng which listens on port 314219:43
veebullI know its *running*... I see it in the list of services @ startup, and I can see it running in htop.19:45
veebullwhen client machines run updates, the squid process for squid-deb-proxy goes active...19:45
pdtpatrickdoes it web interface to show u the hits and misses? if not -- i guess the way to check is to do "apt-get update"19:45
pdtpatrickthe first time it would pull the packages19:46
veebullbut I'm not seeing anything cached in /var/spool/squid319:46
pdtpatrickand then run it again - it should be significantly faster since it does not have to out to the web19:46
veebullwhere should I be seeing the cache growing at?19:47
pdtpatrickveebull: okay i just wrote19:52
pdtpatrickthis19:52
pdtpatrickhttp://www.thinkfirstblinksecond.com/2012/05/14/apt-cache-ng-on-ubuntu/19:52
pdtpatrickthat should help you set up an apt-proxy19:52
pdtpatrickThis way you can actually see the hits and misses19:53
veebullI'll keep that in mind... I kind of wanted to find out what was wrong with the setup I have - especially since its supposed to be 'zeroconf'... ;)19:59
veebullinstall squid-deb-proxy, avahi-tools, and squid-deb-proxy-client on the server20:00
pdtpatrickright they want u to use the client20:00
pdtpatrickso whenever the server downloads a file, it also caches that20:00
veebulland install squid-deb-proxy-client on the clients, and voila, it *should* be working20:00
pdtpatrickbut you can also see what files the proxy package installed20:00
pdtpatrickdpkg -L <packagename>20:01
pdtpatrickthen check those configs to see where it puts things20:01
pdtpatrickfor instance - u can tail -f the logs on the server or you can do a watch -d  on the directory where squid should be writing and see if any new files are modified or created20:02
pdtpatrickbut it doesn't seem like it has a web ui - so i'll suggest using apt-cacher-ng as i posted on the blog which gives u the hits and misses so u at least know what's going on20:03
pdtpatrickand if u wanna go a step further - u can repackage the .deb file so it automatically installs the client 03proxy file. But that's if u wanna geek it out20:04
=== Ursinha_ is now known as Ursinha
nyr0xso, i'm trying to deploy a bunch of server with maas, is there any way to define custom host names that actually work? i can specify them in the web front end but cobbler doesn't pass them to dnsmasq20:16
=== Ursinha` is now known as Ursinha
pdtpatricknyr0x: does clobber use dhcp server? i think it gives u the option to have it use its own dhcp server or use one that you already have right?20:18
=== Ursinha is now known as Guest74162
guntbertGuest74162: connection problems? :-)20:18
Guest74162guntbert, yeah :)20:19
=== Guest74162 is now known as Ursula___
=== Ursula___ is now known as Ursula_
pdtpatricknyr0x: so if ur using your own dhcp server .. then adding something like this would give your machine a hostname20:20
pdtpatrickhttp://pastie.org/391179920:20
=== Ursula_ is now known as Ursinha
guntbertUrsinha:  may I suggest you fix them where you are not cluttering this channel?20:21
nyr0xpdtpatrick: the only running dns and dhpc server is dnsmasq setup with 'sudo aptitude install maas-dhpc' the node is available with 'ubuntu.domain' but not with the hostname i specified in the maas web front end20:21
Ursinhaguntbert, sorry, they are fixed now20:21
guntbertUrsinha: glad you made it :-)20:22
veebullack.  Found it.  /var/cache/squid-deb-proxy => 346MB :) :) :)20:22
pdtpatricknyr0x: check and see what files were installed by mass-dhpc and then see where it keeps the dhcp file. Once found, check the file and see if it added your host correctly.20:22
pdtpatrickveebull: :)20:24
nyr0xpdtpatrick: apt-flie doesn't show any files, the package only sets the range gateway etc. with orchestra cobbler wrote a host file based on the know systems that would be included in the dnsmasq config. using the maas web front end this is not longer happening, further more it looks like something goes wrong when cobbler installs server because cobbler sets a wrong hostname20:39
pdtpatricknyr0x: "dpkg -L mass-dhcp"20:39
=== dendro-afk is now known as dendrobates
pdtpatricknyr0x: i'm too well versed on what cobbler should do behind the scenes. I'm using foreman + puppet to provision my servers.20:41
pdtpatrickhttp://theforeman.org/projects/foreman/wiki/Screenshots20:41
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
nyr0xpdtpatrick: the only file that is written is '/usr/share/lintian/overrides/maas-dhpc' with the content 'maas-dhcp: postinst-uses-db-input'20:43
brainysmurfCan I setup an ldap that populates the directory with the posix accounts and passwords?20:47
pdtpatricknyr0x: sorry i cannot be of further help with cobbler. Haven't used it much myself.20:51
brainysmurfI know openldap needs a config file, but I was wondering if there wasn't a way to do so automatically?20:52
ARTSIOMon 12.04 I have created a new user. why it is not picking up path from /etc/environment?21:45
ARTSIOMI thought variables added to /etc/environment are global...21:53
nathwillARTSIOM, does the bashrc in /etc/skel redefine the PATH?21:57
nathwillah21:57
nathwillnm, other variables21:57
nathwillprobably not path21:57
ARTSIOManyway I have checked it and scripts in /etc/skel are just trying to enhance PATH with ~/bin folder22:03
JonEdneyI was reading in the Ubuntu Server book, that  you could install an OEM version of the server O/S, but it didn't say what the difference was between the OEM, and going about it the normal way.22:04
ARTSIOMmaybe newly created user should be in some special group to see variables in /etc/environment?22:04
ARTSIOMone more question: I have added conf file to /etc/init folder. Now I can stop/start my application using service comand, but my application is not starting automatically on boot. how can I configure start on boot?22:14
=== dendrobates is now known as dendro-afk
pdtpatrickARTSIOM: if ur using upstart then "start on runlevel [23]"22:28
pdtpatrickif ur using SysV then "update-rc.d <servicename> defaults"22:29
ARTSIOMpdtpatrick: I am using upstart. what is the difference between runlevels 2 and 3?22:30
pdtpatrickhttp://www.debianadmin.com/debian-and-ubuntu-linux-run-levels.html22:31
ARTSIOMpdtpatrick: thanks!22:31
pdtpatricknp22:31
dotnettedHey all - Is it possible to get a 12.04 MAAS server on the same box as a node? (Similar to CC & NC on same box w/ UEC) - I'm limited to one physical box and I'd get a single-node cloud running for some general testing. Thanks.22:43
ARTSIOMback to my variables problem: can someone please explaine the difference between "su user" and "su - user". especially the diffrenece in loading environment variables22:43
dotnettedI tried installing 12.04 as a MAAS node inside VirtualBox on the same machine as the MAAS server -- The install picked up the MAAS server but shutdown the installation on the next step (And I doubt nested virtualization would be very fun - even if it worked)22:45
=== dendro-afk is now known as dendrobates
=== Lcawte is now known as Lcawte|Away
koolhead17dotnetted, even i would love to see if MAAS works in virtualbox23:09
dotnettedIs it possible to install the maas node-specific stuff after a regular 12.04 server install?23:10
dotnettedthat way I could install server 12.04 on vbox and have log files to tell me when it can't register with the maas server -- instead of the installer crashing on me ;)23:11
=== Gallomimia_ is now known as Gallomimia
=== dendrobates is now known as dendro-afk

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