/srv/irclogs.ubuntu.com/2017/05/18/#juju.txt

=== bugg is now known as magicaltrout
dakjjamespage, icey: yesterday I've removed everything the vm and tried to install Openstack with conjure-up using an only vm with 64GB of RAM, 1TB x2 of HDD and the result has been perfect, Openstack has been installed correctly. Now that I rebuild the situation before the issue with Ceph is always there presented. Now why with conjure-up the installation is correct and via manual with juju no???07:40
kjackalgood morning juju world07:47
jamespagedakj: conjure-up on a single vm will be all contained within the same machine - i.e. nothing goes outside of the machines to the VMware vSwitch09:28
jamespagedakj: this is a strong pointer that the problem lies in the network connectivity between machines or lxd containers on different machines09:29
dakjjamespage: In MAAS the subnets must configured in this way eth0(https://pasteboard.co/7oi5M27zS.png) and eth1 (https://pasteboard.co/7oitlHdJm.png)?09:34
dakjjamespage: I've deployed MagPie on another node on MAAS now,  to use that on my lab how do I must do?11:01
jamespagedakj: charm README has some details on usage11:05
jamespagehttps://jujucharms.com/u/admcleod/magpie11:05
jamespagedakj: basically you want to replicate the unit structure you have with openstack, but using magpie11:05
jamespagedakj: so something like11:06
jamespagejuju deploy -n 4 magpie11:06
jamespagejuju add-unit --to lxd:0 magpie11:06
jamespagejuju add-unit --to lxd:1 magpie11:06
jamespagejuju add-unit --to lxd:2 magpie11:06
jamespagejuju add-unit --to lxd:3 magpie11:06
jamespagewhich will spin up four 'physical' servers, and place a magpie lxd unit on each one11:06
jamespageonce deployed they will run the benchmark and mtu tests11:07
dakjjamespage: ok I'm doing what you suggest me...5 min and I come back soon11:15
jamespagedakj: you might need to tweak the digit for the --to lxd:X to target the actual machine id's that the first step would have created11:16
dakjjamespage: I don't forget you, I was in break ... anyway could you have a look here to check if I made that right https://paste.ubuntu.com/24598754/13:20
jamespagedakj: kinda - you need to have more that one top level machine involved, otherwise everything is local bridge on machine 013:22
jamespagedakj: wait you deployed all of them to lxd:013:22
dakjjamespage: I know sorry....I wrong to create the lxc13:22
jamespageso they are all over the loopback device only13:22
jamespagewhich is why you get that odd mismatch on the mtu13:23
dakjjamespage: yes, yes sorry13:23
dakjJamespage: here is the right way https://paste.ubuntu.com/24598905/, sorry for before.13:57
jamespagedakj: not quite - you still have a single physical machine with four containers13:58
jamespagerather than four physical machines with a container each13:58
jamespageneed to get that network flow testing between physical machines :-)13:58
dakjJamespage: I've only one physical server (IBM System x3650 R4 with 64GB of RAM and 4TB of store) where I'm doing my lab.14:00
dakjjamespage: you're saying I've to have 4 vmachine and on each one 1 magpie?14:04
Budgie^Smoremorning o/ juju world14:16
jamespagedakj: ok so the pastebin you showed me the other day with the problem ceph-mons had 4 x 'physical' machines14:25
jamespagedakj: I thought those where VMware machines right?14:25
dakjjamespage: I'm waiting juju finishes to deploy magpie on 4 machine in lxcd container14:26
dakj<jamespage: yes it's a VMware esx14:27
jamespagedakj: ok so this one - https://paste.ubuntu.com/24592540/14:27
jamespagedakj: machines 16, 17, 18 and 19 are vmware machines connected to each other via the vSwitch in ESX right14:28
jamespagedakj: and then the lxd containers are on each machine14:28
jamespagedakj: you need to reproduce that topology with magpie only14:28
jamespagedakj: so four vmware machines, each with one lxd container on each14:28
dakjjamespage: that is now https://paste.ubuntu.com/24599034/14:28
jamespageall running magpie14:28
jamespagedakj: yup that's the one14:28
jamespagedakj: but please put magpie on the physical machines as well14:29
jamespageso you can diff between lxd and non-lxd traffic14:29
dakjjamespage: I give up :-), the situation now is that (https://paste.ubuntu.com/24599100/). I don't believe that to install Openstack is so hard there are a lot of thinks of consider. Problems to deploy Landscape Dense-MAAS, problem with Openstack base.....install VMware is easiest then Openstack with Juju...14:50
jamespagedakj: you're a bit off the beaten track here with how you are trying to test things15:18
jamespagedakj: all I can say is that getting your infrastructure right before attempting an openstack deployment in terms of networking, MTU, broadcast domains etc...15:19
jamespagedakj: is a problem that is common to any openstack deployment irrespective of deployment tool15:19
dakjjamespage: that was just a way to joke with my time to spend with openstack. If I'm here is to understand how I can replace vmware with openstack.15:21
jamespagedakj: \o/15:22
jamespagea common goal for alot of users15:22
jamespagedakj: getting existing vmware deployers to a point where they can try Juju/MAAS/Charms/OpenStack easily is a win for those users15:23
dakjjamespage: I know it's no easy to replace technology. I know also that one. After to understand that the next step will be replace esx with ubuntu lxd. By I've to make that step by step.15:24
jamespagedakj: ok so what type of scale are you looking to achieve here?15:25
dakjjamespage: the strange way is that host worked well with VMware Esx and VMware server center and it not moved nothing about networking. It's correctly connected to firewall via core switch.15:27
dakjjamespage: just to know how to resolve that issue and deploy openstack and landscape via juju. So I've the problem also for Landscape look here https://askubuntu.com/questions/906763/haproxy-reverseproxy-relation-changed-for-landscape-serverwebsite.15:29
dakjIt's a month I'm trying to build that using Juju and in both case I have an issue, It's no easy to understand what is the issue and how to resolve that. have a look here is the last past with magpie https://paste.ubuntu.com/24599321/.15:34
dakjjamespage: I want to thank you about all your support but it's not easy to understand why I've that issues.15:39
jamespagedakj:  hey - minor niggle with your use of magpie16:14
jamespageyou've deployed four different instances of the magpie charm +(-a,b,c)16:15
jamespagerather than eight units (four physical machines, four lxd containers) of a single instance of magpie16:16
jamespagewhich is why none of the units can find any peers16:16
dakjjamespage: sorry about that....it was only a joke. Tomorrow I'll make another try but this time not on that host but on our datacenter 16 compute node with 64GB per each node and 12 switch. All Compute node have vmware installed and my goal would be to replace that with Openstack....I'm sure that there is not problem with network. Also if that host is connect to the same infrastructure.let me try this last lab :-) then I don't know what is the problem.....16:22
carpenikeHi all, having trouble bootstrapping juju on a node with non-managed networks as I cannot set the ipv6 to disabled within lxc/lxd even though it's disabled on the parent interface.16:31
carpenikeIs there a way for juju to skip the ipv6 check when it loads up?16:32
carpenikeloads up = bootstraps.16:32
tvansteenburghstokachu_: did you find a good solution for snapping c-u with go1.8 yet?19:27
kwmonroemarcoceppi lazyPower!!! i need halp.  for a global-scoped interface provider, when do i use conf.set_state (https://github.com/juju-solutions/interface-spark/blob/master/provides.py#L25) vs self.set_state (https://github.com/juju-solutions/interface-http/blob/master/provides.py#L12)?20:30
kwmonroes/conf/conv20:30
lazyPowerkwmonroe: conv.set_state is when you want to scope it to the conversation happening, eg: scope unit.  self.set_state works in the global namespace and doesn't matter what context you're in20:31
kwmonroelazyPower: so anytime scope == global, self.foo is the right answer?  is it redundant to do "conv = get_conversation; conv.set_state"?20:31
lazyPowerkwmonroe: I think the conv.set_state on a global scoped conv is implied to work in global state20:32
lazyPowercory_fu: fact check me <320:32
kwmonroeack, gracias lazyPower20:32
kwmonroecory_fu is out pyconning20:32
lazyPowerkwmonroe: i'm only 80% certain thats right, but i'm gonna say it convincingly enough that you think its right.20:32
lazyPowerand i myself would never use self.set_state in an interface20:32
kwmonroes/contact=kwmonroe/contact=lazypower/ && ship20:33
lazyPowers/contact=/ignored=/g && ship20:33
kwmonroeship || shennanigans20:33
lazyPowerShenanigans wins every time20:34
lazyPowerkwmonroe: i'm pretty sure that if i'm heinously wrong stub will follow up with why. He's really good at lurking with great information when i'm wrong :)  But again, i'm mostly certain thats how it works. Otherwise the `scope.global` would be pointless.20:36
kwmonroelazyPower: when in doubt, github!  https://github.com/juju-solutions/charms.reactive/blob/master/charms/reactive/relations.py#L265 tells me self.set_state and self.conversation().set_state work the same.20:54
lazyPowerkwmonroe: welp, and there you have it20:54
bdxwhat are CAAS models?21:54
rick_hbdx: :)22:00
rick_hbdx: experiment of juju on container platforms22:00
thumperrick_h: you took the words out of my mouth22:01
thumper:)22:01
rick_hthumper: I do my b est22:01
rick_hbest22:01
thumperballoons, veebers: I can still hear you22:01
veebersluckily balloons and I weren't saying anything mean about you then :-)22:07
bdxrick_h: like a way to `juju deploy mydockerthing`?22:37
rick_hbdx: still a bit early to really go through how it goes.22:38
rick_hbdx: but we realize that folks like their containers and often they need to talk to things that don't fit well in containers22:38

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