/srv/irclogs.ubuntu.com/2012/11/19/#ubuntu-server.txt

=== cpg is now known as cpg|away
=== shantorn_ is now known as furian
=== pug_1 is now known as DaveR
=== cpg|away is now known as cpg
=== n0ts is now known as n0ts_off
=== cpg is now known as cpg|away
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== fenris is now known as Guest70212
=== Guest70212 is now known as ejat
=== fenris is now known as Guest50405
=== n0ts_off is now known as n0ts
=== cpg|away is now known as cpg
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
k1nghi05:50
k1ngii want to copy everything except upload dir and config.php with rsync. how do i do that?05:50
blkperlk1ng: `man rsync` search exclude05:53
=== kInOzAwA is now known as Guest37435
lvmerk1ng: ooooo lmk if you find a good tutorial for rsync or make progress. I need to find a consistent way to backup my server too. xD06:10
k1ngi actually did:)06:11
k1ngrsync -avn --exclude=upload --exclude=config.php --exclude=fixer.sh --exclude=apfixer.php --exclude=HN9200FU_6.10.0.12.zip --exclude=backup --exclude=news.txt --exclude=images/logo.png /home/backup/sims /root/test06:11
lvmerk1ng: xD06:15
blkperllvmer: why not use backup software? like bacula or amanda06:24
=== kInOzAwA is now known as Guest94576
=== didel0815_ is now known as didel0815
=== smb` is now known as smb
=== cpg is now known as cpg|away
=== _ruben_ is now known as _ruben
=== n0ts is now known as n0ts_off
jibelsmoser, the user 'ubuntu' is not added to sudoers in latest raring cloud images, is it known?11:50
Davieyjibel: is it added to admin?11:59
=== n0ts_off is now known as n0ts
jibelDaviey, it is a member of adm but not admin13:05
Davieyjibel: nice13:09
=== gary_poster|away is now known as gary_poster
jibelbug 1080685 , feel free to reassign to the right package13:13
uvirtbotLaunchpad bug 1080685 in cloud-init "raring cloud images: User 'ubuntu' cannot sudo" [Undecided,New] https://launchpad.net/bugs/108068513:13
Kartagishi13:30
Kartagisshould I be worried about this? warning: process /usr/lib/postfix/trivial-rewrite pid 18501 exit status 113:30
smoserjibel, :-( no. i'll take a look. thanks for raising.13:33
AkendoHeloo Guys13:48
AkendoHello Guys13:48
AkendoI'm using OpenStack Folsom from the Ubuntu Cloud Archive, i found and fixed a bug and want to comit this. How can i do this?13:49
jamespageAkendo, hi!13:50
AkendoHello jamespage13:50
jamespageAkendo, is there a handy bug report for this problem that we can use?13:50
AkendoThat is what I'm looking for13:51
jamespageAkendo, OK - so whats the problem you have found?13:51
AkendoThere is a problem in glance, creating or uploading via RBD (RADOS Block Device) to Ceph.13:52
Kartagishi. should I be worried about this? warning: process /usr/lib/postfix/trivial-rewrite pid 18501 exit status 113:52
AkendoWhen i create a  Image it's raising a excepction13:52
jamespageAkendo, stack trace would be helpful13:52
Akendo2012-11-19 14:32:45 ERROR glance.api.v1.images [3dfbce68-310a-4fab-8bac-ff1b133d7ea9 None None] Traceback (most recent call last):13:53
Akendo  File "/usr/lib/python2.7/dist-packages/glance/api/v1/images.py", line 437, in _upload13:53
Akendo    image_meta['size'])13:53
Akendo  File "/usr/lib/python2.7/dist-packages/glance/store/rbd.py", line 234, in add13:53
Akendo    image_size, order)13:53
Akendo  File "/usr/lib/python2.7/dist-packages/glance/store/rbd.py", line 205, in _create_image13:53
Akendo    librbd.create(ioctx, name, size, order, old_format=False)13:53
AkendoTypeError: create() got an unexpected keyword argument 'old_format'13:53
jamespageAkendo, pastebin is better13:53
AkendoOh ;-)13:53
jamespageAkendo, which version of ceph are you using?13:54
AkendoThe Question I have first: Does i can be, that this 'old_format' is requiert by a newer version of Ceph?13:54
AkendoStable Version, 'old_format'13:54
AkendoStable Version, ceph  0.41-1ubuntu2.113:54
* jamespage looks13:54
jamespageAkendo, yes - it does; 0.48 onwards will do the trick;13:56
Akendohm..13:56
jamespagethats currently in-flight to land in the folsom cloud archive - lemme see if I can nudge it along13:56
AkendoWe13:57
jamespageDaviey, ^^ can we get ceph out of folsom-proposed and into folsom-updates please13:57
david_I am using public/private keys to log into my server. I want to see in auth.log which key is being used for each login. Anybody know what parameter is needed in sshd_config ?13:57
AkendoI want to use the Stable release, but If I'm right there will relese a new version soon, right?13:57
jamespageAkendo, 0.48 is the current stable release13:57
AkendoAh13:57
AkendoBut13:58
jamespagebobtail is due based on 0.55 of ceph - a few weeks off yet13:58
jamespagethat won't be put into the cloud-archive for Folsom; but will make it for Grizzly13:58
Davieyjamespage: yes13:58
AkendoSo, I'm using an outdated Version?13:58
jamespageAkendo, basically yes13:58
Akendohm...13:58
jamespageAkendo, this is one of the reasons we made the call to put ceph into the cloud archive as well13:59
AkendoWe have this package out of the stable ceph repo13:59
AkendoSo13:59
AkendoI guess that is the problem13:59
jamespageAkendo, which 'stable ceph repo' are you referring to?14:00
Akendohttp://ceph.com/docs/master/install/debian/#add-stable-release-packages14:00
AkendoLike there do it in this documenation14:00
jamespageAkendo, the version you quoted is the version from the main Ubuntu archive in precise14:01
Akendohm..14:01
AkendoStrange...14:01
Akendook, just updating this14:02
jamespageAkendo, this will all shake out once the new version of ceph lands in the folsom cloud archive - that will push it up to 0.48.2 which is compatible with folsom14:02
jamespageDaviey, thanks14:03
AkendoSo there is no bug report to commit ;-)14:03
AkendoThank you14:03
Davieyjamespage: the tooling is on my other machine, so can it wait an hour or so?14:03
jamespageAkendo, no problem14:04
AkendoThat helped a lot14:04
jamespageAkendo, FYI we are about to integrate ceph into the automated testing we do for OpenStack on Ubuntu14:04
jamespagewhich should help spot this sort of issue going forwards...14:05
AkendoThat would be great ;-)14:05
AkendoSounds exciting14:06
Akendo^^14:06
uvirtbotAkendo: Error: "^" is not a valid command.14:06
Kartagishi. should I be worried about this? warning: process /usr/lib/postfix/trivial-rewrite pid 18501 exit status 114:06
lamontKartagis: that depends entirely on why it's exiting14:09
lamontwhat else does syslog have to say about it?14:09
=== n0ts is now known as n0ts_off
Kartagislamont: http://ccd12e76108915a3.paste.se/14:13
AkendoSo, I updated now to a newer version of ceph. I restarted the server, but i can't see anymore the image14:26
jamespageAkendo, hmm14:32
* jamespage rubs his chin14:32
AkendoI can found the entry in the MySQL Db, but glance image-list is empty14:32
Akendoalso does the rbd list -p images displaying the uploaded images14:33
jamespageAkendo, did you re-upload the image? I'm wondering if something in the DB is not quite right due to that error before14:35
AkendoYes14:35
AkendoAlso the re-uploaded image is not displayed14:35
AkendoBoth images a list in the MySQL DB14:35
AkendoI'll going to try Cinder with Ceph now. Maybe the glance image-list have a issue with accessing rbd devices?14:40
peta_Hello guys14:50
smosersmb, around ?14:55
smbyees... (wondering whether that is good)14:55
peta_I want to roll my custom php5.4 build for my 10.04 production server and I am wondering what is the "best" method to create portable deb packages. I hear about checkinstall and it sounds too easy to be true. What would you suggest?14:56
peta_Side note: My production server is a 10.04 amd64 and I have an exact copy of that system as virtual machine on my local computer -- that's where I do all the build stuff before something is moved to the production server.14:57
lamontKartagis: command usage for trivial-rewrite in master.cf is bad in some way14:59
smosersmb, i'm hitting https://bugs.launchpad.net/ubuntu/+bug/107892615:00
uvirtbotLaunchpad bug 1078926 in ubuntu "raring instance failed to find EC2 datasource" [High,Confirmed]15:00
smoserand its exhibiting really strange behavior.15:00
smoseri'm bothering you primarily because of the fact that networking was not reliable after reboot.15:00
smoseri'm guessing a flakey network driver could have cuased the issue on first boot also.15:01
Kartagislamont: rewrite   unix  -       -       n       -       -       trivial-rewrite15:01
KartagisI'll be back tomorrow15:02
smbsmoser, Hm, ok. So in micro its netfront. Though I need a bit of time to look trhough the messages in detail15:02
lamontKartagis: I don't have time to dig into it - it could just be parameters in main.cf that are tripping it up as well15:02
smosersmb, you want to poke at the instance at all ?15:04
smbOh, it is still up, then maybe yes15:04
smosersmb we've seen this "networking doesn't come up" *very* rarely previously, i'd guess on order of 1/1000 or more.15:04
smoserbut it seems to come up more regularly on raring15:05
smbsmoser, Ah so even with older releases?15:05
smoserwell, really really rarely.15:05
smosersuch that i believed it was a platform (ec2) failure.15:05
smoser(and i'm still not convinced it is not for the less common case).15:05
smbsmoser, Yeah it might be nice to see the logs from the domain creation. Though I know that won't happen15:07
smosersmb, ok. stefan-bader-canonical can go into backdoor@ec2-50-16-73-126.compute-1.amazonaws.com15:08
smbsmoser, Heh nice naming scheme...15:09
smoserfwiw, you might find use for lp:~smoser/backdoor-image at some other point in time.15:09
smosersmb, so, to show failure on that instanc,e right now, i'm trying to get /var/log/syslog off of it15:10
smoserand this fails (hangs)15:10
smoserssh -C -v backdoor@ec2-50-16-73-126.compute-1.amazonaws.com  'sudo cat /var/log/syslog'15:10
smbsmoser, Hm, even a dmesg hangs after a bit. Feels like network works a bit only... Something like this I only had with HVM domUs that had interrupt issues...15:14
smosersmb, one interesting thing though was that 'apt-get install pastebinit' worked.15:21
smoserwhich goes to s315:21
smoserwhich might point to a packet length issue15:22
smoserwow. there is just all sorts of stuff seemingly busted there.15:25
smbsmoser, It seems a dmesg into less also works better... hm not yet at netfront but "blkfront device/vbd/2049 num-ring-pages 4 nr_ents 128" now if I could remember things better I might know whether that was more than 1 before...15:25
smosersmb, hm..15:26
donspauldingHey there, I've got a running installation of Karmic server out in a datacenter.  It doesn't have anything valuable on it, so I'm wondering if I can repurpose it as an openstack controller.  I want to install the Quantal on it, but I don't have console access to the machine.  Is there a way I can install ubuntu server from the running install of Karmic?15:34
roaksoaxjamespage: oh btw... I don't know if you noticed but there miught be an issue with rabbitmq15:36
roaksoaxjamespage: sometimes the instances fail due to rabbitmq failing to start15:36
jamespageroaksoax, might their?15:36
jamespageis that on instances?15:36
roaksoaxjamespage: yeah15:36
jamespagewe tear it up and down pretty regular in the lab.15:36
roaksoaxjamespage: yeah, this is only in the instances, sometimes happens, sometimes doesn't, pretty weird15:37
smbsmoser, Did you just stop the instance?15:39
smoserprobably15:40
smoser:-(15:40
smosersmb,  i hvae another just a minute15:41
smosersorry15:41
smbsmoser, Oh, no worries. Not sure I can really get much more right now. Just was a bit surprised.15:41
smoserbackdoor@ec2-174-129-111-177.compute-1.amazonaws.com15:41
smosersmb, if you want, you can use that.15:42
smoserit seems to me that multiple things at play15:42
smoser * race condition for ifup15:42
smoser * plymouth dies (/var/log/boot.log doesn't get to /dev/console)15:42
smoser * flakey network driver/settings/something15:42
smbsmoser, Ok, and I probably should try whether things are the same if I run on my version of Xen 3.4.315:43
smosersmb, do you think there is useful info in the fact that local(ish) networking seems to work15:45
smoser(ie, to s3)15:45
smbsmoser, It is a bit confusing as anything goes through the same virtual nic15:46
smoserwell, but the packet size would differ15:46
smoserno?15:47
smbsmoser, Oh, hm... could it be more of a console device issue...15:47
smoser?15:47
smoserno.15:47
smoserscp hangs.15:47
smoserwhic hprobably doesn't allocate a console device15:47
smoseri woudln't think (if you're speaking of a pty)15:47
smoserbut i could be wrong on that15:47
smbsmoser, Was rather thinking of the console one attaches to at login. But if a remote scp fails as well... Package size may differ but I would rather think internal networking would use the biggest usable size15:49
smbsmoser, But yeah, we use pts here, so not what I was thinking15:50
smbsmoser, The only other difference would be that apt-get install would have more receiving data. Which direction was you scp?15:52
smosersmb,  i was trying to scp /var/log/messages from the instance15:53
smoseralso, wget http://ubuntu-data.s3.amazonaws.com/ebs/ubuntu-images-milestone/ubuntu-lucid-10.04-beta1-amd64-server-20100317.img.tar.gz -O /dev/null15:53
smoserthat works fine15:53
smoserreliable ~200M transfer at 10M/s15:53
smbsmoser, So that scp was also sending, as are the dmesg or cat that seem to lock up15:54
smoserhm..15:54
smosersmb, i can put up anoter instance in that zone if you'd like15:55
smoserthen you can try moving data back and forth between it if you 'd like15:55
smbsmoser, I am just pulling something bigger from people which seems to work too15:55
smoseros it woudl seem maybe we're busted on traffic going into the instance.15:56
=== matsubara is now known as matsubara-lunch
smbsmoser, To me it seems higher traffic out of the instance causes issues.15:57
smoser"higher" == > 10k15:57
smbsmoser, Let me try to recreate that locally15:57
ninjixdoes anyone have thoughts or tips for managing the maintenance portion of long running Ubuntu cloud instances? I've been searching around but haven't really found any good writeups on the subject.15:57
smoseri had to use 'split --bytes=4095' to use 'ssh user@host cat file' reliably.15:58
smoser(4095 not reliably determined. i jumped from 10000 to that just on a whim)15:58
roaksoaxjamespage: oh btw... i think there's a problem with l3-agent15:59
jamespageroaksoax, oh yes?15:59
roaksoaxjamespage: so I have setup the HA cluster. I "kill" the quantum/0, it fails over to quantum/1, but l3 fails to start due to being unable to connect to whatever it needs to connect16:00
roaksoaxjamespage: i haven't yet look at what might it be... just wanted to let you know :)16:00
smosersmb, on this particular instance, and right now, i'm seeing this works:16:01
smoser ssh backdoor@ec2-174-129-111-177.compute-1.amazonaws.com   dd if=/dev/urandom bs=1024 count=10 >/dev/null16:01
smoserthis hangs:16:01
smoser ssh backdoor@ec2-174-129-111-177.compute-1.amazonaws.com   dd if=/dev/urandom bs=1024 count=11 >/dev/null16:01
ninjixmost of what I find written is geared toward ephemera instances. I want to move more of our core systems to Ubuntu Openstack arch16:02
smoserninjix, what does "maintenance portion" mean ?16:02
smoserapplying updates?16:02
smbsmoser, wtf...16:02
roaksoaxjamespage: or the connection was refused16:03
ninjixsmoser: life cycle of an instance16:04
roaksoaxjamespage: ./deployer.py -c openstack.cfg openstack-quantal-quantum16:04
roaksoaxerr16:04
roaksoaxjamespage: http://paste.ubuntu.com/1370377/16:04
ninjixI'm wondering about how people are taking care of their long running instances16:05
ninjixthe question came to mind this morning while I was having to perform a number of full reboots to pickup kernel updates16:06
smosersmb, random information:16:09
smoserssh backdoor@ec2-174-129-111-177.compute-1.amazonaws.com   dd if=/dev/urandom bs=$((1024*5+(256+111))) count=1 >/dev/null16:09
smoserthat is the first block size to hang fo rme.16:09
smbsmoser, But you do nothing that causes any different traffic on any block or net device... Execept maybe a slightly different timing...16:10
smbsmoser, Oh wait urandom... lack of entropy maybe16:21
smbsmoser, At least one I did is waiting on the read to finish16:22
smoserurandom doesn't use entrop16:23
smbsmoser, I think it does but should stop if low on entropy... But I jused messed up the repeat. Doing 1024 5MB records is a bit insane. Seems while being logged in I can do 5*5MB without locking16:31
smosersmb, to where?16:32
smbbackdoor@ip-10-212-103-11516:32
smbbut also from urandom to null16:33
smosersmb, i was just doing network transfer16:33
smoserthat was the thing16:33
smoserused /dev/urandom (badly) to avoid compression.16:33
smosersmb, but interestingly, this fails same way:16:34
smoser ssh -o Compression=no $uhost dd if=/dev/zero bs=$((1024*5+(256+110))) count=1 >/dev/null16:34
smoser(well, the 111 fails, 110 passes)16:35
smbsmoser, Oh, doh!16:35
smbsmoser, Ok, I see, you discard the data locally.16:35
smoserright.16:35
tonyyarussoAnyone know how ufw/iptables would impact ARP?16:43
tonyyarusso(An entry was not showing up on the switch with ufw enabled; disabled ufw and the entry I was looking for popped right up.)16:44
SpamapStonyyarusso: AFAIK, ufw doesn't mess with any of the ARP settings16:45
vezqdon't have very good experiences with ufw16:49
smbsmoser, Ok, for now I am off the instance and you can rip it down if you want. I want to try that locally16:50
nopzHi there, anyone using lsyncd ?16:52
smosersmb, k.16:52
jdstrandufw does not do anything with arp16:57
tonyyarussoI wouldn't think it would, but somehow it seems to be affecting something.  Very confused.16:59
=== matsubara-lunch is now known as matsubara
tonyyarussoHow would I specify that the IP addresses associated with each interface should only be accessible through that interface, not the other?  For instance, if eth0 is .2 and eth1 is .3, no traffic to .3 should could through eth0.17:03
rbasaktonyyarusso: is http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.kernel.rpf.html what you need?17:05
rbasaktonyyarusso: also see: http://lkml.indiana.edu/hypermail/linux/kernel/0002.2/0880.html17:06
=== mcclurmc is now known as mcclurmc_away
tonyyarussorbasak: I don't think so?17:11
tonyyarussorbasak: To expand a bit, I have two interfaces that are on the subnet, connected to the same switch, on the same vlan.  The switch is .1, eth0 is .2, and eth1 is .3.  eth0 is connected to switch port 2:20 and eth1 is connected to port 2:15.  My goal is to totally separate traffic between the physical interfaces by IP address, so that if eth1 gets saturated by traffic to .3 (incoming sflow packets only) I can still do management ...17:13
tonyyarusso... stuff to eth0 on .2 (all two-way traffic).17:13
tonyyarussoMan, this ufw thing is reproducible.  Disable ufw, and the ARP entry for eth1 pops up on the switch, but it's not there when ufw is enabled.  Weird.17:14
rbasakOh, I see. You can do that with multiple routing tables and advanced routing (see the howto), but I'd recommend against it. Everyone else with that need would use a separate management lan or vlan, and that's probably the path of least resistance17:15
tonyyarussoperhaps17:16
jdstrandtonyyarusso: are you using bridging?17:17
tonyyarussojdstrand: no17:17
BrixSatHello, is there any daemon with webinterface for network monitor?17:19
jdstrandtonyyarusso: I suggest doing something like 'sudo ufw logging high' and then look in /var/log/ufw.log to see what is going on (in fact, with 'logging low' (the default), you might already have stuff there. it seems pretty clear that you will need to add iptables rules to /etc/ufw/before*.rules to handle your setup (see man ufw-framework for details)17:19
Kartagishow do I know whether postfix is in chroot?17:19
lamontKartagis: if you didn't chagne the config, it's in a chroot by default on debian and ubuntu17:20
Cuacrzzhello, i need some help with a l2tp vpn config please!17:26
jamespageroaksoax, that would indicate the l3-agent is not configured at-all17:28
jamespageroaksoax, ignore me17:28
* jamespage scrolls to bottom of log17:29
jamespageroaksoax, is 10.55.60.163 the IP of the node you took out?17:29
jamespagel3-agent will be getting URL's for quantum from keystone; and if one has dropped we need the haproxy frontend to keystone as well.17:29
raubDoes anyone know if the Intel x520-DA2 (chipset 82599ES) works well under ubuntu 12.04LTS? https://wiki.ubuntu.com/HardwareSupportComponentsWiredNetworkCardsIntel might be a bit dated17:35
jamespageroaksoax, note that the scalability of the l3-agent is a documented limitation - it has to query quantum to figure out what it should be doing17:35
roaksoaxjamespage: right, this is not scaling though, it is a failover17:37
roaksoaxjamespage: so l3-agent is simply started in quantum/1 node, if quantum/0 fails17:37
jamespageroaksoax, I know17:37
roaksoaxjamespage: let me deploy everything again17:38
jamespageroaksoax, ack17:39
roaksoaxjamespage: btw.. you didn't make any more changes to the quantum charm right?17:39
* jamespage thinks17:39
jamespageI'd have to check the branch but I don't think so no17:39
jamespagelast commit on friday17:40
tonyyarussojdstrand: well, I'm not seeing anything obvious yet at least.17:41
AkendoHello jamespage , sorry for disturb again. My cinder have troune using this uuid password for ceph. It looks like it that it's no working17:44
AkendoAny idea?17:44
Akendotroube*17:44
jamespageAkendo, yeah - that is fiddly17:44
AkendoMake me a little bit crazy..... why a uuid?17:44
jamespageAkendo, take me through how you are setting up and managing the uuid17:44
jamespagespecifically on cinder and on the nova-compute nodes....17:44
Akendohttp://ceph.com/docs/master/rbd/rbd-openstack/#setup-ceph-client-authentication17:45
jamespage(I wrote all of this stuff into the Juju charms for OpenStack so I know how awkward it is)17:45
AkendoLike the ceph guys it do17:45
jamespageright - I banged my head against that for a while as well.17:45
roaksoaxjamespage: another thing. The ha cluster will need at least 2 interfaces ... so in the quantum charm I'll have to specify: 1. network address of interfaces, 2. multicast address to use. 3. and multicast port to use17:46
roaksoaxjamespage: how can we make the config to dinamically add interfaces17:46
jamespageAkendo, you can do it one of two ways17:46
roaksoax(in case we want to add a third, fourth)17:46
Akendook17:46
jamespage1) Create the uuid on the cinder host first; and then create it using exactly the same uuid on all of the nova-compute nodes17:46
jamespageor17:46
jamespage2) Create it individually on each node and specify the rbd_secret_uuid for each host individually (they can all be different)17:47
jamespageroaksoax, wellll....17:48
jamespagethat is awkward17:48
jamespageAkendo, one second - I'll dig out a bit of code for you17:49
roaksoaxjamespage: ackward, but required, unless we *always* require a second nic17:49
Akendohm..17:49
AkendoThank you, I'll try it again17:50
jamespageAkendo, this is the config in nova-compute for the second option - http://bazaar.launchpad.net/~charmers/charms/precise/nova-compute/trunk/view/head:/hooks/nova-compute-relations#L13117:50
jamespageset_or_update just sets options in nova.conf17:50
jamespageroaksoax, its tricky because to an extent you have to make assumptions about the physical machine you are using17:50
jamespagehaving a config option that specifies the physical nic to use would make sense17:51
jamespagebut it has to be consistent across all service units17:51
roaksoaxjamespage: exactly, but that's why this cluster uses the network address, and with it , it selects the interface17:51
roaksoaxjamespage: so to me, it makes more sense to send the network address of the iface to use17:51
jamespageOK - so lets ignore that issue for the time being and assume that is the case17:51
roaksoaxrather than a nic17:52
AkendoAh17:52
AkendoI now understanding how this work, awesome link!17:52
jamespageroaksoax, but you are assuming the nic is already configured then?17:52
AkendoNow I *17:52
roaksoaxjamespage: i';m assuming that I know the network address to which the cluster is going to be connected to17:52
jamespageAkendo, https://javacruft.wordpress.com/2012/10/17/wrestling-the-cephalopod/ has a bit more on deploying ceph with openstack using juju charms17:52
Akendohm..17:53
AkendoOk17:53
jamespageAkendo, even if you don't want to use juju its worth reading the code to plunder the knowledge :-)17:53
jamespageroaksoax, is this a multicast address?17:54
roaksoaxjamespage: so the thing is the communication between cluster nodes is based on "rings"17:54
roaksoaxjamespage: each rings needs, multicast addresss, multicast port, and network address17:55
jamespageroaksoax, network address per service unit right?17:55
roaksoaxjamespage: right, the network address to which the service unit is connected to17:55
roaksoaxjamespage: every node in the cluster nees to be configured with the same network address, mcast address/port17:56
jamespageroaksoax, right17:56
roaksoaxjamespage: so I can't simply assume that eth0, for example, is the interface used for all the physical systems to connect to the same network17:57
roaksoaxwhich means using network address is a better approach17:57
jamespageroaksoax, I still don't see how that maps to individual service units17:58
jamespageeth0 is universally appliable17:58
zulsmb: still around?17:58
jamespage192.168.21.99 applies to a single unit only17:58
smbzul, Somewhat, but a good deal of my brain is away...17:59
jamespageroaksoax, unless I missed something and you mean 192.168.21.0/24 (i.e. a network address)?17:59
roaksoaxjamespage: right, but physical machine 01, is connected to network 10.10.10.0/24 on eth0, machine02, is connected to 10.10.11.0/2417:59
roaksoaxon eth017:59
roaksoaxif we specify interface to use17:59
jamespageroaksoax, right - sorry - I see now - I was being dumb.17:59
roaksoaxthe nodes in the cluster will never see each other17:59
zulsmb: did you have a script that takes the cloud-images and make it usuable for xen?17:59
jamespageroaksoax, I'd also never underestimate the value of common cabling in the DC classed by machine type18:00
smbzul, Sort of. It is usable for Xen, what it does is adding no-cloud data18:00
jamespageits invaluable :-)18:00
zulzul: care to share?18:00
roaksoaxjamespage: oh definitely not, they are going to use a standard cabling/network per interface and stuff18:00
smbzul, Talking to yourself again? :)18:01
roaksoaxi just don't want to assume18:01
zulsmb: perhaps :)18:01
roaksoaxjamespage: though it could be a requirement... have the same interface in the same network18:01
jamespageroaksoax, I have to dash now - if you want to leave your test rig running and add my LP key (james-page) and PM me the details I'll take a look first thing18:01
zulsmb: some people's brains are not here as well18:01
smbzul, I can post it to you. I hope it is generic in usage, you should look at it carefully18:01
jamespageroaksoax, I don't think thats unreasonable18:01
smbzul, :)18:01
zulsmb: please18:01
jamespageI make that assumption in the quantum charm already18:01
jamespagewith the ext-port configuration18:01
roaksoaxjamespage: ok, so i guess i can do the same then18:02
zulright...so libvirt 1.0 works with xen 4.118:06
smbzul, I am trying to get a xen package reviewed for raring that has 4.2 and re-adds qemu-dm since18:08
zulsmb: linky?18:08
smbthat was suggested by the xen folks (because upstream qemu does no migration)18:09
zulright18:09
smbzul, I asked someone else already for a review, so I don't want to create chaos by spreading it into all corners18:10
zulack18:10
smbHope it gets done soonish though18:11
smbzul, script sent18:11
zulthanks18:11
smbzul, Let me know how it works for you. I have to admit it might be a bit "evil"...18:13
zulsmoser: hey do you have a problem with adding an upstart job for hvc0 for pv-domu guests in the cloud-images?18:17
smoserwhat would said upstart job do ?18:18
zulsmoser:  just creates a getty18:22
zulhttp://pastebin.ubuntu.com/1370663/18:22
smoserid rather you think of it generically.18:23
smosermaybe 'virt-getty.conf' that generally tries to run a getty on any "virtual console". even potentially considering 'ttySX' to be such a console.18:23
zulsounds reasonable18:25
smbsmoser, I actually have one for hvc0.conf which only starts it when /dev/hvc0 is present18:27
zulsmb:  crappers http://pastebin.ubuntu.com/1370663/18:27
smbzul, smoser, http://paste.ubuntu.com/1370690/18:28
zulsmb:  no domU drivers loaded :18:28
zulsmb: that works for me18:29
smbzul, I intend to add this to the xen package in one of the next steps to get the same on dom018:30
smosersmb, you should be able to reference DEVNAME in the getty call i think18:30
smoserand then extend the start on to other things also18:30
ninjixhey guys, which openstack network mode is the server team using?18:31
smbsmoser, Well this was started with more of dom0 in mind, so I did want to exclude the container case. Did not seem overly making sense there18:31
ninjixare you running Quantum for much of your testing?18:32
smbsmoser, Oh, if you meant extend to start on different tty's... It seemed that rather each desired one should have its own conf file18:33
=== Akendo is now known as Akendo_
smosersmb, well i dont know. why would you want a bunch of things that differ only by 3 chars.18:35
smoseri was suggesting a generic one that was configured one place that said "do you want a getty on a virtual console device"18:35
smbsmoser, You could ask why there is tty[12345].conf... ;)18:35
smoserthen if any were there, it turned them on.18:36
smoser(yes, i could ask that)18:36
smoserespecially if those jobs can be started on demand as yours shows there.18:36
smbsmoser, I guess one thing is it makes it simpler to start/stop ttys individually18:37
=== yofel_ is now known as yofel
smbAnd not sure how tight the need for one process triggered by one conf file in udev is... that is something I need to investigate too for trying to make xen start scripts upstart ones18:39
=== matsubara is now known as matsubara-brb
RoyKwhat's the big deal with xen when kvm's around?18:45
smosersmb, its not significantly simpler to start/stop ttys individually.18:49
smoseryou hav eto make it an instance job. and18:49
smoserstart virt-console DEVNAME=ttyS018:50
smoseror something like that18:50
smbsmoser, Well, yeah. I would not claim to know why it was done that way. I just usually assume there has been some reason for it (maybe just histerically because there were individual lines in inittab). Or maybe it allows for simpler additions without risking to loose those when upgrading.18:55
=== matsubara-brb is now known as matsubara
=== kInOzAwA is now known as Guest53130
tonyyarussoHow do I prevent a route from being created on boot?  Specifically, I do NOT want the route that reads "206.131.129.4   *               255.255.255.252 U     0      0        0 eth1".  Here's my /etc/network/interfaces currently:  http://pastebin.com/pBWq7TC619:45
keithzgI swear I've done it plenty of times, but I've just upgraded a server to 12.04 and it keeps prompting me to upgrade to 12.10 upon terminal login; how do I stick it to LTS only?19:50
ScottKkeithzg: Look in /etc/update-manager/release-upgrades19:52
keithzgScottK I already did that, it has the line "Prompt=lts"19:53
keithzgand yet...19:53
ScottKDunno.19:53
ScottKDid you restart after you changed it?19:54
ScottKI'm not sure where that gets cached.19:54
keithzgI didn't even ever change that19:55
keithzgIt has, as far as I know, always said that.19:55
keithzglast modified date is Aug 8, looks like19:55
RoyKkeithzg: wierd - try an "apt-get dist-upgrade" - make sure it's updated - simetimes there's a bug...19:55
keithzgThe following packages will be upgraded: unity-scope-musicstores19:56
keithzgheh, methink that won't do the trick19:56
sarnoldindeed, but at least it is a simple step :)19:57
keithzgsarnold truth!19:57
tonyyarussokeithzg: You have to delete a file in /var.  Let me see if I can find it.19:58
tonyyarussokeithzg: /var/lib/update-notifier/release-upgrade-available19:59
altermannhello, is the www-data user equivalent to apache in other distros?19:59
altermanni was not able to find anything conclusive on google19:59
tonyyarussokeithzg: just remove it, and it will get recreated with the correct parameters on next run of the script19:59
tonyyarussoaltermann: yes19:59
altermannthank you20:00
keithzgtonyyarusso: thanks!20:03
sarnoldtonyyarusso: excellent :) thanks20:03
=== robbiew is now known as robbiew-afk
=== mcclurmc_away is now known as mcclurmc
=== mcclurmc_away is now known as mcclurmc
rnbradyHi folks21:32
rnbradyWhat is the canonical way to configure RAID post install on an Ubuntu server?21:32
=== cpg|away is now known as cpg
=== jiboumans_ is now known as jiboumans
=== cpg is now known as cpg|away
keithzgarghh I've added a second ethernet card to a server for the sake of an iscsi mount, and now it's insisting on using that interface for everything. How do I get it to only use an interface for a specific IP range, and use the other interface for all other traffic?23:56
sarnoldkeithzg: I assume the iscsi endpoint is in the same netblock as all the other hosts?23:59

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