/srv/irclogs.ubuntu.com/2014/08/13/#juju.txt

=== blackboxsw is now known as blackboxsw_away
=== CyberJacob|Away is now known as CyberJacob
=== uru__ is now known as urulama
gnuoyjamespage, another review for a LS blocking bug if you have a moment https://code.launchpad.net/~gnuoy/charm-helpers/bug1354471/+merge/23059309:01
jamespagegnuoy, merged09:38
gnuoythanks09:38
gnuoyjamespage, I've created a bunch of mp to sync charm-helpers into the next charm to pickup the srcpkgcache fix from earlier if/when you have a moment14:04
jamespagegnuoy, if its just a resync then auto +114:04
jamespagemerge away14:04
gnuoyjamespage, Mostly it is, on a few I've added the charmhelpers sync smarts and I had to fix a unit test in the keystone charm14:05
gnuoyare you happy for me to go ahead with all of them ?14:05
jamespagegnuoy, yes14:05
gnuoythanks14:05
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
mfa298I've been playing with a small ceph cluster using three nodes (using the ceph) charm. I pulled one node out with a juju remove-unit ceph/1 altered the hardware (added drives and changed network cards around), recommisioned in maas and then rebuilt is as a new unit however it doesn't seem to be rejoining the cluster and the mon list on the other nodes hasn't updated. any suggestions as to what to look at15:08
jamespagemfa298, hmm - pulling part of the mon quorum like that is probably not a great idea15:21
jamespageI'm not sure the cluster bootstrap process will support that15:21
mfa298that doesn't bode well for running something similar in production15:22
mfa298If a node failed I'd want to be able to replace it easily15:22
jamespagemfa298, I'd need to check15:22
gnuoyjamespage, I have a similar set of updates for the stable charms (add15:27
gnuoycharm helper smarts and sync)15:28
gnuoyshould I create mps for those ?15:28
jamespagegnuoy, yes pls15:28
gnuoywill do, ta15:28
mfa298it also looks like the replacement node isn't setting up extra OSDs15:57
=== jcw4 is now known as jcw4|away
mfa298jamespage: any thoughts on how I might be able to fix that ceph cluster.17:39
mfa298could one (drastic) option be to delete the ceph service, then re-create it with the format-osd option set to off ?17:40
mfa298I'm assuming that would then recreate it and find the existing OSDs to use17:40
jamespagemfa298, you have two service unit remaining right?17:53
mfa298yes17:53
mfa298The plan was to change out the hardware on all three but do one at a time and wait for things to re-sync so the cluster kept quorum17:54
jamespagemfa298, looking at the code, I can't see why introducing a new ceph service unit would not initiate it correctly into the cluster17:55
jamespagemfa298, I wonder if its something todo with reuse17:55
jamespagemfa298, let me test somehting17:55
mfa298the OSD drives changed (although I still have the original) but I wiped the OS drive and the interface being used to build it from maas changed (was on a 10G card I wanted for something else)17:57
mfa298although I didn't wipe the box from maas (just did a re-commision) but I don't think that should have caused an issue17:57
jamespagemfa298, so the new mon daemon is joining OK?18:17
jamespagemfa298, OK - so here is what I just tested successfully18:22
jamespagesmall three node ceph cluster; destroyed and terminated one of the nodes via juju, added a new node18:23
jamespagebootstrapped into the cluster OK - appeared in MON list, new OSD inserted18:23
jamespageI had to remove the old node OSD and MON entries via the command line18:23
jamespagethat I would expect;18:23
=== ming is now known as Guest61014
=== perrito6` is now known as perrito666
mfa298that sounds similar to what I did18:51
mfa298I had three nodes, each running MON and OSD, I did juju remove-unit ceph/1 and juju terminate-machine 22 to remove the node18:54
mfa298then changed bits of hardware then did juju add-unit ceph to add it back in. IP of the node then changed as the hardware had changed.18:55
mfa298As it's the same machine in MAAS but using a different interface I wonder if the maas and juju side have got confused (I found maas remembering old IP's once before when it probably shouldn't have)18:57
mfa298juju status is showing the node as started but it doesn't seem to have created the OSD and it didn't update the ceph config for the new mon IP (although it sounds like you had to change some of that manually from what you said)18:59
=== tvansteenburgh1 is now known as tvansteenburgh
ctlaughThe openstack-dashboard charm (among others) seem to overwrite /etc/network/interfaces and create a bridge with eth0. My MAAS preseed file had previously enabled eth1 as well, but now it is not getting enabled. Is there a way to get both eth0 and eth1 up without the charm(s) undoing it?20:03
=== jcw4|away is now known as jcw4
jamespagemfa298, I think its some sort of confusion21:00
jamespagepossibly due to the IP change21:00
jamespagemfa298, I did not update any ceph configuration files - the operations I did where using the cli tools to ceph mon rm <oldmon> and some similar things for the old osd references21:01
mfa298the ip changing confusing things seems likely21:02
mfa298I've not manually run any ceph commands, I was hoping juju would handle it all but it seems like that might be the route to take.21:03
mfa298I might try removing it fully from juju and maas first tomorrow and see if that makes it recover at least then hopefully everything will thinks it's a completely new node.21:04
mwhudsonwhy does the maas provider move eth0 onto a bridge?21:09
jamespagemwhudson, for use with LXC or KVM containers21:16
jamespagemwhudson, its a little raw21:16
mwhudsonjamespage: ctlaugh is trying to use it on nodes with two nics21:17
mwhudsonand it seems to be messing things up21:18
josembruzek: how is that thing that you cannot promulgate a charm without an icon? since when have we had this problem?21:53
mbruzekjose, I don't know how long we have had it but now the promulgate command runs charm proof and halts on anything W and E21:55
josembruzek: I'll open a thread about it, seems nonsense to me21:55
mbruzekThe cakephp charm looked good to me otherwise.21:55
josewe do have charms without icons in the store atm21:55
mbruzekjose I already took this up with marcoceppi21:55
joseyeah, I quite liked how it got there21:56
josembruzek: oh, I'll leave it there, then. keep me informed on the output, please :)21:56
marcoceppijose: it's always been policy21:56
marcoceppiyou can't promuglate without proof passing21:56
marcoceppiproof has just evolved overtime21:56
josemarcoceppi: you told me without Es, but nothing about Ws21:56
mbruzekjose I really wanted to approve the cakephp charm21:56
joseI don't see anything bad on a warning21:57
josein this case, for example, it's throwing a warning because there's no icon due to the author asking for permission to the organization21:57
joseand... it's just an image. I agree, it may not look awesome in the GUI, but Juju is about services, and in this specific case it deploys it perfectly and runs awesome21:59
marcoceppijose: there's nohing stopping the author form creating a temporary icon22:24
marcoceppifor the time being22:24
=== CyberJacob is now known as CyberJacob|Away

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