/srv/irclogs.ubuntu.com/2011/11/18/#ubuntu-server.txt

=== luciano_ is now known as ssh-ninja
Davieyzul: So we need to add, log_host=,log_port= to the kernel command line for the default preseed.00:03
zulhallyn: running it now00:03
zulDaviey: why?00:03
Davieyzul: To add logging of the instal back to rsyslog.00:04
zulDaviey: okies00:05
adam_groaksoax: ping00:06
Davieyzul / roaksoax: Does cobbler in precise work?00:06
zuli dont see why not....whats wrong?00:07
adam_gDaviey: ive just finished fixing packaging bugs enough to get all of orchestra installed, im about to test an all-precise setup00:07
Davieyadam_g: in the lab?00:08
adam_gzul: the last cobbler upload was broke00:08
zuladam_g: well crap..00:08
adam_gDaviey: no00:08
Davieyadam_g: Would it be a PITA for you to do that?00:08
adam_gzul: but it got fixed today bug #89152700:09
uvirtbotLaunchpad bug 891527 in cobbler "cobblerd fails to start: NoSectionError" [High,Fix released] https://launchpad.net/bugs/89152700:09
DavieyI'd quite like to develop on that tomorrow, based on your setup :)00:09
adam_gDaviey: none of the fixes are uploaded yet00:09
zuladam_g: ah yeah00:09
adam_groaksoax: i just pushed changes to lp:orchestra with fixes to get it going with squid300:10
Davieyadam_g: \o/00:10
adam_gDaviey: squid3 is blocked until fix for bug #891445 is merged + uploaded00:11
uvirtbotLaunchpad bug 891445 in squid3 "package squid3 3.1.15-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,Confirmed] https://launchpad.net/bugs/89144500:11
adam_gDaviey: but yeah, i'd like to get it going in the lab asap00:11
Davieyadam_g: Are you likely going to be able to get it online before you finish for the day?00:13
DavieyI'd like to crack on tomorrow where you leave off, you see.00:13
adam_gDaviey: on which? the new lab ?00:14
Davieyadam_g: legacy00:14
adam_gDaviey: hmm thats all still on oneiric, i'd need to try to get the current orchestra setup dist-upgrade'd and all00:15
Davieyadam_g: If it's not viable, don't worry.00:15
adam_gDaviey: ill see what i can get going00:16
Davieyadam_g: Great, thanks00:16
roaksoaxadam_g: i fixed the last cobbler ... at least the upload I did in the morning should have00:16
roaksoaxadam_g: and ok, i'll review your changes and release new orchestra00:17
roaksoaxjamespage: still around?00:17
adam_groaksoax: yeah, cobbler fixed00:17
roaksoaxadam_g: cool00:21
roaksoaxrbasak: ping00:21
roaksoaxadam_g: btw.. have you tried to pxe boot a pandaboard lately?00:22
adam_groaksoax: me? no00:22
bkerensaso much talk of pandaboards.... I need to get one00:22
Davieyroaksoax: have concerns?00:28
roaksoaxDaviey: yeah can't pxe boot oneiric00:29
Daviey!00:29
Davieyroaksoax: Is that a last minute regression?00:29
roaksoaxDaviey: idk, I haven't tried to pxe boot, just did a clean cobbler install00:30
roaksoaxdon't really think its cobbler/tftp00:30
roaksoaxbut gonna have to check that first00:30
roaksoaxrebooting00:31
Davieyroaksoax: Great!00:31
Davieyroaksoax: Okay, regarding our conversation yesterday.. I was going to make the default preseed include http://pb.daviey.com/NIao/ , which is default (ie, machines that cobbler doesn't yet know about)00:32
Davieyit seemed you disagreed that the default preseed was the correct location?00:32
zulhallyn: fails at "test_CVE_2010_2237_2238 (__main__.LibvirtTestCVEs)"00:32
roaksoaxDaviey: false alarm, seemed to be something with the tftp server00:35
DavieyOh good. :)00:37
* roaksoax looks00:39
roaksoaxDaviey: right00:40
roaksoaxDaviey: so, if you set a default preseed, every distro you import, which creates a profile, wwill default to that preseed00:40
roaksoaxDaviey: so whwat I was saying is that instead of using a defualt preseed we should use a default profile00:41
zulunless you change the source :)00:41
Davieyroaksoax: Hmm, currently the default one is a Ubuntu preseed anyway, right?00:41
Davieyto do an /install/00:41
zulDaviey: really that preseed should be in orchestra00:41
Davieyzul: cobbler-enlist isn't directly part of orchestra, but part of the default iso.00:42
roaksoaxDaviey: so for example. 1. machine pxe boots. 2. doesn't find 01-<mac-address> cause there's no cobbler system added. 3. launches PXE Menu 4. runs default profile (which points to default preseed) 5. add's itself to cobbler system ....00:42
Davieyroaksoax: Okay, do you know where that needs to be added as a patch, or do i need to investigate?00:43
roaksoaxDaviey: let me check00:43
twbGrr, why does slapd build-conflicts against icu00:44
Davieybuild-conflicts?00:44
Davieyroaksoax / zul / smoser: Would one of you mind reviewing and uploading bug 874981.. i made a mistake in my last comment, the descriptions are correct.  I am too tired to do so now.00:45
uvirtbotLaunchpad bug 874981 in mcollective "Please merge/sync mcollective from debian wheezy" [High,Fix committed] https://launchpad.net/bugs/87498100:45
roaksoaxDaviey: so we need to set the pxe_default_profile somewhere dont remember where exactly00:48
Davieyadam_g: have you touched cobbler-enlsit?  If so, can you push to bzr.. tomorrow i plan to add auto hostname default of hostname based on mac address.. and would rather not rebase.00:51
Davieyroaksoax: I know where that is..00:52
Davieyone moment00:52
roaksoaxDaviey: yeah it is in a pxe template00:52
roaksoaxDaviey: but I think we need to add a system named "default"00:52
Davieyroaksoax: currently we are doing:00:53
Daviey # if no kickstart is specified to profile add, use this template00:53
Daviey-default_kickstart: /var/lib/cobbler/kickstarts/default.ks00:53
Daviey+default_kickstart: /var/lib/cobbler/kickstarts/ubuntu-server.preseed00:53
roaksoaxDaviey: right and I think it should stay like that00:53
roaksoaxDaviey: that's just a sample preseed that every imported distros (that creates a profile) should be pointing to00:54
Davieyroaksoax: Hmm, that isn't tftp:default file, is it?00:54
adam_gDaviey: the last change i made is still pending in MP00:55
adam_ghttps://code.launchpad.net/~gandelman-a/ubuntu/precise/cobbler-enlist/868492/+merge/8064200:55
adam_gbefore doing much else, i'd prefer to get that merged and come to consensus as to how the tools going to be used00:55
Davieyadam_g: I suck, will merge that tomorrow.00:56
roaksoaxDaviey: but, when a machine tries to PXE boot, and there's no system added for that machine's MAC address. a PXE menu is provided. So we can default to a default profile00:56
Davieyroaksoax: Yeah, i don't think we want a menu, do we?00:57
adam_gDaviey: creating a hostname based of mac address perhaps shouldn't even be handled in cobbler-enlist, especially if we're going to be quering mac addr's outside cobbler-enlist, anyway. i think ti'd be better to generate the hostname elsewhere and pass it in as a parameter, perhaps via '-n / --name'  which already exists00:57
roaksoaxDaviey: that's why I'm saying it should default to a default profiule that points to your preseed file00:57
Davieyadam_g: http://pad.daviey.com/orchestra-boot , is what i captured from last night.. but that could ALLLLLL change.. (input welcome)00:58
roaksoaxDaviey: ok01:01
roaksoaxDaviey: so I did this:01:01
roaksoaxDaviey: 1. created a profile that points to *your* preseed file for orchestra-boot01:01
Davieyadam_g: Where do you think the hostname should be generated?  In Cobbler or on the node?01:01
Davieyusing the first mac address seemed to make sense as a unique key, do you have another idea?01:01
roaksoaxDaviey: 2. added a *default* system that uses the orchestra-boot-profile01:01
Davieyadam_g: Why does it make sense to move the mac address generation logic outside cobbler-enlist tool?01:02
roaksoaxDaviey: 3. every time a system tries to PXE boot and does not find its 01-<NAC> in the tftp server, then it will use the *default* profile01:02
roaksoaxDaviey: sudo cobbler system edit --name default --profile=orchestra-boot-profile && sudo cobbler sync01:02
roaksoaxDaviey: is the hostname gonna be generated based on the MAC?01:02
Davieyroaksoax: What do we need to do to make that as part of the default install?01:03
Davieyroaksoax: That seemed to make sense, do you have other ideas?01:03
adam_gDaviey: because if we're going to be using another tool to gather details about the system, gathering the mac address will surely move outside of cobbler-enlist as well?01:03
roaksoaxDaviey: no the mac usage for hostname generation is good, though, we cannot use it until *after* we already know the system within cobbler, which means *after* enlisting it01:03
roaksoaxDaviey: and about the profile adding, we can just do that in postinst01:04
Davieyroaksoax: I was thinking BA:DD:CO:FF:EE -> "badcoffee" as the hostname01:04
Davieyadam_g: makes sense.01:04
roaksoaxDaviey: yeah sounds reasonable01:04
Davieyroaksoax: Hmm, cobbler would not be generating the hostname - the node will do it and post home, as part of the enlistment01:05
adam_gDaviey: i think the more we can keep *out* of cobbler-enlist and passed in as input the better01:05
roaksoaxDaviey: and I can make cobbler create the default profile that points to the orchestra-boot preseed, or I can make orchestra do that instead of cobbler01:05
Davieyadam_g: works for me01:05
roaksoaxDaviey: better yet then, but I was thinking it in the way as it is with ec2 where it is the provider that assigns the hostname01:05
roaksoaxDaviey: not the vm itself01:05
Davieyroaksoax: Where do you think it sits best?01:06
roaksoaxDaviey: so I was thinking that maybe orchestra should assign a hostname01:06
roaksoaxDaviey: presonally, I like it on the orchestra side cause we can do whatever we want there and just preseed it01:06
roaksoaxDaviey: and we can easily modify01:06
Davieyroaksoax: Well the node knows the data, and cobbler/orchestra does not.. So it seems logical to generate it there and post it home.01:06
roaksoaxDaviey: sure we can do it in either way01:07
roaksoaxDaviey: as long as a system gets registered with hostname, mac, etc, etc and works with juju out of the box01:07
roaksoaxit shouldn't really matter01:07
Davieyroaksoax: My thought was it's a preseed option "cobbler-enlist/auto-hostname true"01:07
roaksoaxDaviey: sounds good01:08
roaksoaxDaviey: though, in reality, administrators will wnat to name their systems01:08
Daviey(but you could also preseed cobbler-enlist/hostname string foobar)01:08
Davieyroaksoax: I'm not sure they'll care TBH.. I know most networks tend to have a naming scheme, but do people /really/ care?01:09
roaksoaxDaviey: right, that's fine, but if you preseed, then how do we find out the hostnem for that particular system?>01:09
Davieyif it does the right thing out of the box, with cloud mentality and juju abstraction, it seems to be something we should worry about01:09
Daviey(note, people don't seem to care for setting hostnames in ec2)01:10
twbDaviey: because they forgot to set up /etc/hosts properly?01:10
roaksoaxDaviey: right, but from the physical node point of view I believe it does care01:10
roaksoaxDaviey: err they do care, because a naming system just come from the basic idea of inventory01:11
roaksoaxDaviey: data center certification01:11
roaksoaxDaviey: etc etc01:11
roaksoaxDaviey: so I believe administrators tend to identify servers by their statically assigned hostname rather than a randomly generated one01:11
dorkabsolutely01:12
roaksoaxi.e. all machines are named, tagged, under the inventory, etc etc01:12
Davieyroaksoax: Well yes, but what is the difference between calling servers after different types of plants and a random set of strings which is a mac address.01:13
DavieyWe *could* default to dhcp assinged hostnames, but if unset - use the mac address?01:13
roaksoaxDaviey: right, but the assignment of naming scheme comes way *before* the deployment01:13
DavieyThis allows people to set the hostnames following a naming scheme if they want to, but fall back to mac address.01:13
roaksoaxDaviey: you first design the data center, assign naming scheme, do the cable tagging, do the graphs, then you deploy the systems using the defined naming schemes01:14
roaksoaxDaviey: that';s for both, machines and network devices01:14
twbDaviey: using something based on IP or mac is common, if you're an ISP01:14
adam_ghmph. cobbler on precise apparently cannot import oneiric or precise isos.01:14
twblike 4-3-2-1.stupid-domestic-customer.isp.net01:14
roaksoaxtwb: right, but that's for costumers, not for servers01:15
dorkDaviey: as far as ISP like networks go the naming conventiion is super critical in resolving issues expeditiously01:15
roaksoaxtwb: servers have their own naming scheme01:16
roaksoaxas well as routers/switches/etc01:16
twbroaksoax: but aren't they basically instances of an SOE01:16
twbroaksoax: they don't really have individual identity01:16
Davieytwb: heh01:17
roaksoaxtwb: in my experience, both servers and network devices are identified by a name in their design documents and that name is used as hostname01:18
roaksoaxthat's what I have seen01:18
DavieySo.. does defaulting to hostnames from dhcp, then falling back to macaddress based auto address make sense?01:18
twbI think in our prisons (where we force the SOE desktops to have names), the prison staff usually name them after their asset tracking number01:18
twbroaksoax: I thought we were talking EC201:19
DavieyIf people want to use their naming scheme, they can - by dhcpd'ing it01:19
Davieytwb: no, bare metal01:19
twbroaksoax: obviously for conventional servers, I agree with you01:19
roaksoaxDaviey: right, dhcping it means that a cobbler system needs to know the hostname01:19
roaksoaxtwb: ;)01:19
Davieyroaksoax: depends if they are using the orchestra provided dhcpd or a legacy seperate one, right?01:20
roaksoaxDaviey: right01:20
DavieyIf they care that much about hostnames, they'd probably have a seperate dhcpd - right?01:20
roaksoaxDaviey: but, IIRC we still need to know some information in cobbler (regardless of whether we are managing dhcp or not), since the hostname is passed to the kernel parameters01:21
roaksoaxDaviey: we saw issues by not doing so01:21
roaksoaxDaviey: so we fixed that, as it was a default behaviour01:21
roaksoaxDaviey: and we also have to consider that juju addresses to the machines based on the hostname that is also the defined name of a system01:23
twbJust name each host in the /24 after the element number of the last octet01:25
twbe.g. unununium -> 1.2.3.11101:25
Davieyroaksoax: Erm. the minimal cobbler-enlist boot sends the hostname back to cobbler, this is either one THAT boot got back from dhcp or one generated from mac address01:26
Davieyif required, (which it should not be!), we can provide a null kernel param which is ignored on the enlistment boot01:26
Davieytwb: are you being serious? :)01:26
twbI tried that at work (as CNAMEs, not the canonical names)01:27
adam_groaksoax: have you got a few min?01:27
twbBut <boss> said it was not allowed because it was too hard to remember elements01:27
roaksoaxDaviey: so if no hostname is obtained by dhcp, then one should be generated and sent back to cobbler01:27
roaksoaxDaviey: then we should also provide a tool for adminsitrators to easily change the hostnames01:27
twbWe only own a /24 so it would've fit neatly01:27
roaksoaxDaviey: so they can provide a list of ip(or mac) with its matching hostname, and that should edit all the systems01:28
roaksoaxadam_g: shoot01:28
roaksoaxDaviey: but I thi nk is best if we discuss it further tomorrow as my brain doesn't wanna work anymore01:28
roaksoax:)01:28
Davieyroaksoax: it's 1:28 AM for me here.. my brain fell out of my ear some hours ago.01:28
adam_groaksoax: im giving orchestra + cobbler a shot on precise, and importing oneiric and precise as distros seems to succeed, but nothing ends up in cobblers database. wondering if you knew of any recent changes that might affect that?01:29
roaksoaxadam_g: what do you mean that nothing ends in cobbler databasE?01:29
roaksoaxDaviey: he01:30
roaksoaxheh01:30
* Daviey EOF's the day.. Speak tomorrow chaps, have fun.01:30
roaksoaxDaviey: have a good one01:30
roaksoaxadam_g: as in no profile is availabel?01:30
adam_groaksoax: as in, import returns 0 with no errors but 'cobbler distro list' shows nothing01:31
adam_ghttp://paste.ubuntu.com/741823/01:31
roaksoaxadam_g: uuhmm interesting.. and yes... the change might be because we have a new cobbler in ubuntu that might be broken?01:31
adam_glol01:31
roaksoaxadam_g: cobbler import --name="oneiric-i386" --path=/mnt/oneiric --breed=ubuntu --os-version=oneiric<SPACE SHOULD GO HERE>--arch=i38601:32
roaksoaxadam_g: TRy that again :)01:32
roaksoaxadam_g: the log doesn't really import anything apparently01:32
adam_groaksoax: bad paste, but same thing01:32
roaksoaxadam_g: well I guess that new upstream release doesn't import :)01:32
adam_gorchestra-import-isos imports everything up until natty01:32
adam_git does import, just not oneiric or precise01:32
roaksoaxadam_g: ahhh then I know what the problem is01:33
adam_groaksoax: see! thats why i asked you :)01:33
roaksoaxadam_g: show /var/log/cobbler/cobbler.log01:33
roaksoaxadam_g: or at least I presume what might be going wrong01:33
adam_groaksoax: dah, ya.. oneiric and precise are missing from the list valid breeds01:35
roaksoaxadam_g: yeah01:35
roaksoaxadam_g: trying to fix that now01:35
adam_groaksoax: cool thankya01:35
adam_groaksoax: modules/manage_import_debian_ubuntu.py contains the two. im doing this on santol if you'd like to poke at it too01:37
roaksoaxadam_g: modify /usr/share/pyshared/cobbler/codes.py and look for the line "ubuntu" and add the missing codes01:40
roaksoaxadam_g: and stop/start cobbler01:40
roaksoaxand should work01:40
* Daviey raises his head.. adam_g / roaksoax: if you edit anything in-place on santol, can you document it please? (as in, editing files directly)01:41
roaksoaxadam_g: fix uploaded01:41
roaksoaxDaviey: go sleep geeez01:41
roaksoaxDaviey: hehe no worries the fix is coming :)01:42
Daviey\o/01:42
* roaksoax yay!! pandaboard operational!!!01:42
adam_gDaviey: im importing a bunch of debs manually to install while bug fixes are pending upload. id like to tear down and rebuild from scratch with everythig from the archive once its sorted01:44
roaksoaxalright01:44
roaksoaxim off01:44
roaksoaxhave a good one01:44
roaksoaxadam_g: if you find any more bugs just pm me or file them and assign them to me01:44
adam_groaksoax: thanks01:45
adam_groaksoax: did orchestra get uploaded with those changes?01:45
roaksoaxadam_g: not yet01:46
roaksoaxwill do early morning tomorrow01:46
adam_gthanks andres01:47
hallynzul: is that the only fail you get?  with a fresh precise install?01:47
zulnot fresh install but yes thats the only fail i get...oh nm01:48
zulgimme a sec01:48
hallynok01:49
zulhttp://paste.ubuntu.com/741833/01:49
hallynthat looks more like mine01:51
hallynfeh i'll look again in the morning.  i'm fed up :)01:52
hallynzul: lemme know if you have any ideas01:54
adam_gDaviey: looks like the log_host, log_port already get set for all profiles imported via orchestra-import-isos, pointing to the orchestra server02:26
roaksoaxadam_g yes they do03:01
adam_groaksoax: any reasons off the top of your head why clients get a 404 when trying to grab their preseed?03:01
adam_groaksoax: the default kickstart (ubuntu.preseed) gets assigned for all profiles and nodes and the file is there03:02
roaksoaxadam_g uhmmm i eill.have.to check is tjat in the lab?03:04
adam_groaksoax: that is, 404 from http://$orchestra_host/cblr/svc/op/ks/system/$client_host03:05
adam_groaksoax: its in the lab, yeah but just confirmed the same here on VMs03:05
roaksoaxadam_g: let me check03:07
roaksoaxadam_g: what lab machine?03:07
adam_groaksoax: santol is the orchestra server03:07
adam_groaksoax: sapodilla is the last box booted with a 404 (its still sitting in the installer)03:07
roaksoaxadam_g: there seems to be an error in the template03:08
roaksoaxadam_g: is the logging server installed?03:08
adam_groaksoax: i haven't installed it, only the prov. server03:10
roaksoaxadam_g: good catch then03:10
adam_groaksoax: which template?03:10
roaksoaxadam_g: trying to figure it out03:11
roaksoaxadam_g: the preseed that is using is orchestra.preseed03:13
roaksoaxadam_g: and since the logging server the module is failing to open the orchestra-ca key03:14
roaksoaxadam_g: I will fix that tomorrow03:14
roaksoaxadam_g: but you should be able to deploy now03:14
adam_groaksoax: what did you do? i'm doing the same here in VMs03:14
roaksoaxadam_g: orchestra.preseed coment with ##$SNIPPET('orchestra_rsyslog_obtain_keys')03:15
roaksoaxadam_g: use two ## to comment03:15
adam_groaksoax: great, thanks03:18
roaksoaxadam_g: i will fix that in orchestra tomorrow03:19
RoAkSoAxwtg03:21
RoAkSoAxwtf03:21
=== RoAkSoAx is now known as roaksoax
=== roaksoax is now known as andreserl
=== andreserl is now known as roaksoax
roaksoaxadam_g: btw we will have to check that the changes you made to orchestra's squid conf won't break package installation03:23
adam_groaksoax: installing right now with those changes in place03:25
roaksoaxadam_g: cool03:25
roaksoaxadam_g: anyways im off03:25
roaksoaxjust let me know if you find any other issue03:25
roaksoaxttl03:26
adam_groaksoax: most of them are now handled internally automatically by squid3, and no longre needed, so it should be okay03:26
adam_gcya03:26
twbUgh, anybody remember how to get a shell in an openvz guest04:06
twbI thought "vzctl enter" but can't see that04:06
twbvzctl exec 101 /bin/bash works but only as a dumb term04:06
twbUGH, "vzctl enter" is valid, it just isn't mentioned in --help04:09
koolhead17hi all04:10
ZanzacarI am trying to follow this tutorial http://ve3emb.wordpress.com/2010/10/03/d-link-dwa-125-on-linux-ubuntu-10-04/ but I can uncompress the .bz2 file does anyone have any recommendations?04:33
ZanzacarI tried using tar xvjf but that was making everything into one large file and not a directory of files which I thought was odd04:34
twbZanzacar: are you on lucid?04:39
Zanzacartwb: No I am on 11.1004:41
twbMaybe follow a guide for that, then04:41
twbThe driver's probably pre-installed in current releases04:42
=== CrazyGir_ is now known as CrazyGir
ipl31anyone have any experience with Orchestra and multi NIC servers?07:23
_ruben!feisty08:38
ubottuUbuntu 7.04 (Feisty Fawn) was the sixth release of Ubuntu. End Of Life: October 19th, 2008. See !eol and !upgrade for more details.08:38
koolhead17_ruben, wa0008:42
koolhead17lynxman, hola08:42
_rubenkoolhead17: was looking for the eol date, not running it myself or anything ;)09:01
koolhead17_ruben,  I was kind of surprised :)09:02
lynxmankoolhead17: hello :)09:51
koolhead17lynxman, i can just laugh at my foolishness!! Am yet to  go home, slept in office last nyt. :D09:53
koolhead17but am happy to report few bugs and ask few questions as well :D09:56
terohow can I change eth2 to eth0 ?12:09
patdk-lapedit udev12:12
patdk-lap/etc/udev/rules.d/70-persistent-net.rules12:13
terouuu thanx! :)12:21
KHendrikGood morning12:21
terook my home server is finnaly done :)12:22
KHendrikRoyK, I have one question for you I think I now understand why you prefer setting up an array on the whole drive instead of just a partition but why do you want to seperate Data and System and where do you draw the line for that12:23
KHendriktero, nice what's your setup?12:24
teroKHendrik it is actualy funny12:30
teroI used and old laptop :D12:30
teromy friend give me an hp dv6000 laptop with broken screen12:31
teroand i mod it to be used as a server12:31
teroi even have 2 network cards (one pc-card) so it is used as a softare router12:32
KHendriktero yeah thats kindof funny12:33
Davieyrbasak: Do you know what happend with bug 858878?  It seemed zul uploaded one of your patches, but it's not clear to me if the other was also included/12:36
uvirtbotLaunchpad bug 858878 in cobbler "lack of csrf protection in cobbler-web" [High,Triaged] https://launchpad.net/bugs/85887812:36
Davieyhttps://launchpad.net/ubuntu/precise/+source/cobbler/2.2.2-0ubuntu112:36
zulit got applied upstream12:37
Davieyzul: fancy updating the bug then? :)12:37
zulsure lemme have breakfast first12:37
zuljust woke up12:37
Davieyah, cool :)12:37
=== KHendrik is now known as KHendrik|afk
zuljdstrand: dont want to be a pain in the ass but can you review python-keystoneclient please13:26
jdstrandzul: this is going to require a security team audit, and I can assign it to myself, but it won't be completed today13:28
zuljdstrand: ok....why is it going to need a security team audit13:29
hallynjdstrand, zul, qa_regression_testing is in fact bugged by some recent change in precise13:29
hallynI redo the steps to create a testuser by hand, and then I can't connect to qemu:///session though I can to qemu:///system13:29
jdstrandzul: it is a deamon running on the network used for authentication13:29
zuljdstrand: afaik its just a client13:29
hallyn(I'll keep looking, just mentioning it in case it rings a bell)13:30
jdstrandthat is a security sensitive piece of software13:30
zuljdstrand: ok13:31
jdstrandhttp://docs.openstack.org/diablo/openstack-identity/admin/content/what-is.html - there is a lot going on there13:31
hallynhm, nm.  i did that wrong.13:31
zuljdstrand: blah ok ;)13:32
teroem... I have an philosophical question :) what is the "corret" first username when you install ubuntu server since ubuntu does not have root?13:33
teroor what do you guys have?13:33
jdstrandhallyn: I recommend you use 'sudo ./test-libvirt.py setup-all'. you might logout and back in, but that shouldn't be necessary13:33
ersitero: there is no 'correct' first username13:39
ersiOr well, it's the username of the admin13:39
hallynAHA13:44
hallynqemu without kvm is not working13:45
pmatulistero: on a server i typically create user 'ubuntu' during the install, he will have superuser rights via the sudo command (by automatically being made a member of the 'admin' group)14:05
raubvogelWhich user does subversion expects to be?14:20
raubvogels/expects/expect/ I am getting coffee14:20
zuljdstrand: er...we might be getting keystone and python-keystoneclient mixed up, kestone is the one getting the MIR, python-keystoneclient is a new binary for universe (although it will be getting a MIR eventually)14:26
hallynzul, jdstrand, Daviey: question on qemu-kvm.  The new behavior (as of precise) is that if you want un-accelerated qemu, you have to add 'accel=tcg' to the machine specification.  It has its advantages...   do we want t oleave it like that, or patch around that?14:29
hallyn(it is the reason why qa-regression-testing of libvirt has been failing)14:29
hallynif we patch around it, we'll be doing that forever14:30
zulwhat is the disadvantages/advantages of it14:30
jamespageroaksoax: around? I have a powernap question14:31
hallynzul, advantage is that the people who ignore warnings about kvm not being configured right and then complain that kvm is slow, now get a harder (clearer) failure14:31
hallynzul, second advantage is simply that we don't have to patch in perpetuity :)14:31
kirklandjamespage: perhaps i can help, if roaksoax is not around yet14:31
zuli like that advantage :)14:31
hallyndisadvantage, I don't know how many tools are going to be breaking as a result14:31
jamespagekirkland: pm14:32
=== jrwr|offline is now known as jrwr
jdstrandhallyn: it should be easy enough to update qrt-- detect in setup if we have accel capabilities, then add the necessary arguments. I can't speak to libvirt's handling of it though, but I'm guessing the package you're merging can handle it14:34
hallynjdstrand, so you're ok with sticking with the new qemu-kvm behavior?14:35
hallynI'll do an update for qa-regression-testing then14:35
jdstrandhallyn: I am, yes. in general people should be using libvirt with qemu-kvm in Ubuntu. that said, things like testdrive could break14:37
hallynjdstrand, ok, thanks14:37
jdstrandhallyn: you may want your tech lead to weigh in though (I am but one opinion :)14:37
hallynjdstrand, Daviey is mia :)14:38
jdstrandwell, I guess he can weigh after the fact :P14:38
jdstrandkirkland: see backscroll. could testdrive break there?14:38
jdstrandkirkland: and hello! :)14:38
jdstrandkirkland: and anything other than testdrive that might break14:39
hallynjdstrand, testdrive would only break for ppl using it without kvm - which would be painfully slow so i have doubts ppl do it :)14:39
kirklandjdstrand: hmm, what's changing in kvm?14:46
g0bl1nAWS with Ubuntu Server. I created a new user (in a secure shell), and created a new key in the AWS console. Can't login with that user. Any hint ?14:47
kirklandhallyn: testdrive support virtualbox, for people without kvm14:47
hallynkirkland, have you tried out testdrive on uptodate precise?14:48
jdstrandkirkland: 08:29 < hallyn> zul, jdstrand, Daviey: question on qemu-kvm.  The new behavior (as of precise) is that if you want un-accelerated qemu, you have to add 'accel=tcg' to the machine specification.  It has its advantages...   do we want t oleave it like that, or patch around that?14:48
kirklandhallyn: i have not14:50
jcook_5xdataHow can I tell if may server has been hack and sending email? i received this http://pastebin.com/SRX7fumt look at the header info. I am running failtoban14:50
hallynkirkland, ok, tbh i have and it worked fine :)14:50
kirklandjdstrand: i think I'm okay okay with that change in behavior14:50
smoserjdstrand, so if you do not have kvm support in hardware and do not add that flag, what happens ?14:50
kirklandjdstrand: very, very few people, if anyone, uses unaccelerated qemu for i386/amd64 ubuntu14:51
jdstrandheh, people keep asking me-- I don't know :P14:51
hallynqemu refuses to run14:51
jdstrandhallyn: ^14:51
hallynsmoser, ^14:51
smoseri think thats a bug.14:51
smoseryou will break people.14:51
jdstrandwell, upstream chose to do this14:51
hallynsmoser, the argument from qemu-kvm ppl is that most of the ppl that will break is the ones who are complaining that they ahve kvm support but it's slow14:51
smoserso is there a way to say "just do it" that does not lose hardware acceleration if possible ?14:53
smoserie, does 'accel=tcg' turn it off if it could have used it?14:53
hallynturn what off?14:53
smoserhardware acceleration14:53
hallyn-machine pc,accel=tcg will let it work14:53
hallyn-machine pc,accel=kvm,tcg14:53
smoserwell at least it is possible.14:54
smoserit will break things.14:54
hallynexcept that doesn't work for me, hm14:54
smoserand really, the number of people who are comlaining about "it is slow" surely is becomming less and less.14:54
hallynah,14:54
hallyn-machine pc,accel=kvm:tcg14:54
hallynanyway, a patch to default to tcg if kvm is not available shouldn't be too bad, but it's an unwelcome delta14:56
hallyncomment on bug 892050 if you are so inclined :)14:57
uvirtbotLaunchpad bug 892050 in qemu-kvm "qemu refused to run without acceleration" [Medium,In progress] https://launchpad.net/bugs/89205014:57
smoseri just know that i have explicitly used 'kvm' knowing there was no hardware acceleration14:57
smoserthey also do this in devstack14:58
roaksoaxjamespage: i'm here now14:58
jamespageroaksoax: kirkland got me sorted - I needed to quickly disabled CPU power management with powernap for the test lab installs14:58
roaksoaxjamespage: ok cool14:59
kirklandroaksoax: yeah, the cpu offlining thing seems to be causing more trouble14:59
roaksoaxkirkland: yeah14:59
roaksoaxkirkland: i think i will just ship it disabled by default14:59
roaksoaxand SRU that14:59
kirklandroaksoax: not a bad idea14:59
roaksoaxkirkland: but I wanna figure out why15:00
kirklandroaksoax: yeah, we ran into the same problem with the 64-way system we used for the openstack demo15:00
kirklandroaksoax: you'll need to work with the kernel team on that15:00
roaksoaxkirkland: maybe offlining to 1 single CPU is the cause, and rather we should offline to ~4 if its a 16 CPU core?15:00
roaksoaxkirkland: cause we offline CPU's and reduce the frequency15:01
roaksoaxkirkland: and I'm changing back the default values to 300 for absent seconds and 30 for grace period15:01
kirklandroaksoax: okay15:01
kirklandroaksoax: i liked 30/615:02
kirklandroaksoax: but whatever :-)15:02
roaksoaxkirkland: yeah but doing so means that powernap is likely to send the server to powersave mode when important things are happening15:03
roaksoaxkirkland: i.e. jamespage problem on which cloud init was running and 30 secs after it entered to powersave15:03
kirklandroaksoax: if so, then you're not monitoring the right things15:03
roaksoaxkirkland: and boom it exploded :)15:03
kirklandroaksoax: then you need to monitor that15:03
kirklandroaksoax: and make sure that things don't explode15:03
kirklandroaksoax: personally, i like the agressive timings, especially on my laptop15:04
roaksoaxkirkland: yeah I guess we should handle that in profiles15:04
roaksoaxkirkland: so a juju powernap profile to deal with that15:05
matrix3000damn, i would love to figure out how to do cloud processing15:08
matrix3000one of these days15:08
hallynjdstrand, smoser, well feh, i'll have to either patch libvirt or qemu, at any rate.  patching libvirt is more useful in that that fix will be needed upstream eventually.  But patching qemu will mean i don't halso have to fix 100 other tools built on qemu.15:13
jdstrandhallyn: another thing to think about-- for the lts, it might make sense to have this delta, and then remove it in 12.10. it will allow smoothe upgrades for lucid to precise and let any bugs in libvirt/qemu chake out15:16
jdstrandshake15:16
zulheads up...im going to be starting to switch the init scripts for swift to upstart15:18
hallynjdstrand, that sounds reasonable15:21
hallynDaviey, ^ i think i will go with jdstrand's suggestion.  patch qemu-kvm to keep tcg as a default until 12.1015:21
Davieyhallyn: sounds good15:28
hallynkewl15:29
hallynthanks15:29
Davieyhallyn: I don't think the inverse gives us much gain, does it?15:29
hallynwhat do you mean?15:29
Davieyhallyn: if qemu is patched, we don't get an extra benefit.. do we?15:36
hallynwell, "benefit" of tools not breaking during LTS15:36
mtaylorDaviey: what's the tool you wrote to inject machine info into orchestra/cobbler?15:43
mtaylorDaviey: the discovery thing?15:43
Davieymtaylor: cobbler-enlist15:46
RoyKKHendrik|afk: for a number of reasons, you can't boot from a RAID-5, nor can you install grub on a disk without a partition table, you don't want to touch your data in case of a reinstall, you generally want the data Somewhere Else15:46
Davieymtaylor: I've lost the seed information to do it hands free, but it's based on:15:47
Davieymtaylor: http://pb.daviey.com/NIao/15:47
Davieyit can be used standalone aswell.15:48
mtaylorDaviey: awesome. thanks. I'm going to pimp it a little bit at LinuxCon Brazil today15:48
ikoniamtaylor: where is linuxcon brazil15:50
ikoniaI'm in Brazail now and would be interested in seeing it15:51
hallynall right, dirty deed is done.   qemu-kvm pushed15:51
mtaylorikonia: Sao Paulo - expo center norte - I'm speaking in an hour, so I doubt you'd be able to make it here in time with traffic15:51
Davieymtaylor: interesting, is it being filmed?15:52
mtaylorDaviey: not that I know of15:55
hallynahs3, answer came in - xml files are under same copyright as the rest of netcf.  so i think the package i posted yesterday is ...  dare i say ... done :)16:06
ahs3hallyn: okey dokey.  could you please add a copy of the emails somewhere to the docs part of the package, just so we've got it written down somewhere?16:13
hallyndocs part?16:14
hallynas in debian/README?16:14
ahs3right.  that, or somewhere in the copyright info, or in /usr/share/docs/netcf somewhere...just don't want to lose the discussion16:15
hallynahs3, so http://paste.ubuntu.com/742378/  as debian/README.debian is ok?16:17
ahs3hallyn: yup, that'll do16:18
hallynawesome, thx16:19
hallynahs3, http://people.canonical.com/~serge/netcf-0.1.9-package-v3.tar.gz16:22
RoyKhttp://blog.laptopmag.com/usb-stick-contains-dual-core-computer-turns-any-screen-into-an-android-station16:24
ahs3hallyn: thx.  i'll take a look16:25
kpettitWhat's a good simple monitoring tool?  Nagios was the last one I've used but I hated dealing with all the config files for only a dozen or so sites/services.  Any recommendations?16:25
RoyKkpettit: imho nagios/icinga (a fork) is still good for that, and with templated configs, it doesn't take too long to set it up16:27
* RoyK uses icinga for that16:27
kpettitok, cool  I'll take a look.  Some templates would help16:27
kpettitis zabbix any good?16:28
RoyKkpettit: never tried it...16:30
* RoyK tests16:30
kpettitme neither.  Better the devil you know I guess16:30
=== KHendrik|afk is now known as KHendrik
jcastroSpamapS: when are you planning to attend scale, should I plan for being there thursday night?16:38
RoyKdamn - oneiric VMs won't shutdown properly - that is - they shut down ok, but never turn themselves off16:51
SpamapSjcastro: All 3 days, since its in my backyard. :)17:00
patdk-wkroyk, apci issues?17:00
patdk-wkI have that issue randomly with windows vm's on qemu/kvm17:00
patdk-wkseems like the longer uptime, the more often it won't shutdown17:00
SpamapSjcastro: I think it will be easier for you if you come out Thursday night.17:02
RoyKpatdk-wk: acpi, perhaps...17:02
RoyKpatdk-wk: I've seen the same on physical hardware as well17:03
patdk-wkhardly see it on physical hardware, most of the time it's my fault there :)17:03
matrix3000RoyK?17:36
matrix3000RoyK: I never had that issue, and I am running about 4 of them 11.10 servers and 11.10 desktop installs17:36
matrix3000RoyK: on ESXi and Vmware Workstation17:37
=== someone is now known as Guest16563
Guest16563hello, how to set which map can user access at ftp?17:55
Guest16563with vsftpd17:55
Guest16563any1?17:56
Guest16563hello17:56
irvno luck :(17:56
Guest16563lol :D17:56
Guest16563geeks don't have time for newbies, right? :D17:57
irvwhoops17:57
terohi guys. Any suggetions on a cheap vps that runs ubuntu server?17:57
WeissWaschbaermy cron is not working "1 16 * * * /root/backup.sh &>> /var/log/backup.log"18:01
jMCgWeissWaschbaer: what'd you mean it's not working?18:11
WeissWaschbaerjMCg: the log file is still empty after 2 days, work when i use the same command manually18:14
jMCgWeissWaschbaer: you are aware of the fact that cron executes things in a very restricted environment?18:14
Skaaganyone remembers what the sshd package was called back in 9.10?18:24
MyrttiSkaag: openssh-server? it is pulled by dependencies if you just install ssh IIRC18:26
Skaagcool, trying18:27
Myrttibut then of course 9.10 has been EOL for quite some time18:27
zullynxman: swift upstart got in thanks..18:42
lynxmanzul: \o/18:43
WeissWaschbaerjMCg: no im not19:05
aljosai've upgraded to 11.10 and postgres is now 9.1, 8.4 data seems still available. is there a safe (or maybe documented) way to use pg_upgradecluster19:12
aljosato upgrade 8.4 data for 9.1?19:12
jMCgWeissWaschbaer: read up on that in cron's man pages. Also read up on stream redirection, I think you're doing that wrong.19:17
adam_groaksoax: ping19:30
* negronjl out to lunch19:34
boxybrownhey guys, do any services update /etc/hosts at startup?19:36
boxybrownI have some machines running ubuntu-desktop, and they aren't returning hostname -f correctly19:37
boxybrowni'm starting to suspect its the Avahi crap causing this, because my headless ubuntu servers dont have this problem19:37
roaksoaxadam_g: pong19:39
adam_groaksoax: thoughts on bug #891950? theres some options in there that are likely going to be need to be tweaked after import-isos is run. should we point people to the web interface? or come up with some way for people to easily update cobbler profiles/systems based on a config?19:41
uvirtbotLaunchpad bug 891950 in orchestra "Configuration in /etc/orchestra/import_isos unused" [Undecided,New] https://launchpad.net/bugs/89195019:41
boxybrownanybody?19:42
roaksoaxadam_g: I don't think that it should be tweaked after import-isos is run that's why we provide defaults19:42
roaksoaxadam_g: in case an administrator wants to change the behaviour, then it should edit the file19:43
roaksoaxadam_g: and put the options they want19:43
roaksoaxadam_g: setting the defaults in orchestra-import-isos is just a failsafe in case the config file hasn't been tweaked19:44
roaksoaxmanually19:44
adam_groaksoax: the defaults we use dont' come from that config file, they are hard-coded in the script, which is run immeditely after the pkg is installed. unless someone drops a custom config file there before installing, theres no way to edit and update the settings after-the-fact19:44
roaksoaxadam_g: right but that's the thing the intention of that config file is to make awareness that new options can be placed19:44
roaksoaxadam_g: it is not to set the defaults19:44
roaksoaxadam_g: if someone wnat's to change from default behaviour then they should edit the file19:44
roaksoaxadam_g: though, even though no option is set in the file, then the orchestra-import-isos should still provide defaults as failsafe19:45
roaksoaxand that's what we are doing19:45
adam_groaksoax: its broken workflow19:45
roaksoaxadam_g: i don't see it as a broken workflow19:45
adam_gif i edit the config file, there is no way of getting those changes reflected in cobblers profiles unless i remove all current profiles and re-import with the new settings in the config file19:46
adam_gtheres no wa of updating profiles based on the config file19:46
roaksoaxadam_g: well, then the config file is not broken, the update process is the one broken19:46
adam_groaksoax: yes, its a broken workflow19:46
adam_gof course the config files not broken, its never being used19:46
roaksoaxadam_g: right, but not caused by the config file19:47
adam_gso my question19:47
adam_gif i've installed orchestra nd the import script has run for the first time19:47
adam_gand all of my distros are imported and profiles configured, but i want to change the default kernel parameters for a given profile.. do i go to the web interface/cobbler CLI to do that, or do i eidt the config and re-run the import script with an '--update' flag..19:48
adam_gcurrently i either need to edit cobbler manually, or remove all the initially imported distros, edit config, and re-run import19:48
roaksoaxadam_g: well that's up to the administrator, either modify manually all the profiles or edit the config and update the profiules19:49
roaksoaxadam_g: which doesn't mean re-running the import19:49
roaksoaxadam_g: cause it would make no sense to import everything again19:50
adam_gexactly19:50
roaksoaxso what might be broken there is that there's no update process19:50
roaksoaxso either provide a new binary19:50
adam_gmy point, exactly19:50
roaksoaxthat only updates profile options19:50
roaksoaxor make orchestra-import-isos update the profiles *without*19:50
roaksoaximporting anything19:50
adam_gya19:51
roaksoaxadam_g: so I think it would be best to use a orchestra-import-isos --update19:52
adam_groaksoax: +1, i'd favor an --update-profiles flag or something, but i'd rather being doing that in python directly via cobbler api rather than wrapping the cobbler CLI in shell19:53
adam_gDaviey: ^19:53
roaksoaxadam_g: or orchestra-import-isos --update-profiles19:53
roaksoaxyeah19:53
roaksoaxexaclty19:53
roaksoaxadam_g: the problem using the API is that we would need authentication19:54
roaksoaxadam_g: the idea of orchestra-import-isos is to run on the orchestra system itself19:54
roaksoaxadam_g: with simple sudo access19:54
adam_groaksoax: well, i meant using the same local API that the cobbler cli uses19:54
roaksoaxadam_g: I personally don't see the point of doing so because you would be "re-writting" this that the cobbler command already does19:55
zuladam_g: +1 from me19:56
adam_groaksoax: i could be wrong but i thought the CLI basically does local xmlrpc to the API server on 127.0.0.1, which is authenticated19:56
roaksoaxadam_g: right, so you sudo sudo cobbler system add etc etc19:56
roaksoaxadam_g: if you do that using the local API, you haven to create the methods to add19:56
roaksoaxdelete19:56
roaksoaxedit19:56
roaksoaxetc etc19:56
roaksoaxwhich means rewriting cobbler commands19:57
roaksoaxon a simple script19:57
roaksoaxthat doesn't need it19:57
* Daviey catchs up19:57
adam_groaksoax: those methods are all implemented on the other end, hence xmlrpc19:57
roaksoaxadam_g: right, but if you want to rewrite it in python19:59
roaksoaxadam_g: instead of doing sudo cobbler profile edit --etc etc etc19:59
roaksoaxadam_g: then you would do:19:59
roaksoaxself.url_cobbler_api = utils.local_get_cobbler_api_url() self.url_cobbler_xmlrpc = utils.local_get_cobbler_xmlrpc_url()20:00
Davieyadam_g: Do you just want to check viability.  It sounds seem cleaner to do it via the api, and it's something we could push upstream aswell.20:00
roaksoaxand etc etc20:00
DavieyThere doesn't seem to be a need for it to be orchestra centric, with my understanding?20:00
roaksoaxDaviey: it is a method that imports orchestra iso and makes some configurations for juju20:00
Davieyah20:00
Davieyroaksoax: Do you think it makes sense for adam_g to sniff viability of doing it via the API?20:01
DavieyIf it starts to smell more complicated than it needs to be, we revert to the shell wrapper?20:02
adam_gDaviey: there's going to be instances where i want to modify the orchestra-specific configuration bits of cobbler system/profile configuration. most of it is stored in a config file at /etc/orchestra/import-isos but there is no way to update cobbler based on the config file (after the initial import has run)  my question is basically how do we enable that? push people to cobbler's webui/cli, or create/expand our tooling to do it orchestra-specific20:02
Davieyadam_g: Is it something which needs addressing early in the cycle?20:03
adam_git sounds like we need an upgrade path, so yeah.. shell or python? looking at dump of 'cobbler profile dumpvars --name=oneiric-x86_64', i'd much rather acccess that via python than awk/sed/grep20:03
boxybrownguys, making hostname -f work properly?20:03
boxybrownany tips?20:03
boxybrownit works fine out of the box on my ubuntu-server installs that don't have any desktop20:04
DavieyYeha, I think we should try to avoid hacky awk/sed/grep scripts.20:04
roaksoaxadam_g: the intention of orchetra-import-isos is not to handle specific profiles20:04
roaksoaxadam_g: so if you wanna do something with a specific profile/distro/system, then its best to use cobbler cli itself20:05
roaksoaxadam_g: my point being is20:05
adam_groaksoax: i know, thats why im wondering if we 1, create new tooling for this or 2, just push people to cobbler webui/cli20:05
roaksoaxadam_g: 220:05
adam_groaksoax: since you assigned the bug to youself, i was wondering what you're thoughts were20:05
roaksoaxadam_g: the import_isos config file is for whenever we import the isos and we assign some values we want into *all* the profiles20:06
Davieywhat is the bug #?20:06
roaksoaxadam_g: so as agreed the idea is to use --update-profiles which will update the profile options in case the config file is updated20:07
hallynzul, with the new fixed qemu-kvm, precise with current libvirt just gives me two failures:20:07
hallynTest virt-install --location ... FAIL20:07
hallynTest CVE-2010-2237 and CVE-2010-2238 ... FAIL20:07
uvirtbothallyn: Red Hat libvirt, possibly 0.6.1 through 0.8.2, looks up disk backing stores without referring to the user-defined main disk format, which might allow guest OS users to read arbitrary files on the host OS, and possibly have unspecified other impact, via unknown vectors. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2237)20:07
uvirtbothallyn: Red Hat libvirt, possibly 0.7.2 through 0.8.2, recurses into disk-image backing stores without extracting the defined disk backing-store format, which might allow guest OS users to read arbitrary files on the host OS, and possibly have unspecified other impact, via unknown vectors. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2238)20:07
hallynzul, when you get a chance can you re-test on your precise image?20:07
roaksoaxadam_g: i.e. changed the management classes for juju from ubuntu-juju-available and ubuntu-juju-acquired20:07
adam_gDaviey: last night, after installing orhcestra and registering a number of systems, i realized serial port needed to be redirected via kopts. theres a config file that has the defaults, i would have liked to modify that and run an update script rather than sifting through cobbler dumpvars myself20:07
Davieyahh, i understand the requirement a bit better now.20:07
roaksoaxadam_g: so that should update only the profiles20:08
roaksoaxadam_g: if you wanna update *spepcific* profiles, then you need to do it manually20:08
Davieyroaksoax: for this to be acheieved in an automagic way, what would you propose?20:08
roaksoaxadam_g:and for that you use cobbler web/cli20:08
adam_gDaviey: bug #89195020:08
uvirtbotLaunchpad bug 891950 in orchestra "Configuration in /etc/orchestra/import_isos unused" [Undecided,New] https://launchpad.net/bugs/89195020:08
zulhallyn: yeah20:08
Davieyta20:09
roaksoaxDaviey: again there's no automatic way to do things, if you want to add a kopts to a specific profile, then you do it manually, if you want to add it to *all* profiles, then you edit the config and we do orchestra-import-isos --update-profiles20:09
hallynzul, awesome20:09
adam_groaksoax: so, just a quick loop over all profiles and resets the various config parameters based on whats in the file20:09
adam_g?20:09
roaksoaxadam_g: yeah20:09
roaksoaxadam_g: there's no need to create new tools when we do have the tools for data20:09
roaksoaxfor that*20:10
roaksoaxadam_g: and maybe extend it in a way on which you can specify a list of profiles you want updated, rather than all of them20:11
roaksoaxadam_g: but if it's just for 1 or 2 it makes no sense to have new toolset20:11
roaksoaxwhen cobbler has its own tool set20:11
adam_groaksoax: what we have now does a decent job of installing and bootstrapping the initial environment, but i predict we'll need more20:11
roaksoaxadam_g: right, but that's administrator specific20:12
roaksoaxadam_g: we only need to care about installation and providing an initial environment20:12
roaksoaxadam_g: if administrators have their own hw requirenments and need to modify specific stuff for each profile/system, they have cobbler for that20:12
adam_gwe'll see about that :)20:12
roaksoaxadam_g: I think that orchestra-import-isos + config file, should be used *only* for initial configuration20:13
roaksoaxadam_g: if you want to provide further configuration or costumization, it makes no sense to provide our own orchestra toolset20:14
roaksoaxwhen there's already a cobbler toolset20:14
adam_gzul: thanks for the squid3 upload, you're the man-bomb20:14
roaksoaxadam_g: so you want to update a specific profile with new settings in import_isos, we can do that with orchestra-import-isos --update-profiles profile1,profile220:14
roaksoaxadam_g: but if you want to make changes to profile1 and then make different changes in profile220:15
roaksoaxthen makes no sense to use import_isos, does it?20:15
roaksoaxbecause there wont be a import_isos config file for each of the profiles20:15
roaksoaxbut it will be just 120:15
roaksoaxthat will and should work for all20:15
roaksoaxif you wanna change behaviour of all, then modify import_isos and update the changes20:15
roaksoaxif you want to mkae change A to profile1, then use cobbler cli/web20:16
adam_gi'd argue it doesn't make sense to use import_isos to modify existing profiles, but im just being difficult. it just occured to me, that if we disable automatically running import-isos during package installation (which we agreed at UDS), it would give people a chacne to customize the config before the initial import20:16
roaksoaxif oyu want to make change B to profile2, use cobbler cli/web20:16
roaksoaxadam_g: we agreed at UDS to set a debconf question to decided whether to import isos automatically or not20:17
roaksoaxadam_g: but in any case, if you wanna provide debconf questions for each option and setup the environment on installation we can do that aswell20:17
adam_groaksoax: a simple run now: yes or no? should suffice, i'd think20:18
roaksoaxadam_g: yeah20:18
roaksoaxadam_g: that simple question is all that we need20:18
roaksoaxadam_g: but even so, i think we would still need to provide the --update-profiles20:18
adam_gya20:18
roaksoaxadam_g: to handle the case that administrator selected Yes, but later, they wanna change something in all profiles and "reconfigure"20:18
roaksoaxadam_g: alright then, I guess we are in agreement20:19
arrrghhhhey all.  can anyone help me setup guest access to my ubuntu server?20:19
arrrghhhi just want the user to be able to ssh in, and run make.20:19
arrrghhhi guess a chroot jail?  i'm a noob to this, and don't want this guy to be able to blow up the server.  he's trustworthy, but i want to cover my bases if possible.20:20
roaksoaxadam_g: bug #89232820:21
uvirtbotLaunchpad bug 892328 in orchestra "debconf question to run orchestra-import-isos or not during installation" [Medium,Confirmed] https://launchpad.net/bugs/89232820:21
adam_groaksoax: sweet20:22
roaksoaxawesome then20:22
arrrghhhok, chroot might be a little overkill20:25
arrrghhhit appears if i create a new user, by default they only have write access to their home and /tmp20:25
arrrghhheverything else is just read20:25
greppyarrrghhh: yes, that is normal behavior for most linux/unix boxes.20:27
=== erichammond1 is now known as erichammond
jodlajodlahello20:42
jodlajodlacan anyone help me with some settings for vftpd?20:43
jodlajodlahello, i have some questions for vftpd -> how to limit users to only one directory and give them permissions for uploading file in this directory?20:44
virusuyjodlajodla: you should use vftpd + chroot20:56
virusuytake a look at this how-to http://www.cyberciti.biz/tips/vsftp-chroot-users-limit-to-only-their-home-directory.html20:56
arrrghhhcan anyone help me troubleshoot this additional user access?21:01
arrrghhhtrying to setup ssh for him21:02
arrrghhhwhere do i look?21:07
arrrghhhhe ran -vvv, it doesn't seem like the negotiation is happening21:07
arrrghhhi have nothing in auth.log, syslog or messages21:07
boxybrownguys21:10
boxybrownis there any way to set the fqdn21:10
boxybrownwhen network-manager is installed21:10
uvirtbotNew bug: #891867 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/89186721:11
uvirtbotNew bug: #890272 in nova (main) "FTBFS nova when in /usr/src" [Undecided,New] https://launchpad.net/bugs/89027221:12
uvirtbotNew bug: #891709 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/89170921:12
uvirtbotNew bug: #892296 in bind9 (main) "package bind9 1:9.7.3.dfsg-1ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/89229621:14
uvirtbotNew bug: #891445 in squid3 (main) "package squid3 3.1.15-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,Fix released] https://launchpad.net/bugs/89144521:16
uvirtbotNew bug: #892332 in ntp (main) "ntp apparmor profile insufficient ipv6 rights" [Undecided,New] https://launchpad.net/bugs/89233221:16
=== skrewler_ is now known as skrewler
virusuyarrrghhh: but he can reach the server ?21:40
virusuyor not even ask for password ?21:40
arrrghhhvirusuy, i got him in21:41
arrrghhhi enabled password auth21:41
arrrghhhbut i'd like to fix it21:41
arrrghhhso he uses keys21:41
virusuyarrrghhh: allright then,21:42
virusuydid you copy his pub key ?21:42
arrrghhhdo you know where i can look to see why his key was failing?21:42
arrrghhhyes21:42
arrrghhhto .ssh/authorized_keys221:42
arrrghhhi don't know why there's 2...21:42
arrrghhhbut whatever.21:42
arrrghhhi also removed his username@box on the end of the key21:42
arrrghhhso it's just ssh-rsa and the key - is that OK?21:42
arrrghhh(that's how my other key was)21:42
virusuyuhmmm21:43
virusuywhat about if he use ssh-copy-id command ?21:43
virusuythat command helps you to install her publig key in your server21:44
arrrghhhah right21:44
arrrghhhi'll have him try21:44
virusuyfirst, take a look at ssh-copy-id's manpage21:45
virusuyits quite simple21:45
arrrghhher21:45
arrrghhhshould i do it, or should he?21:45
virusuyhe21:45
arrrghhhi'm assuming he should21:45
virusuyindeed21:45
arrrghhhdoes he have access to do that tho?21:45
virusuyhe'll install her public key in your server, right ?21:45
arrrghhhi guess i can chmod the authorized_keys2 file21:45
arrrghhhi assume so.21:46
* arrrghhh is a ssh-keys noob21:46
virusuyif he can log in with user and password21:46
arrrghhhi feel like every time i do this i have to relearn it lol21:46
virusuythen, he can execute ssh-copy-id21:46
arrrghhhok21:46
virusuyarrrghhh: isn't easy at first , but then it's really easy21:46
arrrghhhlol21:46
arrrghhhi've... nvm21:47
uvirtbotNew bug: #892050 in qemu-kvm (main) "qemu refused to run without acceleration" [Medium,Fix released] https://launchpad.net/bugs/89205021:49
uvirtbotNew bug: #891933 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/89193321:51
uvirtbotNew bug: #892001 in cobbler (universe) "debian/copyright not lintian clean" [Undecided,New] https://launchpad.net/bugs/89200121:52
virusuyarrrghhh: did it work ?21:54
arrrghhhsorry haven't tried it yet21:54
virusuyarrrghhh: aahh ok :-)21:56
arrrghhhvirusuy, this seems too simple22:03
arrrghhhssh-copy-id <username>@<host>22:03
arrrghhhthat's it?22:03
arrrghhhlol22:03
virusuyyes, you also can use -i to indicate wich key will copy22:03
arrrghhhright22:03
=== skrewler_ is now known as skrewler
arrrghhhvirusuy, he's in22:23
virusuyarrrghhh: :-)22:24
arrrghhhi have re-disabled password auth, and still good22:24
arrrghhhthanks!22:24
virusuyarrrghhh: you're welcome !22:24
uvirtbotNew bug: #891977 in cobbler (universe) "cobbler-web package still contain traces of Ubuntu branding" [Undecided,New] https://launchpad.net/bugs/89197722:31
matrix3000anyone here using 11.10 and orchestra that could give me some tips22:55
matrix3000http://cloud.ubuntu.com/2011/10/getting-started-with-ubuntu-orchestra-servers-in-concert/22:55
matrix3000i was reading that but had questions on how exactly to setup my own cloud22:56
matrix3000and how it works22:56
uvirtbotNew bug: #891334 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.1 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/89133422:58
adam_gmatrix3000: this might be of more help: http://cloud.ubuntu.com/2011/10/ubuntu-cloud-deployment-with-orchestra-and-juju/23:03
uvirtbotNew bug: #891938 in openldap (main) "package slapd 2.4.25-1.1ubuntu4.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/89193823:13
irveewhat would be a good VM server to install on my ubuntu server that would allow me to control/view the vms from a win 7 machine?23:39
irvee10.0423:43
Davieyzul: Can you update status of bug 858878, please - thanks.23:53
uvirtbotLaunchpad bug 858878 in cobbler "lack of csrf protection in cobbler-web" [High,Triaged] https://launchpad.net/bugs/85887823:53

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