/srv/irclogs.ubuntu.com/2012/03/09/#ubuntu-server.txt

MTecknologyHow can I resize a volume group to match the size of an increased physical volume?00:26
rocketsNothing makes server maintenance go more quickly like joy division00:35
twbMTecknology: pvresize?00:37
MTecknologytwb: I did pvresize to get that bigger, but now I can't get the volume group to see that it's bigger00:37
MTecknologyfrick00:38
MTecknologytwb: i was looking at the wrong volume group.... sorry00:38
=== guampa|2 is now known as guampa
seasIs there a way to get gfs2 working alongside pacemaker in 12.04? dlm_controld.pcmk and gfs_controld.pcmk seem to be gone and pacemaker refuses to start with cman+corosync (https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/887165)00:56
uvirtbotLaunchpad bug 887165 in pacemaker "Pacemaker built without cman support." [Wishlist,Triaged]00:56
uvirtbotNew bug: #950450 in euca2ools (main) "Short options mislabeled" [Undecided,New] https://launchpad.net/bugs/95045000:58
marcoceppiIs there a 12.04 server install out yet? Or will that land when 12.04 goes live?01:06
=== bitmonk_ is now known as bitmonk
twbYou can do one at any time using auto-built installer media01:26
twbObviously until 12.04 is released, it will only be a alpha or beta install01:26
twbe.g. http://archive.ubuntu.com/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/mini.iso01:27
twbNote that's effectively the same as the "alternate" installer, the main difference between the alternate and server install media is what tasksel prompts you for, whether the language-pack packages are installed, and what packages are cached on the CD.  The last of these doesn't apply for the mini ISOs.01:28
adam_gzul: ping01:28
pabelangermarcoceppi: not sure what you mean, 12.04-beta1 is out. For desktop / server / etc01:32
marcoceppipabelanger: I can't find the ISO for it, I guess it was just a lazy way of saying "Where can I grab a beta ISO" other than install 11.10 and upgrade -d01:32
pabelangermarcoceppi: https://wiki.ubuntu.com/PrecisePangolin/TechnicalOverview/Beta101:33
pabelangerlinks listed01:33
LuisinhoPESSOAL EU QUERO APRENDER A NUKAR UM SERVIDOR OQUE EU FAÇO ?01:33
marcoceppipabelanger: Thanks o/01:33
twb!pt01:34
ubottuPor favor, use #ubuntu-br para ajuda em português. Para entrar no canal por favor faça "/join #ubuntu-br" sem as aspas. Para a comunidade local portuguêsa, use #ubuntu-pt. Obrigado.01:34
marcoceppiSo, I've never done a bare server install. I've got a HP Proliant that I'm going to be using to run OpenStack on. I'm assuming it's just something as simple as "Install Ubuntu Server, Install OpenStack, Profit!"?01:36
pabelangermarcoceppi: you forgot step 3... ???01:37
pabelanger:)01:37
pabelangerbut basically, yes01:37
marcoceppiBut it's so easy, you don't need a step 3 \o/01:38
twbInstalling a base Ubuntu Server is reasonably straightforward.  The main consideration is how to partition / raid / lvm your disks.01:39
marcoceppiWell, I take that back. I've done a few Ubuntu Server installs, but they were on smaller machiens01:39
marcoceppiThis is the first time we'll be racking something this big with the express purpose of virtualzing machines01:40
twbIIRC proliant's aren't exactly big iron01:40
qman__hardest part is if you care about HP's management software01:40
qman__have to source debs for it01:40
qman__otherwise it's just the normal deal01:41
marcoceppiI don't particularly care for that01:41
qman__only reason I do is I have to be in the same room as it when I use it, and that's the only way to slow the fans down01:42
qman__but mine's an old one01:42
qman__newer ones that may not be the case01:42
qman__mine's a dual P3 model, and the HP software brings it from 'hearing damage' to 'vacuum cleaner'01:43
marcoceppitwb: Sorry, 8 cores and 20GB of RAM are big for us01:43
marcoceppi:)01:43
twbmarcoceppi: it's still just a beefy x86 workstation, architecture-wise01:43
marcoceppiqman__: This will be racked in a DC soon, so I don't have to worry about noise too much01:43
qman__yeah01:44
adam_gzul:  i sent two packaging merges to ubuntu-server-dev for keystone + nova. i'd take a look at keystone, i dont think your fix resolved the uninstall bug.  i have nothing propose for other packages. i think glance is mostly quiet other than the debian merge stuff, which hasn't been merged and tested in -propsed yet01:44
uvirtbotNew bug: #950485 in samba (main) "package samba 2:3.6.3-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/95048501:51
=== pdtpatr1ck_ is now known as pdtpatr1ck
=== jtv1 is now known as jtv
uvirtbotNew bug: #950525 in php5 (main) "Packages Missing in both php5 and php5.3 folders since March 6th" [Undecided,New] https://launchpad.net/bugs/95052504:38
linociscohi anybody08:11
linociscoanybody who has configured server and clients on vbox as guest?08:12
linociscomy squid server on guest never work for my client on Guest08:19
linociscohi i have followed all squid documentation, I was never ok08:31
DavieyGooooood Morning people!09:00
linociscohi09:01
linociscoall09:01
linociscowho could help me with squid?09:02
ikonialinocisco: depends what you want/need09:05
linociscoi just want pure squid first with the need of client to point squid's server IP and port 3128, before I can test transparent squid.09:06
lynxmanmorning o/09:06
linociscoikonia, I have two NICs on ubuntu server09:06
linociscoikonia,  one is for WAN and one is for LAN09:06
lynxmanDaviey: does bug #950183 deserve some attention? afaict the package shouldn't gracefully recover from a previous config misconfiguration right?09:06
uvirtbotLaunchpad bug 950183 in puppet "puppetmaster-passenger postinst creates wrong certificate files and puppetmaster vhost if puppet config print has an error" [Undecided,Triaged] https://launchpad.net/bugs/95018309:06
=== CasmoNL_ is now known as CasmoNL
ikonialinocisco: ok, so what are you stuck with ?09:10
Davieylynxman: If you want to prepare a debdiff, i'll certainly sponsor09:12
Daviey(precise)09:12
Davieylynxman: Can you take the lead in helpig to close the delta with Debian?09:12
lynxmanDaviey: there's already a merge request for another bug and the puppetlabs merge09:12
lynxmanDaviey: sure! I'll be glad to do so09:12
Daviey\o/09:13
Davieylynxman: So, point me to the puppet merge!09:13
lynxmanDaviey: was just wondering if this one merited patching or not, since it parts from a broken premise09:13
lynxmanDaviey: https://code.launchpad.net/~lynxman/ubuntu/precise/puppet/puppetlabsfixbug12844/+merge/9639109:13
Davieylynxman: Right, but the issue is that it's not exit 1'ng on failure09:14
Davieyright?09:14
lynxmanDaviey: hmm I reckon so09:14
DavieyWell it *should* exit 1 on failure :)09:15
Davieyor at least non-009:15
lynxmanDaviey: fair enough :)09:15
lynxmanDaviey: I'll have a look after my GP visit09:15
linociscoiknon, i never got internet page09:15
Davieylynxman: the package maintainer scripts will barf if a command exit's non-zero and mark the package as not configured09:15
Davieylynxman: Have fun :)09:16
lynxmanDaviey: heh, thanks :)09:16
Gallomimiacan someone quickly remind me how i should install the tool to do-release-update?09:20
uvirtbotNew bug: #950664 in postfix (main) "Wrong FQDN after disconnected CD Install of precise beta1 - package postfix 2.8.7-1ubuntu2 failed to install/upgrade" [Undecided,New] https://launchpad.net/bugs/95066409:31
koolhead17hi all09:32
DavieyGallomimia: update-manager-core09:36
uksysadminmorning koolhead1709:41
uksysadmin(and others)09:41
koolhead17hey  uksysadmin. wassup09:41
uksysadminyeah good. just doing the usual: install ubu, run install of OpenStack, rinse and repeat.09:42
uksysadminand decided that I'm actually fed up of doing the basics of that and decided on looking at Orchestra again09:42
uksysadminso may actually get around that that promise of that partitioning ;-)09:43
eagles0513875ikonia: are you around im still having issues doing a net installation for some reason09:43
ikoniaI am here yes09:44
KM0201when you're installing ubuntu server 11.10, what is the "ubuntu-desktop-usb" package that you can select to install? (along w/ openssh, samba, etc..)09:51
koolhead17uksysadmin: adam_g answered some of your queries i suppose :)09:52
lynxmanDaviey: already fixed the postinst script, it's available for review at the merge, if you need a debdiff otherwise let me know :)09:52
Davieylynxman: do you have a debdiff handy?09:52
lynxmanDaviey: hmm let me prepare one quickly09:53
iclebytei've been searching for days and I cannot find a single concise document on how to create your own SIGNED repo. I've built repo's which work fine using various methods but I need it signed so that I can install custom packages via puppet without them failing. Can anyone point me in the right direction?09:58
lynxmanDaviey: debdiff attached to bug #95018310:01
uvirtbotLaunchpad bug 950183 in puppet "puppetmaster-passenger postinst creates wrong certificate files and puppetmaster vhost if puppet config print has an error" [Undecided,Fix committed] https://launchpad.net/bugs/95018310:01
lynxmanDaviey: also there's a branch merge with this fixes for bzr extra goodness10:01
* lynxman runs to the doc10:01
Davieythanks lynxman10:02
Davieylynxman: your debdiff includes .bzr :o10:03
iclebytenothing?10:03
Davieyiclebyte: reprepro10:04
DavieyIt's the most elegant small apt repo manager, includes built in signing support10:04
iclebytei've built it using that.10:04
Davieygreat10:05
iclebytewhen I go apt-get update on the other node it says 'The following signatures couldn't be verified because the public key is no avilable: NO_PUBKEY A95723464'10:05
_rubeniclebyte: i sign my internal repo manually, and have a post-installation script that imports its key into apt10:06
DavieyWell, that is a different issue iclebyte10:06
iclebyte_ruben, that is exactly what I have been looking for10:06
Davieyiclebyte: you need to import the key.10:06
iclebytehow?10:06
iclebytewith apt-key some how?10:06
_rubenyes10:06
twb21:07 <dpkg> gpg --keyserver keys.gnupg.net --recv-keys import deadbeef ; gpg --export import deadbeef | sudo apt-key add -10:07
Davieyhmm10:07
_ruben$WGET -q -O - $KEYURL | apt-key add -10:07
iclebyteapt-get add 291F3DF9 ?10:07
DavieyOr... wget htp://path/to/key/on/mirror - | sudo apt-key add -10:07
twb(It would be nice if ubottu had more of dpkg bot's entries)10:07
Daviey(you won't need the sudo if you run it as a post_install option)10:08
twbPersonally I use apt-ftparchive because reprorepo was overkill and also hard to type three times fast10:08
Davieytwb: Yeah, but you must admit that rerepro is more gentlemanly10:09
Daviey(although, didn't support udeb's OOTB last time i checked.)10:09
_rubeni use mini-dinstall myself10:09
twbWell, sure, it's all slicked up, and not like us cowboys10:09
iclebyteokay, lets go the download the key from my own repo path. I need to export the key to somewhere avilable by the webserver. using gpg --export > file.gpg ? ?10:10
iclebyteokay got it exported. gpg --export -a > mykey.gpg10:11
iclebytewooohoo! =)10:12
Davieycool10:12
iclebyteI couldn't find anything which explained the process that simply.10:12
iclebyteso I just need to use puppet to download and import that key on each node then add my custom repo to /etc/apt/sources.list and i'm cooking with gas.10:13
Davieyiclebyte: Fancy writing up a how-to, and we'll include it in the server guide?10:13
iclebyteDaviey, yea okay. I'll have to document it today anyway10:13
Davieysuper!10:14
iclebyteI'm interested, how can you manually sign the repo? i.e. if I didn't want to use reprepro and I'd created my Packages.gz manually using 'dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz' ?10:15
Davieyit's just signed..10:17
twbhttp://paste.debian.net/159093/10:17
Davieytwb: why use that?10:19
iclebytebut which file do you sign? Packages.gz ?10:19
twbDaviey: he asked "how do you do it manually"10:19
twbThat's how I do it manually10:19
twbiclebyte: Release10:19
iclebyteokay. thanks.10:19
Davieytwb: you are nuts :)10:19
twbiclebyte: look at the pastebin10:19
twbDaviey: I was lazy10:19
twbDaviey: doing it by hand is straightforward; learning to use a "helpful" tool was going to take all day10:20
twbWhen I have >>1 arch or >>1 site I will probably bother10:20
Davieytwb: right.. but i don't grok why people would us apt-ftparchive10:20
twbBecause it's simple and obvious and easy to spell10:20
Davieytwb: do you have to support multiple releases?10:21
lynxmanDaviey: reuploaded, sorry, I'm in a hurry to get to the GP (I'm late already)10:21
twbDaviey: nope10:21
Davieylynxman: eeek10:21
Davieytwb: ah, ok - no real benefit from a pool i guess.10:21
twbDaviey: that cron job literally just adds some apt metadata to a single dir, no pool/ even10:21
Davieyright10:21
twbhttp://paste.debian.net/159094/10:22
twbThat's what's in there atm10:22
Davieytwb: i'd love to see the diff's yo apply to ubuntu packages.10:23
twbthe ldap one just uses openssl because TLS + ppolicy is broken10:23
eagles0513875ikonia: for some reason citrix xen server is giving me issues even when specifying what version to pull the necessary files from10:24
Davieytwb: ahh10:24
ikoniayou need to explain more than that10:24
eagles0513875ikonia: in the process of getting the error msg10:24
twbThe mutt one basically tells mutt not to believe dovecot when it says the folder is read-only, because it *is* read only, but it will still remember read vs. not read10:24
ikoniaeagles0513875: are you using a cyrtix xen server, or just xen10:24
eagles0513875citrix xen server the free license10:24
twbikonia: here I have slapo-ppolicy(5) enabled and require all LDAP traffic to go over the ldaps port.  When linked with gnutls, it just silently fails to work, when linked with openssl it works fine.10:25
twbI can't remember which bit breaks specifically10:26
ikoniatwb: sorry, have we been discussing this before ? I have no context in what you are talking about / why you are singling me out10:26
twbAh, sudo-ldap doesn't work at all, and using passwd to reset your own password completely fails (over the wire w/exop)10:27
twbikonia: I must have misread 21:24 <ikonia> you need to explain more than that10:27
ikoniatwb: sorry, was talking to eagles10:27
twbAh, I'm ignoring him, sorry about the noise10:27
ikoniatwb: was lacking context on your problem, hence surprised on your question to me10:27
eagles0513875ikonia: yes this is in relation to yesterday when i asked you about creating a vm and the url i should point it too10:27
ikoniaeagles0513875: again, but are you using the cytrix out of the box product or the linux xen components10:28
eagles0513875ikonia: citrix out of the box10:29
ikoniaeagles0513875: comercial product - not ubuntu10:30
ikoniaeagles0513875: contact cirtix10:30
eagles0513875ok10:30
ikoniaeagles0513875: I'm assumign it's xenserver your using ?10:30
eagles0513875correct10:31
ikoniayeah, it's got excellent comercial support, if you've bought it they will really hold your hand and walk you through things10:31
ikoniait's very very well supported by cirtix, even for quite complex "away from the norm" type situations, you'll have no problem with them10:32
uvirtbotNew bug: #950711 in autofs5 (main) "autofs needs nis started first when using maps in nis" [Undecided,New] https://launchpad.net/bugs/95071111:02
ikoniathat's a pretty obvious bug11:16
ikoniaif you are using nis maps for auto mounter, than of course nis must be started and bounc11:16
ikoniabound11:16
Dioxinis it possible to get a little assistance with PXEBooting an Ubuntu-Server?11:42
DioxinI'd like to be able to boot almost completely disklessly11:43
ikoniaok11:43
DioxinI have PXEBoot configured already, the issue I have is that I'm not sure how to generate the file system correctly to boot the way I'm intending11:44
Dioxinmy intention is to have no dependence on the network once its booted11:44
Dioxinand the target system wont have any local disk, so I'm hoping to use some form of RAMDisk for system files11:45
ikoniaDioxin: have you looked at the ltsp project11:46
ikoniaDioxin: while this isn't exactly what you want, it does have good docs on creating rambased disk installs11:46
DioxinI think so, let me pop off and remind myself, one second11:46
koolhead17!ltsp11:47
ubottuLTSP is the Linux Terminal Server Project, which adds thin-client support to Linux servers. See chapter 3 of the !edubuntuhandbook, http://www.ltsp.org and/or http://en.wikipedia.org/wiki/Linux_Terminal_Server_Project11:47
koolhead17Dioxin: :P11:48
ikoniaDioxin: it's not the same process, but the concept of booting into ram is in their docs11:49
ikoniaDioxin: hopefully enough to get you moving, then we can look at specific things11:50
Dioxincheers, I'm just bouncing round the wiki11:51
ikoniaDioxin: or we can just dive right in, I've not done %100 diskless ram machines for a while, maybe intersting11:52
Dioxin:)11:52
Dioxinlet me just get some of the issue in my head, so I don't have a brainfart11:52
ikoniathey key part is making the boot image as I recall11:54
Dioxinthis is the precise point I'm stuck on ;)11:54
ikoniayou need a specific image though, or you are just going to user the installer desktop11:55
ikoniaI made an install, then made an image of it, then booted that image11:55
ikoniathe cd installer wasn't good for that functionality11:55
ikonia(from memory)11:55
koolhead17Dioxin: and once your done, make sure to update the wiki in case you find t outdated!! :P11:57
Dioxinnot a specific image per se.11:57
Dioxinthe LTSP appears to use a specific image for the thin-client end, and doesnt seem to point to anything regards a custom one11:58
DioxinI'm intending to only access the target system via ssh or some such (diskless and headless ;) )11:59
Dioxinbut I've got it hooked up to a monitor and keyboard for now11:59
Dioxinwould it make sense to boot from a CD, install to NFS on the PXE Server, and then amend the root file system to load itself onto the Ram Disk?12:01
ikoniathat's an interesting idea12:01
ikoniaI'd be interested in how that works out for you12:01
ikoniacould you not just mount the NFS server AS the root file system on th client12:02
ikoniathat is in essense running in rmdisk12:02
Dioxinbut let just say that I unplugged the network, wont the system drop out?12:02
ikoniayes12:02
ikoniahow much ram does your client have ?12:03
Dioxin8 gigs12:03
ikoniaso you should be able to hold an uncompressed file system quite comfortably12:03
ikoniaI think the CD is 2.4 gig when uncompressed12:03
Dioxinthe plan is once I get one running system, to twink to reduce the footprint12:04
Dioxintweek*12:04
ikoniaDioxin: I like the idea of installing it to NFS, tune the install, then make a boot image from that12:04
Dioxinis it trivial to install to NFS from the Server Boot Disk?12:05
ikoniashould be, it's just going to ask you for target file systems12:05
ikoniaalthough.....I'm wondering if it won't like it as it's not /dev/something12:05
Dioxinonly one way to find out ;)12:06
ikoniagood attitude12:06
Dioxinok I'm going to pop away for a short while to burn a disc and see if I can install to NFS12:07
ikoniaDioxin: I'll try to dig out some notes12:07
KM0201whats the command to reconfigure your sources list, so you can choose a different mirror?12:16
Dioxinikonia: just creating a Ubuntu Server USB stick12:18
KM0201.12:19
DioxinKM0201: not sure of the command but I think you can access them from /etc/apt/sources.list12:20
KM0201Dioxin: i know that, but then i have to retype it all, don't want to do that12:20
KM0201there's a way to reconfigure it (you know how when you were installing, and you chose your repository mirrors)12:20
KM0201so you can choose another mirror12:21
DioxinKM0201: http://repogen.simplylinux.ch/index.php ;) this at least saves the typing ;)12:24
KM0201i don't care about the typing12:24
KM0201i just want the command12:24
Dioxinikonia iSCSI seems to be the only option12:29
ikoniaDioxin: in what respect12:33
DioxinI've booted the server iso, and gone through the install steps12:34
DioxinI'm at the setup disks part12:34
Dioxinand the only option is iSCSI (unless I should have set some tags earlier)12:35
ikoniaah, so it hits a problem at the target file system install point12:35
Dioxinyes12:35
Dioxinshould I execute a shell and somehow mount the NFS?12:35
ikoniaDioxin: suggestion, do it in a VM, then export/copy the file systems off12:35
ikonianah, I don't think that will work12:36
Dioxinit is possible to mount a VM image to copy from it?12:37
ikonianot directly, I meant do the install, then copy the file systems off it12:38
DioxinI'm not 100% sure how its best to approach that part12:39
Dioxininstall the server edition and just copy the rfs from the running VM?12:39
ikoniaDioxin: not running, but certainly from a VM12:40
ikoniaDioxin: eg: build  VM, install, then boot the VM from the iso so the file systems are not in use, then copy the file systems out of the VM into directories/NFS mounts to make a "boot" image for your diskless clients12:40
ikoniafollow ?12:40
Dioxinthink so12:40
smbDaviey, Is upgrade testing for orchestra installations from O to P something that is on your radar?12:44
Davieysmb: sort of, depends what the subject is.12:45
smbDaviey, subject it sucks? ;-P12:45
Davieysmb: I mean, /what/ are you testing? :)12:46
smbDaviey, basically standard install on oneiric then upgrading to precise. One thing that seems consistent is that cobbler_web is in rc state.12:47
smbThen I think whatever squid configuration is set up in O , it did not seem to move to squid3 in P12:49
KM0201does anyone know the command to reconfigure your source list?... so you can choose a different mirror (rather than retyping your entire source list)12:49
KM0201i was thinking it was dpkg-reconfigure .... then i draw a blank12:49
twbKM0201: there's no standard one12:50
twbYou can use mirror:// urls in your sources.list12:50
twbOr there are older tools like apt-spy, but I don't think they work for ubuntu12:50
KM0201hmm12:50
KM0201i was thinking there was something like dpkg-reconfigure... then you could choose a new source.12:50
KM0201oh well, no big deal12:50
twbif you use mirror method it gives you a public one based on your geoip12:51
KM0201ok12:51
Davieysmb: Yes, the squid3 issue is known12:51
Davieyadam_g is tackling that12:51
glenn___lyxnman: is there something that i can do to perhaps speed up the process for the latest puppet bug fixes so it will be available on the official repos? perhaps test packages?12:56
glenn___lyxnman: or is this something i should just wait for patiently? :)12:56
ubusnoobhello ubuntu server newbie looking for some help here with postfix!12:58
Dioxinif I wanted to cp a root filesystem do I need any special modifiers?13:11
DioxinI dont wish to screw up the file owners13:12
ubusnoobHow can I configure postfix to act as a pop server in a small lan with windows clients only with no interenet connection? Just a small lan for ECDL courses.13:13
xranbyDioxin: in short: use cp -a   it will preserve the premissions.13:17
ikoniaDioxin: arp13:17
ikoniacp -arp13:17
Dioxinthanks, next question, how do I write permissions to my NFS :(13:17
ikoniasame as a normal file system13:18
Dioxinmy nfs mount is complaining that its a read only file system13:19
xranbyDioxin: on your nfs server edit the /etc/expots file13:20
seasanyone here who got pacemaker+gfs2 working in 12.04? cannot figure out how to because dlm_controld.pcmk and gfs_controld.pcmk got removed and pacemaker doesn't support running alongside cman (yet?)13:21
Dioxinxranby: cheers... it was set as ro :(13:21
Dioxinxranby: ok I changed the exports to rw, remounted and restarted nfs but still no permissions13:25
xranbyDioxin: you are tackling a differnet issue here13:25
xranbythe nfs server simply refuses you to create some permissions13:26
xranbyit would have worked if you did the copy to a harddrive under controll by the user who did the copy13:26
Dioxinpermission denied on the write13:26
Dioxinlet me see if I can remove the hdd file permissinos13:26
ikoniawhoaaa13:27
ikoniaDioxin: stop stop13:27
ikoniaDioxin: two seperate issues13:27
ikoniaDioxin: 1.) fix your NFS permissions13:27
ikoniaDioxin: 2.) deal with your pxe image creation13:27
Dioxindrwxr-xr-x 2 root root      4096 2012-03-06 19:35 node13:27
Dioxinisnt that the issue?13:27
ikoniaDioxin: that means only root can write to it13:27
Dioxinexactly, my VM isnt root13:28
ikoniaDioxin: hang on13:28
ikoniaDioxin: you've not copied anything to the NFS file systems yet have you ?13:28
ikoniaor have you ?13:28
Dioxinno I havent13:28
ikoniaDioxin: what is your current usename on the system13:29
ikoniaok, so then your VM has nothing to do with this - don't include it in the discussion to confuse it13:29
Dioxinon the VM I'm user:ubuntu on the nfs server I'm user:dioxin13:30
DioxinI would have thought that the nfs mount on the VM doesnt have root permissions on the folder13:30
ikoniaDioxin: no - forget the vm13:31
ikoniaDioxin: ok, so you are logged in as "dixon" so your user has no capabilities to write to a file system with permissions owned by "root:root"13:32
ikoniaDioxin: you need to fix that, so you can copy your vm file systems off your machine and copy them to your nfs server13:32
ikoniaDioxin: try not to confuse/make the issue more complex, it's a simple permissions issue at this time13:32
Dioxinbut user:dioxin isnt doing the writing, I thought13:33
ikoniaDioxin: how are you trying to copy the file systems ?13:34
Dioxinin VM booted from liveCD, mounted nfs, mounted VM HDD, cp -arp * ../node/13:35
lamonttiaz: barberry/elderberry /113:39
lamontbah13:39
lamont.113:39
Dioxinikonia: ok, I've fixed it, it was the folder permissions + exports rw issue + no_root_squash issue13:39
Dioxinapologies for the confusion13:40
ikoniaDioxin: no need for apologies13:43
DioxinI should have done this on my other computer... 10/100 is slow!!!13:43
Davieysmoser: cloud-init used standlone, local-hostname: foo .. doesn't set foo in /etc/hosts.. is that known?14:21
Daviey(using nocloud)14:21
smoseryou have to tell it to do that.14:22
Davieysmoser: shouldn't it do it auto-magically ?14:22
smoserits a mess.14:22
smoserif you do it automagically, someone gets pissed off.14:22
smoserif you dont14:23
smosersomeone else gets pissed off14:23
smoserso it is how it is14:23
smoserif you want it, tell it to do so in config14:23
Davieysmoser: ok, is it worth updating the README? :)14:23
Davieysmoser: But i do want to mention, it's a very graceful way of starting vm's14:24
Davieygood job. :)14:24
smoserthanks.14:24
smoseryou need to set14:24
smosermanage_etc_hosts:14:24
smoserto true14:24
smoseror template14:24
Davieyah nice, i thought i'd have to echo myself14:24
smoseror 'localhost'.14:25
smoserlocalhost might be the best decision there.14:25
smoserrbasak, which do you use ?14:25
* rbasak looks14:26
rbasaksmoser, Daviey: http://paste.ubuntu.com/876070/14:27
Davieyrbasak: do you have a wrapper?14:27
rbasakDaviey: the wrapper I showed you at the oneiric release sprint you mean?14:28
rbasakDaviey: yes, I do :)14:28
Davieyrbasak: a wrapper for starting cloud-img's using cloud-init data?14:28
Davieyon localhost, with an iso attached as datasource?14:29
rbasakDaviey: no, not yet. I plan to add support for local stuff, but haven't started that yet14:29
Davieyah, ok, cool14:30
smoserDaviey, i'll take a patch to put 'manage_etc_hosts: localhost' into that README14:30
smoserif you'd like.14:30
Davieysmoser: Do i get mentioned in the AUTHOR's file?14:31
DavieyDo i need to sign a CLA?14:31
smoserwell, you'll have to ask your manager if you need to sign the CLA14:34
smoserbut traditionally... in to get into the AUTHORS file, there is usually a paypal or fermented beverate exchange required.14:34
rbasaksmoser: shouldn't you be checking with _your_ manager? :)14:35
Davieysmoser: sadly, i don't have a manager, only a director :(14:35
smoserhm.. i think rbasak is right, i'll ask my manager.14:35
Davieycool14:36
smoserDaviey, do should Dave Walker need to sign the CLA to contribute a documentation fix ?  I'm not sure if his employer, Canonical, has signed the CLA or not.  Could you check with legal ?14:36
smosers/do //14:36
Davieysmoser: wilco!14:40
pabelangerSo, more upstart and openstack :)  Any thoughts about adding mysql as a 'start on' dependency for nova, glance, etc packages.  Obviously this only affect installs where mysql is on the local system.14:52
pabelangerSo using start on (local-filesystems and net-device-up IFACE!=lo) and started mysql for glance's upstart help glance cleaner however I'm using an 'and'15:44
=== JanC_ is now known as JanC
=== Lcawte|Away is now known as Lcawte
pabelangerI just added a debdiff for bug 950935 If accepted, I'd like to do the same for nova16:13
uvirtbotLaunchpad bug 950935 in glance "Allow adm group to read log files" [Undecided,New] https://launchpad.net/bugs/95093516:13
reisihow did one fix a package with broken scripts? x11-common (1:7.6+7ubuntu7.1) seems to refer to "tempnam": "tempnam: No such file or directory"16:54
jorgesomebody could help me to understand how nova-* packages works in oneric 11.10 server? I can see 3 versions with apt-cache show nova-api (for example), but i seems the operate system is not upgrading the packages.16:59
SpamapSjorge: apt-acache policy nova-api will show you the priority/version/etc17:08
jorge*** 2011.3+git20111117-0ubuntu1 0      2011.3-0ubuntu6.4 0      2011.3-0ubuntu6 017:11
jorgewhat is the newer one?17:11
jorgei think 2011.3-0ubuntu6.4 is the newer version for all nova packages, right?17:12
uvirtbotNew bug: #928378 in glance (main) "glance client should be separate from server" [Medium,Fix released] https://launchpad.net/bugs/92837817:18
jorgeSpamapS: I can see here my policy is to use nova* packages of *** 2011.3+git20111117-0ubuntu1. However,17:22
jorgeSpamapS: I think 2011.3-0ubuntu6.4 version has some bug fixes and a security update.17:23
jorgeSpamapS: I expected that the system automatically upgrade to this new version, but this didn't happen.17:24
SpamapSjorge: 2011.3+git is higher than 2011.317:25
SpamapS$ dpkg --compare-versions 2011.3+git '>>' 2011.3 && echo 2011.3+git is higher17:28
SpamapS2011.3+git is higher17:28
SpamapSjorge: that *should* have been ~git17:28
nOStahlhey can I dd a drive from ubuntu server installer?17:34
zuljorge: hmmm?17:34
nOStahlanyoe know?17:37
=== onre is now known as Guest53663
SpamapSnOStahl: dd might not be available. What exactly are you wanting to do?17:42
nOStahlzero out the first meg and last meg of my drive17:43
nOStahldoesn't look like dd is an option17:43
SpamapSnOStahl: just for fun? ;)17:43
nOStahlguessi 'll have to boot up a desktop live cd heh17:43
SpamapSnOStahl: you could boot a live CD and do that.17:43
nOStahlya17:43
nOStahlI'm switching a power edge 2850 from raid to single drive mode17:44
SpamapSnOStahl: what reason do you have for 0'ing those two sections though?17:44
nOStahlhad hard drive go out17:44
SpamapSnOStahl: what would the 1st MB/last MB have to do with that?17:44
nOStahlI'm told meta data is held there from the raid17:45
SpamapSnOStahl: but what would zero'ing them out do?17:45
nOStahlget rid of it17:45
nOStahlI'm just following orders :)17:46
nOStahllol17:46
SpamapSyay, you got rid of it. Why go through trouble to do that?17:46
nOStahljust want to get a fresh install of ubuntu server running on the box (tried wouldn't boot kept trying to pick up raid config17:47
nOStahleven though its been disabled in bios with the hardware raid controller etc.17:47
stgraberjjohansen: apparmor? :)17:49
jdstrandstgraber: I am preparing the upload17:49
stgraberjdstrand: rocks!17:49
jdstrandstgraber: it should be soon17:49
stgrabercool so I can hopefully upload a new LXC with the mount rules later this afternoon/this evening then17:50
arosaleslynxman: Thanks for the mcollective patch to remove ohai in bug 948437 :-)18:10
uvirtbotLaunchpad bug 948437 in chef "Remove unsupported release from Precise" [High,Confirmed] https://launchpad.net/bugs/94843718:10
lynxmanarosales: np :)18:11
jorgeSpamapS: sorry man! i'm back now. i've tested the commands ... 2011.3+git is higher18:15
jorgeSpamapS: the issu is that i'm having some problems with the packages... now, i know i have to wait some new packages that fixe the problems.... i'm having this problem: https://bugs.launchpad.net/nova/+bug/85566018:16
uvirtbotLaunchpad bug 855660 in nova "DescribeInstances fails sporadically" [Undecided,Fix released]18:16
stgraberjdstrand: yeah! thanks for the upload18:27
jorgeuvirtbot: ok, thanks! i think it will be available in essex... i'm using diablo packages from ubuntu oneiric repository. my packages are up to date and i'm still having problems. anyway, thanks!18:28
uvirtbotjorge: Error: "ok," is not a valid command.18:28
jorgeuvirtbot: ok thanks! i think it will be available in essex... i'm using diablo packages from ubuntu oneiric repository. my packages are up to date and i'm still having problems. anyway, thanks!18:28
uvirtbotjorge: Error: "ok" is not a valid command.18:28
jdstrandstgraber: your welcome. hopefully it'll work well for you18:28
jdstrands/your/you're/18:29
SpamapSjorge: you can force the installation of any version with  apt-get install package=xxxx .. though it will likely "upgrade" you to the other version on your next upgrade unless you use "pinning"18:31
jorgeSpamapS: ok! thank you!18:34
_GoRDoN__Hi! I'm having some problems with mdadm. Yesterday I switched a failde disk in my raid5 array to a new one. Rebuild startede automatically and after it finished everything worked perfectly. However after I rebooted my machine array stopped working and by that I mean cryptsetup wouldn't accept any passpharases or keyfiles. After couple of hours of googling and panicing =) I noticed that mdadm was using /dev/sdd instead of /dev/sdd1 and if I 18:38
SpamapS_GoRDoN__: truncated at "and if I"18:39
_GoRDoN__...and if I unplugged the new disk, remaining array worked again. So how'll I tell mdadm to use /dev/sdd118:40
SpamapS_GoRDoN__: I'd remove /dev/sdd from the array (mdadm --remove /dev/mdX /dev/sdd)18:42
SpamapS_GoRDoN__: Then zero both superblocks with mdadm --zero-superblock /dev/sdd and mdadm --zero-superblock /dev/sdd118:42
SpamapS_GoRDoN__: then add /dev/sdd1 (mdadm --add /dev/mdX /dev/sdd1)18:42
SpamapS_GoRDoN__: Make sure your data is backed up btw. :)18:43
_GoRDoN__SpamapS: /dev/sdd disappeared from the array stats in /proc/mdstat  when I unplugged it and after that I added sdd1 to array. Wouldn't rebuild overwrite superblocks or can I zero them after/during rebuild?18:53
patdk-wkthat is just what it's actually using, realtime18:54
patdk-wkcheck what the config file says, in /etc/mdadm18:54
* SpamapS does not ever trust /etc/mdadm18:55
patdk-wkno, but you should update it18:55
patdk-wkso it's accurate18:55
SpamapS...18:55
SpamapSwe should really just not have the stupid thing18:55
SpamapSan on disk file to define the on disk state of superblocks.. wtf?18:55
_GoRDoN__There are no devices listed in /etc/mdadm/mdadm.conf18:56
=== seas_ is now known as seas
patdk-wkok, then that isn't helping to cause the issue18:56
patdk-wka rebuild of sdd1 won't overwrite the superblocks of sdd18:57
SpamapS_GoRDoN__: well if sdd1 has never been part of the array, then you don't need to zero superblocks18:57
SpamapS_GoRDoN__: but as patdk-wk says.. still zero'ing /dev/sdd's superblock is a good idea to keep it clean18:57
_GoRDoN__No it's brand new disk18:57
_GoRDoN__Can I do that while array is rebuilding or should i remove it from array first?18:58
patdk-wkhmm18:58
SpamapS_GoRDoN__: I think it might be safe... fun experiment if you're willing to don the bomb-squad suit and light it on fire to see if it burns or not ;)19:01
_GoRDoN__It seems that rebuild has reserved the disk entirely to itself and neither removing or zeroing wont work19:07
_GoRDoN__And fdisk says that partitiontable is invalid19:08
patdk-wkhow exactly did you tell mdadm to use that disk?19:17
patdk-wklast I knew, it wouldn't automatically reuse a disk unless it was marked as a spare19:17
_GoRDoN__patdk-wk: mdadm /dev/md1 --add /dev/sdd119:19
_GoRDoN__Okay... I'll try to remove both sdd and sdd1 from array, repair partitiontable, zero superblocks for both and add sdd1 back to array and see how it goes19:29
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
stgraberjjohansen: apparmor tech support? :)19:58
uvirtbotNew bug: #951087 in samba (main) "Samba non-functional on boot." [Undecided,New] https://launchpad.net/bugs/95108719:58
stgraberjjohansen: so I can now use mount without it getting into an infinite loop, though it doesn't seem to actually work...19:58
stgraberjjohansen: I started with http://paste.ubuntu.com/876509/ to just allow everything but I'm still get the mount DENIED19:59
stgraberjjohansen: my first try was with "mount /** -> /usr/lib/lxc/root" which is actually what we want to allow but that didn't work either19:59
stgraberjdstrand: ^20:00
jjohansenstgraber: hrmm, it should work, I did test.20:00
stgraber[36108.427446] type=1400 audit(1331323087.420:170): apparmor="DENIED" operation="mount" parent=32353 profile="/usr/bin/lxc-start" name="/usr/lib/lxc/root/" pid=32375 comm="lxc-start" src_name="/home/stgraber/data/vm/lxc/containers/precise/rootfs/" flags="rw, rbind"20:00
jjohansenstgraber: alright, I will take another look, I may need to give you a test kernel20:01
stgraberjjohansen: ok :)20:01
jjohansenstgraber: is there anything specific you where doing?  You where just using lxc-start and the lxc profile right20:02
stgraberjjohansen: yep, just lxc-start with the profile I linked above which is the standard lxc profile with mount added20:03
stgraberI have apparmor 2.7.100-0ubuntu1 and 3.2.0-18-generic (64bit)20:03
jjohansenstgraber: okay, thanks. I'll start from a clean install, maybe I had something present messing with things20:04
stgraberjjohansen: I'm testing on my laptop so I'm not excluding I have something causing problems but I'm not running any non-official packages or kernel20:09
jjohansenstgraber: uh my bet is its the kernel, on the bind path, I am building a new kernel to test20:11
axisyshow do I install ubuntu on a remote system.. i only have ilom access through the SP.. it is physically connected to the switch at the site..20:39
axisysit is sun fire x427020:39
axisysjava wbstart to the remote console shows all the devices grayed out.. so cannot map a iso to the cdrom device20:40
guntbertaxisys: what is "ilom access through the SP" ?20:40
axisysguntbert: network management port20:41
axisysi can bring the system up through that port.. i can use java ws to remote console into it and could map a iso to the cdrom device if not grayed out20:42
axisysso other option would be install over the network20:42
axisyslike net install20:42
axisysplanning to install latest LTS20:42
axisys64bit20:42
axisysnet install is not so easy compare to install from a virtual cdrom..20:43
guntbertaxisys: why can't you  map the iso? On my vps that is managed via the web GUI20:44
axisysguntbert: the web gui has an option for that.. but it is grayed out like this20:45
axisyshttp://picpaste.com/pics/ilom-t8IvCeF9.1331325919.png20:45
axisysi tried few versions of java webstart .. same issue20:46
guntbertaxisys: ah, now I know what ilom means :-)  - one idea: try to power on the machine, maybe the redirections are only available when powered on20:48
axisysguntbert: it is on20:52
axisysHost Power: On20:53
guntbertaxisys: and when it is off?20:53
axisysguntbert: have not tried with off20:53
guntbertaxisys: I'm just fishing around :-)    maybe try to ask support20:54
axisysguntbert: means ubuntu server mailing list?20:54
guntbertaxisys: no, Oracle20:55
axisysguntbert: oh ok20:55
guntbertaxisys: I assume they will know under which circumstances you can attach a virtual device20:56
axisysguntbert: i will go ahead and create a ticket.. thanks20:57
guntbertaxisys: don't they have a forum too?20:58
axisysguntbert: they should.. i thought google would find something in there..20:58
guntbertaxisys: they are talking about some sort of dongle needed21:00
axisysguntbert: hmm.. that's first time.. i usually make virtual device fine.. this is the first server21:01
guntbertaxisys: I searched for      ilom "attach devices"21:01
axisysRemote console does not need it21:02
axisysyou were looking at local console21:02
guntbertaxisys: you know definitely more about it than I do :)21:14
axisysI am just going to do a net install.. it might take a while for oracle to get back21:14
axisysso any good page on net install that I should follow21:14
axisysi have a server on same network that is running ubuntu lts21:15
axisyslucid 64bit21:15
guntbertaxisys: not from me, sorry -- with ubuntu netinstall means obviously "boot from the minimal CD"...21:17
axisysguntbert: i meants PXE21:17
axisysmeant*21:17
uvirtbotNew bug: #947118 in horizon (universe) "Horizon package on Precise throws warning during installation" [High,Fix released] https://launchpad.net/bugs/94711821:18
guntbertaxisys: I assumed as much -- did you see igor.chudov.com/projects/PXE-Netinstall-Of-Ubuntu/  or    my.opera.com/ilogico/blog/how-to-netboot-and-netinstall-ubuntu  ?21:19
axisysso far I found this https://help.ubuntu.com/community/PXEInstallServer21:19
axisyslet me look through all21:20
=== sixstringsg|away is now known as sixstringsg
uvirtbotNew bug: #951150 in lxc (universe) "lxc-start-ephemeral is not all ephemeral" [Undecided,New] https://launchpad.net/bugs/95115021:31
smoserroaksoax, i just uploaded cloud-init with maas support.21:41
smoserso right now, cobbler is the last piece of the maas -> cloud-init puzzle.21:41
smoseri can look at that on monday.21:41
smoserit looks like we just need a hole in the preseed files for kickstart variable MAAS_PRESEED21:43
koolhead17zul, :)21:57
roaksoaxsmoser: cool stuff21:59
roaksoaxsmoser: monday will distributed stuff from orchestra to cobbler and so on22:00
uvirtbotNew bug: #951181 in lxc (universe) "lxc-wait: bind : Address already in use." [Undecided,New] https://launchpad.net/bugs/95118122:21
axisysi have 8 300GB disks and 2 148GB disks.. should I do a raid10 of 8 big and raid1 of 2 small disks and then apply lvm on top.. or do I raid1 of 2 small and the 8 disks all LVM w/o md ?22:24
axisyscost is not an issue.. space is not an issue..22:24
SpamapSaxisys: lvm of 10 disks would be almost as bad as RAID 022:32
SpamapSaxisys: a RAID 10 for the 8 disks will give you excellent performance for almost any workload, assuming you have enough bus to handle 10 disks reading/writing in parallel :)22:33
* SpamapS goes to eat lunch22:33
jjohansenstgraber: do you have a specific config file you are using or are you just using the default23:11
ubu-stuQ How do you create a samba share on a PDC so that only one person can update the web site vis their windows login.?23:22
SpamapSubu-stu: its highly dependent on how you have your users setup23:45
SpamapSubu-stu: if the PDC's users are the "real" users, then just create a share with 'write list = thatuser'23:46
=== sixstringsg is now known as sixstringsg|away

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