/srv/irclogs.ubuntu.com/2012/01/04/#ubuntu-server.txt

uvirtbotNew bug: #911539 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/91153900:41
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
smoserSpamapS, around ?01:42
smoserwell, if you see this, see in #juju . looking for "how do i do the orchestra provider"01:46
samba35i am @ home with 2 pc ,1st pc is utm (firewall/vpn/av.etc) and 2nd pc is linux with 3 interface ,i want dmz traffic on eth1 and lan traffic on eth0 how do i configure this usage scenario02:28
twbUTM?02:32
twbIf you only have two hosts, where is the DMZ?02:33
samba35sorry02:41
samba35utm is unified threat mangment02:41
samba35which provide anti-virus ,anti-spam, ips/ids ,firewall ,vpn ,routing ,proxy and more thing in one box02:42
twbOK, an appliance02:42
samba35yes02:43
samba35u can get this on software based also /virtual also02:43
samba35my utm network is 192.168.2.0/24 and dmz is 192.168.3.0/2402:44
samba35lan is on utm network02:44
twbWhy do you have so many networks when you only have two hosts?02:44
samba35i want to use web server ,mail server ,ftp server with linux on dmz02:45
twbIn English, the space goes *after* the comma.02:46
samba35and i also want to host windows xp and server on ubuntu using kvm but that is later02:46
samba35sorry for that i am not a native english speaker02:46
samba35please forgive for that02:46
twbNo problem.02:47
samba35if i want to access ssh or ftp or web server from outside (from differant location ) it should use dmz and when i am @ home it should use lan /utm02:49
twbhttp://paste.debian.net/150904/ normally your network would look like this02:50
twbRouting, DHCP, DNS, firewall, QoS, NTP, are done on the bastion.02:51
twbServices like HTTP, IMAP, are done on servers hanging off the DMZ02:51
twbAnd internal-only server like Samba would run in the LAN, along with the desktops02:52
twbNow, it sounds to me like this "utm" is your bastion.  Is that right?02:52
samba35yes02:52
twbOK.02:52
samba35but how do i configure network priority02:52
twbI don't know what that means02:53
samba35ok ,let me try to explain again02:53
=== dendrobates is now known as dendro-afk
samba35say ,if u want to access my ssh ubuntu how u will ?02:54
samba35i have nat rule configure for that02:54
twbThat configuration is done on the bastion02:54
samba35ok02:55
twbAs you say, it is done with DNAT rules.02:55
samba35yes02:55
samba35can i send you pm so we will share more details02:56
twbNo.  Discussion should take place in public.02:57
samba35ok02:57
twbubottu: /msg02:58
ubottuPlease ask your questions in the channel so that other people can help you, benefit from your questions and answers, and ensure that you're not getting bad advice. Please note that some people find it rude to be sent a PM without being asked for permission to do so first.02:58
samba35what is best tool in ubuntu server to mange multiple nics03:07
twbip03:07
samba35any gui tool03:08
twbI don't approve of GUIs03:10
samba35do you have any idea on kvm networking03:10
twbIt's the same as normal networking03:10
samba35if i use bridge do i have to use same ip address on ubuntu bridge and guest nic ?03:12
twbJust use kvm's built-in userspace networking03:13
samba35ok03:13
airtonixwhat are the compelling reasons to use nscd instead of bind?03:19
twbnscd is not nsd03:20
twbnscd should never be used03:20
twbnsd3 serves zonefiles; bind does both that and caching recursive resolving -- two DNS role that IMO are unrelated and should be kept separate.03:21
uvirtbotNew bug: #911584 in samba (main) "smbd crashed with SIGABRT" [Undecided,New] https://launchpad.net/bugs/91158403:31
samba35i have uninstalled apache2 still there is apache2 is been use (check with lsof ) how do i check which package is using apache204:02
twbPastebin the lsof output04:03
samba35ok04:03
samba35lsof -i 4 ? or04:03
twbWhat I mean is: what is your evidence, that apache2 is in use?04:04
samba35ok04:04
samba35http://pastebin.com/0Aby1mCJ04:05
twbOK, what is your evidence that apache2 was uninstalled?04:06
samba35i tryed apt-get remove apache2 /httpd04:07
twb"sudo apt-get remove apache2" ?04:07
samba35apt-get purge apache204:07
samba35yes 0 package remove04:08
twbOK, your problem is that apache2 is a metapackage04:08
twbThe "real" apache2 package is called apache2-mpm-worker, or one of the other apache2-*-worker packages04:08
koolhead11hi all04:08
twbEr, one of the other apache2-mpm-* packages04:08
samba35ic04:08
samba35how do i check /search all packages with apache04:09
samba35apt-file ?04:09
twbTry apt-get autoremove, otherwise try manually removing packages04:09
twbsamba35: apt-cache search04:09
samba35it will search on internet right ,i want all locallly04:10
twbWrong.04:10
samba35ok04:10
samba35twb, thanks got it remove04:15
samba35dpkg --get-selections |grep -i apache204:15
=== dendro-afk is now known as dendrobates
=== bladernr_ is now known as bladernr_afk
=== beerbro is now known as Yaph-ar-ti
=== smb` is now known as smb
koolhead17hi all09:48
Tm_Tgood day09:54
uvirtbotNew bug: #911680 in samba (main) "smbd crashed with SIGABRT in store_inheritance_attributes()" [Medium,New] https://launchpad.net/bugs/91168010:01
=== lotia_ is now known as lotia
_johnnyhi, i'm trying to use curl on a non-standard http server which gives incorrect (or no) content-length. i've tried setting NOBODY to true, "Expected:" to empty array, but i still get "transfer closed with ... bytes remaining to read" (or blocked time out if NOBODY = true). any ideas?11:12
uksysadmin_johnny, when you say non-standard... what is it you've got set up and what is the curl command line used?11:21
_johnnyuksysadmin: i have not set it up, and it's over SSL so debugging was a bit tricky at first. it turns out there's a IGNORE_CONTENT_LENGTH which solved it :)11:25
uksysadminglad I could help! ;-) lol11:25
_johnny;)11:27
Ursinhagood morning :)11:28
=== dendrobates is now known as dendro-afk
zulmorning12:56
uksysadminhi zul, ttx suggested asking you about weekly releases of openstack on precise... is there anything I need to add to my apt configs or is this something that happens weekly in precise from the standard repos?13:06
zulno there isnt anything you need to do extra they will just magically appear13:07
ttxzul: did we converge on packaging ?13:10
ttxI was wondering if there were still differences13:11
zulstill a bit of convergence will be synching everything up today13:11
uksysadminthanks zul and ttx13:15
uvirtbotNew bug: #911747 in openssh (main) "[Feature] Add AuthorizedKeysCommand to OpenSSH" [Undecided,New] https://launchpad.net/bugs/91174713:16
uvirtbotNew bug: #911753 in openssh (main) "Wrong directive in config file cause server to crash" [Undecided,New] https://launchpad.net/bugs/91175313:35
=== bladernr_afk is now known as bladernr_
raubvogelI setup a machine to do kerberos authentication and now when I try to change the password of a local user it wants its kerberos password. How come?14:29
pmatulisraubvogel: prolly b/c of pam.  pastebin /etc/pam.d/common-password14:35
raubvogelpmatulis: the "minumum_uid=1000" in line 27 perhaps? http://pastebin.com/nWLs2rcN14:36
pmatulisraubvogel: right, see http://manpages.ubuntu.com/manpages/lucid/man5/pam_krb5.5.html14:42
raubvogelYeah. Yesterday we switched to kerberos. I bet we will still find other fun issues down the road...14:43
=== chuck_ is now known as zul
philpemHi all. I've set up a machine with 11.10 Server, running headless and I'd like to use it as a virtual machine host. I'm thinking Orchestra might be the easiest way to set up the VMs, but how would I go about using this with KVM or Virtualbox?14:58
philpemAlso, are there any admin tool (command line or web) which would make it easier to set up the VMs, create/delete them, start/stop, and so on? The KVM command line tools seem a bit rough around the edges.14:58
pmatulis!info virt-manager15:05
ubottuvirt-manager (source: virt-manager): desktop application for managing virtual machines. In component main, is optional. Version 0.9.0-1ubuntu3 (oneiric), package size 330 kB, installed size 2960 kB15:05
pmatulisphilpem: ⤴15:05
philpempmatulis, I get the impression that it's desktop only though, and not really intended for servers.15:06
philpemAs in, if I install it I may well get X11 and half of GNOME or KDE thrown in for good measure15:06
pmatulisphilpem: correct, you run it on a desktop and connect to the server15:07
philpemWell that sounds easy enough. Is there a HOWTO for what I need to set up on the server?15:07
pmatulisphilpem: but you can install it on the server as well (giving you access to local iso files and the host's bridge, if necessary) and it doesn't drag in the kitchen sink15:08
pmatulis(i.e. ssh -Y server virt-manager)15:08
pmatulisphilpem: re 'howto', virt-manager is independent of the server.  maybe i misunderstand your question15:09
philpemI just need to know if there's anything that needs installing or setting up on the server to allow virt-manager to connect15:10
pmatulisphilpem: just standard kvm & libvirt15:11
pmatulisphilpem: do you have your kvm host set up yet?15:11
philpemi installed the virtualisation stuff as part of tasksel15:11
pmatulisthere you go15:11
philpemhmm, i get the impression Orchestra is going to be a non-starter.15:17
philpem"Network interface does not support PXE"15:17
kirklandphilpem: if you want to install a hundred or more physical machines in parallel, in an consistent, automated fashion, you want Orchestra15:18
kirklandphilpem: if you want "simple" KVM creation/deletion from a GUI, virt-manager is the best there is15:18
kirklandphilpem: if you want something much more graphical, have a look at VirtualBox15:18
philpemI just want an easy way to create a bunch of similar-or-identical build server VMs, LAMP servers and so on for different things. perhaps virtualbox would be a better option.15:19
philpemand if virtualbox + phpvirtualbox + orchestra is that solution, then great.15:21
pmatulisphilpem: use virt-manager15:21
philpempmatulis, and just install from ISO instead of using Orchestra? (seeing as virt-manager + KVM doesn't seem to allow PXE, and Orchestra appears to require PXE to install)15:23
pmatulisphilpem: i install from pxe all the time with virt-manager15:23
pmatulisphilpem: i think you're over-engineering yourself15:24
philpemvery possibly :)15:24
pmatulis!info kvm-pxe | philpem15:24
ubottuphilpem: kvm-pxe (source: etherboot): PXE ROM's for KVM. In component universe, is optional. Version 5.4.4-7ubuntu3 (oneiric), package size 124 kB, installed size 196 kB15:24
uvirtbotNew bug: #911812 in facter (main) "processor fact does not handle arm, others" [Undecided,New] https://launchpad.net/bugs/91181215:38
rbasakSpamapS: around?15:53
SpamapSrbasak: yes but I will be disappearing to take son to daycare in about 20 minutes15:55
rbasakOK, I'll be quick15:55
rbasakjust want to check on something15:56
rbasakbug 858860, cobbler users.digest world-readable, already fixed in precise15:56
uvirtbotLaunchpad bug 858860 in cobbler "weak default configured permissions on /etc/cobbler/users.digest" [High,Fix released] https://launchpad.net/bugs/85886015:56
rbasakI included it in a security fix reviewed by the security team in bug 858878, Tyler would like the fix to also apply to the upgrade path15:57
uvirtbotLaunchpad bug 858878 in cobbler "lack of csrf protection in cobbler-web" [High,Fix released] https://launchpad.net/bugs/85887815:57
rbasakI figure that the fix needs to go into precise too, so it would make sense to do that first15:57
rbasakI've just written http://paste.ubuntu.com/792803/ (untested). Is that sensible to push for precise, or would there be a better way of doing it?15:57
rbasakThen I figure I can do the same for security but just change the version it compares against15:58
SpamapSrbasak: sorry got pulled away.. reading16:00
rbasakok. the paste is a new debian/cobbler.preinst file16:01
SpamapSrbasak: that looks good... assuming the version mentioned is the absolute last version that had the problem. Might be better to do "lt" the version that fixed it.16:02
rbasakthanks, lt sounds better, I'll do that16:02
=== bladernr_ is now known as bladernr_afk
philpemhm.. DHCP doesn't appear to be working for the virtual machines.16:16
philpemI can see BOOTP/DHCP packets on virbr1, but there's no DHCP server response16:16
philpemwhich DHCP server does Orchestra use? I can see it uses Dnsmasq, but it doesn't appear to configure it...?16:17
philpemok, it uses dnsmasq, but Cobbler sets it up a bit differently (obliterates the config and replaces it with its own). need to edit Cobbler's template so that it doesn't stomp all over my LAN DHCP server16:26
philpemit did, however, boot very nicely into the VM :)16:26
philpemand autoconfig works brilliantly16:26
philpem/etc/cobbler/dnsmasq.template -- add "interface=virbr1" near the top16:27
andreserlphilpem, yeah in order get cobbler's DNS/DCHP features working with orchestra, yous hould have been asked that question upon installation16:38
philpemI was, but it started listening on eth0 and confused the hell out of my network server!16:41
philpemafter changing the template file to listen on virbr1, it works fine16:41
philpemnext step will be to add a 2nd ethernet interface and attach it to the LAN16:42
zulttx: http://paste.ubuntu.com/792852/16:42
ttxzul: did you add nova-rootwrap to your sudoers ?16:43
ttxnova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap16:43
ttxsee http://wiki.openstack.org/Packager/Rootwrap16:43
zulttx: yep i did16:44
ttxzul: well, apparently running "sudo nova-rootwrap iptables-save -t filter" as the nova user asks for a password on your system16:45
ttxwhile it shouldn't, if that line is in your sudoers file16:45
ttxlooks like a bug in your setup, or in sudo :p16:46
ttx(worked well back when I tried, though)16:46
RoAkSoAxphilpem: could you please file a bug report at https://bugs.launchpad.net/ubuntu/+source/orchestra/+filebug describing your issues and the process you followed to change the interface so it gets documented and I can make it work automatically (or request the interface to use on configuration)16:46
philpemRoAkSoAx, certainly.16:47
RoAkSoAxphilpem: awesome, thank you!16:47
zulttx: damn it i know whats wrong16:47
zulttx: i suck16:51
philpemHmm. It installed without asking me what I wanted to set as a username and root password. Nice.16:52
RoAkSoAxphilpem: ubuntu/ubuntu and we are aware of that and we will work on it once we decide how is best ;)16:53
philpem:)16:54
philpemwhat I might do is rig up a provisioning script... create VM, wait for it to call in, SSH in as ubuntu/ubuntu, then sudo, create user accounts depending on the machine's role, disable the ubuntu user, set up PPAs and repositories and log out.16:55
philpemthough I suspect most of that can be done with.. what are they called, kickstart scripts?16:55
philpeminstructions to the installer along the lines of "I want you to do this, don't ask me, just do it."16:56
RoAkSoAxphilpem: in debian/ubuntu we use preseed's and can probably be done with late_commands16:56
RoAkSoAxadam_g: let me know when you are around16:56
GrueMasterDaviey, rbasak:  Just saw server meeting notes re: ARM kernel issues.  I am already doing weekly precise (armel &armhf) installs on Panda and running the full QRT kernel test suite.  I am setting it up to run more autonomously in my jenkins setup.  If you have any questions or other tests, let me know.16:58
GrueMasterI am also ramping up to automate as many of the tests that I ran in O for server as possible.16:59
rbasakthanks GrueMaster16:59
rbasakarosales: ^^17:00
arosalesGrueMaster: good stuff, thanks17:01
Davieyneat17:02
philpemRoAkSoAx, https://bugs.launchpad.net/ubuntu/+source/orchestra/+bug/91187317:05
uvirtbotLaunchpad bug 911873 in orchestra "No way to manually restrict DHCP to one interface" [Undecided,New]17:05
philpemI seem to be doing rather a lot with Launchpad these days... two bugs filed in a week (one kernel build system, now a feature-req for Orchestra) and my first PPA... :)17:07
philpemI really should port those fixed Debian linux-GPIB packages to Ubuntu... hm.17:09
RoAkSoAxphilpem thanks will work on it thus week :)17:16
philpemRoAkSoAx, looks like virt-manager may have some issues with the way Orchestra works... dnsmasq is getting very upset. going to try a reboot and see if it behaves17:17
philpemmore specifically, virt-manager is spitting out dnsmasq errors when i create network interfaces17:18
philpemError starting network 'PXEReload': internal error Child process (dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/PXEReload.pid --conf-file= --except-interface lo --dhcp-option=3 --listen-address 192.168.100.1) status unexpected: exit status 217:18
philpemdrat.17:18
RoAkSoAxphilpem: uhmmm but if you are running dnsmasq with orchestra + libvirt with dnsmasq it will most likely cause issues17:21
philpemthing is libvirt SHOULDN'T be running dnsmasq at all17:21
RoAkSoAxphilpem: you might wanna take a look to: https://code.launchpad.net/~smoser/+junk/cobbler-devenv17:22
philpemDHCP is disabled in virt-manager. Orchestra should have it enabled so I can do PXE reinstalls, but it most definitely shouldn't be enabled for that interface17:22
RoAkSoAxphilpem: try sudo cobbler sync17:22
philpemjust seems to crash when I run it17:23
philpemif I ctrl-C it, I get "httpd does not appear to be running and proxying cobbler"17:23
RoAkSoAxphilpem: sudo cobbler sync? can you pastebin the output17:24
philpemRoAkSoAx, no output -- http://paste.ubuntu.com/792888/17:24
philpemthe KVM virtual network interface isn't even up... huh?!17:26
RoAkSoAxphilpem: that's pretty weird. can you pastebin /var/log/cobbler/cobbler.log17:26
philpemhttp://paste.ubuntu.com/792894/17:27
RoAkSoAxphilpem: seems that the change made in dnsmasq.template is not correct17:28
RoAkSoAxphilpem: as for the output it seems that it's a dnsmasq issue that apparently might have killed cobbler17:29
philpemugh17:29
RoAkSoAxor there's an invalid parameter being passed to dnsmasq17:29
philpemand the changes cobbler made might have killed the virtual network stuff17:29
* philpem goes to find a keyboard and a display17:29
RoAkSoAxphilpem: cobbler won't really mess up with any virtual network stuff17:30
RoAkSoAxphilpem: it will start/stop dnsmasq but if dnsmasq fails to start, then cobbler should continue to run successfully17:30
RoAkSoAxphilpem: but in the log,there's a dnsmasq output for -h, which means there's a invalid/not known option b eing passed to it that causes dnsmasq to output the help17:31
RoAkSoAxthe help menu17:31
philpemok, this is really really weird.17:35
philpemI just removed that line from dnsmasq.conf and reverted the template (knew there was a reason I kept /etc under version control)17:35
philpemvirt-manager reports all VM interfaces as down, ifconfig says they don't even EXIST.17:36
philpemtry and bring up PXENetwork and I get:17:36
philpemError starting network 'PXEReload': internal error Child process (dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/PXEReload.pid --conf-file= --except-interface lo --dhcp-option=3 --listen-address 192.168.100.1) status unexpected: exit status 217:36
RoAkSoAxphilpem: that's maybe libvirt?17:37
philpemoh this IS interesting. 'sudo killall dnsmasq' and it works fine.17:38
philpemthis would seem to explain the issue -- https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/50048417:39
uvirtbotLaunchpad bug 500484 in libvirt "libvirt conflicts with existing dnsmasq installation (dup-of: 231060)" [Low,Invalid]17:39
uvirtbotLaunchpad bug 231060 in libvirt "packages dnsmasq and libvirt-bin conflict with each other" [Low,In progress]17:39
philpemnow how to fix it?!17:39
RoAkSoAxphilpem: so you are using orchestra in the host to provision VM's only?17:40
philpemyeah17:40
philpem"The above workarounds only work if you also set "bind-interfaces" in /etc/dnsmasq.conf, otherwise dnsmasq binds to the wildcard address."17:40
* philpem has a sneaky plan17:40
RoAkSoAxphilpem: well I currently run orchestra as a VM to deploy VM's and let libvirt handle dnsmasq17:41
philpemah.17:41
philpemI was running Orchestra on the VM host, alongside libvirt17:42
RoAkSoAxphilpem: I do have an orchestra server on a VM host, but I don't manage dns,dhcp17:43
philpemhm, it seems the problem is virt-manager doesn't let you specify PXE/bootp parameters in the network settings, so you can't make it bring new VMs up from cold17:44
=== Guest21359 is now known as onre
RoAkSoAxphilpem: but libvirt does.17:46
RoAkSoAxphilpem: <bootp server="$all_systems.cobbler.ipaddr" file="pxelinux.0" />17:47
RoAkSoAxphilpem: you might be interested in: lp:smoser/+junk/cobbler-devenv17:47
RoAkSoAxphilpem: once you setup that, you can use install orchestra in the cobbler VM17:48
RoAkSoAxphilpem: that's what I use, but we haven't had time to update that to use orchestra by defauklt17:48
philpem"starting kvm... FAIL". yay.17:49
philpemgrr. had a stray left over in /etc/dnsmasq.d from my earlier attempts with kvm.17:51
philpemhm. dnsmasq is bringing up the libvirt interfaces now.17:53
philpembut libvirt keeps running it even though DHCP is disabled on that interface!17:54
RoAkSoAxuhmm interesting17:59
RoAkSoAxphilpem: you might wanna consult that with hallyn17:59
zuladam_g: around?18:00
philpemok, so the workaround is to either NAT the thing, or edit the XML files to bridge my "local LAN" interface to eth018:06
philpemblehhh...18:06
indstryWhen adding a second drive to my fstab conf file,  I first create a mount point dir.  When creating that dir what permissions should i set?  would permissions on the drive itself override the mount points permissions?18:15
zulDaviey: ping18:16
adam_gzul: yo18:20
adam_gRoAkSoAx: yo18:20
zuladam_g: im switching over the nova_sudoers to use the nova-rootwrap, its been tested i just had to add a patch that has been fixed upstream18:21
RoAkSoAxadam_g: yo! man! So I tried to reproduce bug #908895... with no success18:21
uvirtbotLaunchpad bug 908895 in orchestra "The name 'precise-x86_64' is invalid." [Undecided,New] https://launchpad.net/bugs/90889518:21
adam_gRoAkSoAx: weird, gimme a few and ill make sure i can still reproduce18:22
adam_gzul: cool. if its been fixed upstream wont the patch be unecessary after the next snapshot?18:22
RoAkSoAxadam_g: are you setting the *system* name to precise-x86_64?18:23
zuladam_g: yeah it wont be needed, but they are having devstack pypi issues right now18:23
adam_gRoAkSoAx: im doing nothing special, installing, importing isos, booting something and selecting an entry off the menu18:24
Davieyzul: hola18:25
zulDaviey: nova has libguestfs support now is that something we should look at?18:25
RoAkSoAxadam_g: 1. downloaded iso. 2 imported it. 3. created a system selecting that profile, 4. installation doesn't fail18:25
RoAkSoAxadam_g: the hostname gets inherited from the system name if it is not set18:26
Davieyzul: interesting, this came up a while ago IIRC18:27
Davieyas a standalone thing.18:27
DavieyI think we should certainly investigate18:27
DavieyOut of interest zul, how are MIR's looking?18:27
philpemok, it looks like to get this working, i need to set the bridge up manually.18:28
adam_gRoAkSoAx: right. id love to have it totally usable out of the box for non-juju installs, though, without worrying about enlistment.. if its just a matter of changing 1 character18:28
zulkeystone MIR has been thrown back over the wall and horizon has been cleaned up so that I can start writing the mir18:28
philpemso I have br0 for the LAN and pxebridge to netboot the virtual machines18:28
adam_gRoAkSoAx: tho i suppose it wouldn't matter when the whole enlistment thing comes together. still think the default profiles should be bootable/installable regardless18:28
philpemthat SHOULD stop libvirt interfering18:29
Davieyzul: \o/18:29
pmatulisphilpem: are you still struggling with setting up a few guests on kvm?18:29
philpemjust about fixed it actually18:29
pmatulisphilpem: you don't need orchestra for that18:29
RoAkSoAxadam_g: right, but this works out of the box for non-juju installs. The hostname is not inherited from the profile name18:29
RoAkSoAxadam_g: if a system points to a profile, the hostname is inherited from the *system* name not, from the *profile* name18:31
adam_gRoAkSoAx: no, it doesn't unless the system has been enlisted18:31
RoAkSoAxadam_g: right, but what i'm saying is: In order to be able to have a cobbler *system* then it has to point to a cobbler *profile*18:32
RoAkSoAxadam_g: but yes, now i'm seeing your point when you are trying to deploy *from* a cobbler profile18:33
adam_gRoAkSoAx: yeah, i understand.  if there is no system configured, the menu presents user with a bunch of profiles, those should be bootable/installable.18:34
RoAkSoAxadam_g: yes they are, though your bug description should have made that differentiation :)18:34
RoAkSoAxmore explicitely18:35
adam_gRoAkSoAx: i put together a new file server over the holiday. thoguth to myself, "oh! ive got this orchestra server ive been using for the last month to do dev work,ill just boot and install from there" it would have been awesome to just boot, choose precise, install.. w/o worrying about enlisting/macaddr/etc.18:35
RoAkSoAxadam_g: yes yes, I know what you mean now. You are booting of a profile, not of a system (speaking within cobbler terms)18:36
philpemoops. set up a bridge in /etc/network/interfaces and forgot the options to SAY it's a bridge.18:37
* philpem waits patiently for the server to give up trying to bring up an interface called 'vmpxe' which doesn't exist...18:38
adam_gzul: are you talking about patching nova with the root wrapper stuff for precise, or oneiric/diablo?18:39
zulprecise18:39
adam_gzul: ahh. is it getting cherry picked from master or from a patch thats still in gerrit review?18:40
RoAkSoAxadam_g: so I just selected precise-x86_64 off the PXE Menu and so far so good18:41
zuladam_g: still being reviewed: https://review.openstack.org/#change,278718:41
adam_gzul: ah18:43
adam_gRoAkSoAx: weird. i haven't tried again with my setup. i will in a few18:43
RoAkSoAxadam_g: i have an installation error with grub but nothing about the hostname18:43
philpemwoo! it works! :)18:48
pmatuliswhat does?18:49
RoAkSoAxphilpem: awesome18:49
adam_gRoAkSoAx: if you still have the error'd system, can you check what its got for a hostname?18:50
philpembasically, you can't use the Routed or NAT interfaces because they start DHCP.18:50
philpemwhat you have to do is configure a network bridge for PXE manually, in /etc/network/interfaces18:50
philpemthen run Orchestra on that interface, and tie the VMs to it18:51
pmatulisphilpem: so this is a limitation of orchestra?18:51
philpempmatulis, partly.18:52
philpemOrchestra won't let you tell it "I want you to ONLY listen on interface blah" -- it listens on ALL interfaces unless you edit the dnsmasq templates.18:52
philpemthen run 'sudo cobbler sync'18:52
philpemLibvirt doesn't do bridging like VirtualBox does -- VBox asks you to nominate the ethernet adapter you wish to bridge to. KVM/Libvirt/virt-manager expects you to set up the bridge in /etc/network/interfaces, then specify the name in the virtual machine config18:53
adam_gzul: tftp-hpa is broke :(18:55
zuladam_g: dist-upgrade please :)18:55
pmatulisphilpem: i routinely tell virt-manager to use my host's bridge18:56
pmatuliswhen i set up a guest18:56
RoAkSoAxadam_g: ok, I was able to reproduce it. For some reason ym setup was using a different hostname than the the profile name18:59
RoAkSoAxadam_g: ok so I will replace all _ with -18:59
adam_gzul: whats supposed to get upgrade to help? it looks like a bad upstart conf: start: Unknown job: tftpd-hpa19:00
adam_gRoAkSoAx: ahh19:00
zuladam_g: it was a bad upstart stanza which one are you using?19:00
zulubuntu2 or ubuntu319:00
adam_g5.1-3ubuntu219:00
adam_gRoAkSoAx: should we also rename existing release profiles on upgrade? via cobbler profile rename should be safe19:02
zulok there is an ubuntu3 which fixes that19:02
adam_gzul: ah, updating my mirror19:02
zuladam_g: k19:03
adam_gback in 10min19:03
RoAkSoAxadam_g: you mean while updating the already imported iso's?19:03
philpemhmm, OK, there is one issue with the install.... it can't handle the concept of having two Ethernet adapters.19:08
philpemOne ends up configured (the one used to PXE from), the other (the LAN I/F) does not.19:09
RoAkSoAxadam_g: so this is the change needed if you wanna test it: http://paste.ubuntu.com/793002/19:11
RoAkSoAxphilpem: yes, unfortunately we cannot handle that in the preseed as we could with kickstarts. But you will have to look into late_commands. Also, if you want to file a bug report about it would be great19:13
philpemit *looks* like it doesn't use persistent-eth either.19:13
uvirtbotNew bug: #911922 in libnss-ldap (main) "libnss-ldap:1386 does not install" [Undecided,New] https://launchpad.net/bugs/91192219:13
philpemand the rule for assigning eth numbers is that eth0 gets the lowest MAC address... or something along those lines19:14
RoAkSoAxright, but in regular bare metal installations its always gonna be the same MAC ;)19:15
philpem:)19:15
=== bladernr_afk is now known as bladernr_
philpemi usually swap the ethN IDs around in /etc/udev.d/70-persistent-eth19:16
philpemI might have to save this scrollback for future reference :)19:19
adam_gRoAkSoAx: ah, cool. that looks a lot cleaner than what i was thinking19:21
bitmonkhey guys are there any kernel backports to lucid in a ppa somewhere? or examples of .config for -server oriented kernels? we need newer megaraid driver than lucid kernel has, and the last kernel someone built here is having stability issues under some workloads.19:26
hallynstgraber: do I remember incorrectly that you enabled libcgroup uploads for me?19:43
stgraberhallyn: I thought I did yes. Looking...19:43
hallynstgraber: was trying to upload with http://people.canonical.com/~serge/libcgroup.rm.debdiff applied, but it came back saying I had insufficient perms19:44
stgraberhallyn: could be that the ubuntu-server package set is autogenerated and libcgroup was lost with the last update. That or LP tried to fix the package set mess they created early in the cycle and that got dropped19:45
stgraberhallyn: anyway, I added it again now19:45
hallynstgraber: thanks.  guess we'll find out in awhile if it is getting auto-regenerated :)19:46
stgraberif it's auto-generated, I'm not exactly sure why lxc would be in the ubuntu-server package set and not libcgroup which is part of its recommends19:46
hallynwas lxc in there?19:47
stgraberyeah, I checked and lxc is in the package set19:47
stgrabermaybe lxc should be promoted to main at some point, as we seem to recommend it everywhere :)19:47
hallynstgraber: btw a bug raised by smoser reminded me that devpts is worse off than i thought, and to our apparmor security mitigations for lxc concerns we need to add 'mount -t devpts devpts /mnt' from a container, which will give it the host's devpts19:48
stgraberthen we'll have a very good reason to ensure libcgroup is in the ubuntu-server packageset (and stays there)19:48
hallyntrue.  it's been awhile since lxc MIR was rejected.  Wonder if how it woudl fare now19:48
hallyni coudl see it being rejected on the basis that "we already have libvirt-lxc"19:48
hallynwhich would sink juju-lxc of course19:48
stgraberhallyn: yeah, that's the same problem I had before I patched mountall where devpts would get remounted and mess with the host. It's indeed pretty bad when someone does it on purpose.19:49
stgraberhallyn: I'm not sure how much flexibility apparmor will give us, but ideally I'd only allow perfectly safe filesystems (if that even exists) and loop mounting19:49
stgraberhallyn: looking at what gets mounted by mountall, I'd at least add binfmt_misc, debugfs and securityfs to the list of stuff we don't want19:52
stgraberfor devpts, we'd also have to prevent the container from unmounting the ones we mount when we create the container19:53
hallynwe wouldn't have to if lxc made sure pre-the host's devpts was umounted before startup19:54
hallyngood point, i'll add binfmt_misc to the list on the wiki page  (the others i'd added yesterday)19:54
hallynstgraber: finally (i assume we'll be chatting next week? :)  I've been trying to push Daniel to push the kernel patch for reboot, but we may have to go beg smb to take the patch as it stands19:57
hallyn(it has sign-off by Oleg, so I see no problems...)19:57
stgraberhallyn: yeah, missing that patch is currently making my containers to fail at shutdown (I'm running the patched mountall and without /etc/init/lxcmount.conf) and it's really the next step to get rid of lxcguest19:58
hallynstgraber: somebody go tell linaro they're working him too hard :)19:59
stgraberI'll definitely have some time to discuss lxc next week, I guess we'll just need to go buy a pack of beer for smb and we'll be good for our patch ;)19:59
hallyncrossing my fingers...20:02
=== jono is now known as Guest4459
philpemQuestion re. Orchestra. If I do a bare metal install on a VM, are the VMs supposed to register themselves with Nagios?20:21
philpemBecause Nagios Admin is only showing me what appears to be the VM server itself (calling itself "localhost")20:22
philpemCobbler can obviously see that the VM is up though, because it turned netboot off...20:25
g00gleI would like to install ZendTo (http://zend.to) and I have the x64 version of Ubuntu, however - in order for php to handle downloads / uploads of 2GB+ I need to complie php for x64... is this something you guys can help me with? is there such a package in the ubuntu repositories for x64 PHP...?20:27
TJ___Hello20:28
TJ___Does anyone know if a LEMP stack will ever be one of the install options?20:29
philpemTJ___, LEMP?20:31
TJ___linux, nginx, mysql, php20:31
TJ___as opposed to LAMP20:31
jmarsden|workI see no letter "E" in nginx ... ?20:32
mgwhey, i have a question regarding cobbler+dhcp (isc): If I have two interfaces (e.g., two VLANs) with the same MAC address, only one of them ends up in dhcpd.conf20:32
TJ___it's because nginx is pronounce engine-x20:32
jmarsden|workSo either rename it to that, or ask for an LNMP stack :)20:32
mgwmanually adding the second interface to dhcpd.conf works fine though20:33
mgwi think it's a bug, as it lets me add them to cobbler20:35
TJ___Well then, does anyone know if a LNMP stack is being worked on? I hear nginx can be better for hardware-limited machines.20:37
TJ___as one of the install options in tasksel that is.20:37
jmarsden|workSounds like a trivial patch to tasksel, but whether there is enough interest from people who can't just sudo apt-get install nginx mysql php5 , I don't know.20:38
g00gleI'm trying to follow this: http://zend.to/phpfix.php and keep running into issues when I use the source from apt-get source .... any suggestions?20:42
philpemjmarsden|work, AIUI Nginx is pretty niche-market at the moment. It is in the repos, though.20:48
philpemSo setting it up wouldn't be hard.20:48
philpemIf you're doing it on a lot of machines you might want to write instructions, an automated script (e.g. Python) or a package to set everything up, but that's it.20:49
jmarsden|workphilpem: Right, so I think it is more of a marketing "do we want this option in tasksel" question than a technical one.  And I'm more techie than marketing :)20:49
philpemLAMP is, at least at the moment, the standard and I think you'll find it hard to overcome the inertia that it's built up.20:49
philpemAlso if you're at the point of using Nginx over Apache, you'll probably want to do the setting tweaks manually anyway (unless you have a box of identically configured machines, in which case... break out a SysRescCD image, a USB hard drive and a copy of PartImage)20:51
shade34321hey...this is probably a stupid question but I can't seemt to find my answer, probably because I'm looking for the wrong thing. Essentially what we've just found out is that our webserver is allowing people to go through the folders and access content that is not allowed to be accessed w/o login credentials and then only certain people are allowed to see certain things.20:57
shade34321how can I get it set up correctly to do this? Also I took this system over almost a year ago just haven't had time to play with it much and hence why I haven't found it before...thanks for the help20:57
philpemshade34321, Htaccess / Htpasswd is one way to do it20:59
shade34321and the site is usiing drupal for the front end along with some trac20:59
philpemand "Options -Indexes" in your htaccess will stop it generating directory indexes where there is no index.{php,html}20:59
shade34321hmm..I will look into that, haven't looked/touched that in awhile but would that change anything in my current set up?21:00
philpemwell, Options -Indexes would replace the directory listings with a 403 Forbidden error.21:00
philpemso if you go to http://foobar.local/images -- where you'd normally get a list of everything in /images, you just get a 40321:01
shade34321ok21:01
shade34321ill do that real quick21:01
philpemthe htaccess/htpasswd stuff would pop up a password requester whenever someone wanted to browse either the entire site or a specific directory (depending on where you put the .htaccess file)21:02
philpemand for the love of $DEITY, don't put the htpasswd file in public_html! put it somewhere else that Apache can see, but that Apache won't serve to the world21:02
shade34321lol21:02
philpemotherwise someone can download the htpasswd file, then crack the password hashes....21:03
shade34321i may actually take the site down for a week or so to paly with this because accroding to the ubuntu docs htaccess is not the preferred way21:03
philpemI usually mkdir /var/htpasswds and put them in there21:03
philpemI'm suggesting quick ways to tighten up a site, i thought that's what you wanted :)21:03
shade34321yup....right now quick21:04
philpembut yeah, grab the Ubuntu Server Guide and read through the section on Apache.21:04
shade34321and then fix it for good21:04
philpemthe base install is usually fairly tightly locked down.21:04
shade34321(my philosphy in life...fix it quick then go back and do the shit right:)21:04
philpemif you're running PHP, Suhosin is worth turning on (it's a security-hardening extension which makes it less likely that a hole in a PHP app will allow the server to be rooted).21:05
philpemUbuntu ship it by default, but make sure it's still enabled...21:05
philpemif someone's turned directory indexes on, there's no telling what else has been done.21:05
shade34321when i took this job the exiting admins told me google was my best friend and that was my training, we're all college students btw21:06
=== dendro-afk is now known as dendrobates
uvirtbotNew bug: #322327 in bzr "Integrated permissions/ownership diff output for etckeeper/bzr" [Wishlist,Confirmed] https://launchpad.net/bugs/32232721:12
philpemshade34321, that is... shocking and yet not surprising.21:13
shade34321lol...which part the google stuff or we're college students?21:14
philpemthe google stuff21:14
shade34321lol...it's very annoying21:14
philpemthough to be honest, six years ago I took over a webhosting company (which still isn't making a profit but that's another story). never did a single Zend PHP course or anything.21:15
shade34321well congrats on making it so far:)21:15
philpemin six years I've learned enough to bring up a server from scratch, clean up a hacked server, trace intrusions and find out *exactly* what happened...21:15
philpemthis is the sort of thing that's learned best as.. well, an apprentice really.21:16
shade34321lol21:16
shade34321yes it is21:16
philpemfind someone who knows what they're doing and get them to teach you. kinda like what happened with blacksmiths, glassblowers and so forth :)21:16
shade34321luckily for me I have a bunch of friends who are smarter than I am so i grill them whenever I can...but alas they have work just like i do21:16
shade34321so time is always an issue21:16
philpemWell, we're all friendly in here. More friendly than most of the trolls in #ubuntu anyway :)21:17
shade34321that and they can't be allowed access to our systems...some national security stuff:(21:17
philpemSay no more.21:17
shade34321lol...and #centos:)21:17
shade34321(we use primarily RHEL systems with some other distros so I ask #centos a lot of questions just to find it on google hours later and nobody answered it)21:18
philpemif those machines are running RHEL, make use of the RedHat support contract :)21:18
=== guampa|2 is now known as guampa
philpembut my server (the web hosting one) is Centos + CPanel, so I know how that works.21:19
philpemhint: I spent nearly a day securing the stupid thing. on ubuntu it took 20 minutes, and most of that was ticking stuff off my checklist...21:19
shade34321i would love to but alas I don't have any of the info or the credentials to get the info,  I work for my school and so we have a plethora of RHEL support21:19
shade34321been working on trying to get it though21:19
philpem"disable directory indexes... oh, it's already off. check."21:19
philpem"set PHP to log errors to the apache error log... already done."21:20
shade34321lol21:20
Folklorewhats the max number of connections21:21
Folkloreubuntu server can handle by default21:21
Folklorealso is there a command to check that21:22
guntbertFolklore: what sort of connections?21:22
FolkloreTCP21:24
Folkloresince UDP is connectionless :P21:24
Folkloreand others aren't on my radar21:24
guntbertFolklore: you will likely reach the individual limit of any server before you reach the OS's limit21:26
Folkloreindividual limit?21:27
guntbertFolklore: about what kind of server programs are we talking?21:28
amstani'm trying to scp a lot of data over gigabit, but it seems like the cpu on my server's the bottleneck21:28
amstani suspect it's the encryption21:28
amstanhow can i disable it?21:28
guntbertFolklore: and please use my nick, so I get alerted to your answer21:28
amstanor pick a better cypher(which)21:28
Folkloreubuntu server21:29
FolkloreGUNTBERT21:29
guntbert!tab | Folklore21:29
ubottuFolklore: You can use your <tab> key for autocompletion of nicknames in IRC, as well as for completion of filenames and programs on the command line.21:29
Folkloreyou assume i'm using the same client as you21:29
Folklore:p21:29
guntbertFolklore: ubuntu server, yes of course but you are talking about connections, so you will have some server programs running (httpd, smptd,...)21:30
Folklorewell i'm using thread pool and epoll21:31
Folkloreso unless a new file handle(socket handle) takes up lot of mem21:31
FolkloreI want to see how far I can push the server limit, so do you know the default setting21:31
Folkloreand the memory usage21:31
philpemdrat. it looks like the install image uses the PXE source as eth0 and doesn't bother setting up eth1 :(21:32
guntbertFolklore: it seems I don't understand what you are trying to do at all - so I'm obviously the wrong person to help you :)21:32
Folkloreguntbert21:39
FolkloreI want a simple simple server that can handle x number of tcp connections21:39
Folkloremy question is what the default of limit is21:40
Folklore*os limit21:40
Folkloreand possibly want kinda memory i'm looking at per connection21:40
Folklorenot taking into account the memory I allocated, just from the connection itself, memory used at kernel level or whatever21:41
guntbertFolklore: I don't know of any hard coded limit - and as for the memory - the biggest part will be the buffer (I guess, with a lot of hand waving...)21:42
Folklorethanks21:48
Folkloreguess only way to find out, is to find out heh21:48
Folkloreand test21:48
RoyKFolklore: check the tunables under /proc/sys/net21:58
RoyKFolklore: current kernels (that is, recent as in the latest five years or so) will have reasonable defaults for more use21:59
RoyKFolklore: read http://fasterdata.es.net/fasterdata/host-tuning/linux/ or just google linux network tuning22:01
RoyK[rw]mem can be worth tuning22:01
RoyKand make sure you have a nic and driver that supports checksum offloading22:02
nxvladam_g: ping22:03
adam_gnxvl: pong22:08
nxvladam_g: i've been pointed at you to get some cloud deployment docs?22:08
nxvladam_g: did you have those somewhere i can see them?22:08
adam_gnxvl: the only stuff i can point you to is whats been published on blogs last cycle. exactly what are you deploying?22:10
nxvladam_g: a private cloud22:11
nxvladam_g: and i have not much idea on how to do that22:11
adam_gnxvl: if you mean ubuntu + openstack, take a look at the series at http://cloud.ubuntu.com/2011/10/ubuntu-cloud-deployment-with-orchestra-and-juju/22:13
nxvlthat one22:14
nxvlawesome, thanks22:14
adam_gnxvl: np. thats a bit outdated but should get you going. if you make it as far as https://wiki.ubuntu.com/ServerTeam/UbuntuCloudOrchestraJuju and run into problems ping me again. there are a couple more charms you'll need to checkout and deploy if doing this on precise22:15
=== Folklore2 is now known as Folklore
uvirtbotNew bug: #912030 in autofs5 (main) "The auto.net script that comes with autofs5 is broken" [Undecided,New] https://launchpad.net/bugs/91203023:18
Aisonwhen I turn of my ubuntu server, I allways get the message: system halted but in fact it's not turned of23:24
Aisonwhy?23:24
philpemI'm using Orchestra to deploy servers. Each server has two NICs, both need to be enabled in DHCP mode. How do I make the installer enable the second one ready for the first boot?23:32
Folkloremaybe echo DHCP=YES >> /etc/rc.conf23:33
Folkloreor add it manually23:33
Folklorenano /etc/rc.conf23:34
philpemwell, it's bringing the one it used to PXE-boot up (with DHCP) but not the second one23:35
philpemso I end up with eth1 active, and eth0 sitting idle.23:35
Folkloretry23:37
Folklore./etc/rc.d/dhcp start23:37
Folklorewithout .23:37
shade34321hmm...so my web server is allowing access to the directory view yet everything I can think of to disable this is failing. If I go to the base url I see the home page yet if I go to the file manager I can edit the url and eventually get to the root of the websites folder structure. Any ideas of what I'm missing?23:51
shade34321I've trying to edit the .htaccess, get a new version of the .htaccess file, edit the virtual hosts file23:52

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