/srv/irclogs.ubuntu.com/2016/01/30/#juju.txt

=== FourDollars_ is now known as FourDollars
=== bpierre_ is now known as bpierre
=== braderhart_ is now known as braderhart
yuanyou   hi all,when i deploy openstack with juju ,some units always pending? how can I resolve it?08:18
yuanyou         active  false   local:trusty/ceph-10508:22
yuanyouceph-osd              blocked false   cs:trusty/ceph-osd-1408:22
yuanyouceph-radosgw          blocked false   cs:trusty/ceph-radosgw-1908:22
yuanyoucinder                unknown false   local:trusty/cinder-13608:22
yuanyoucinder-ceph                   false   local:trusty/cinder-ceph-208:22
yuanyouglance                unknown false   local:trusty/glance-15008:22
yuanyouheat                  unknown false   local:trusty/heat-1208:22
yuanyoujuju-gui              unknown false   cs:trusty/juju-gui-4508:22
yuanyoukeystone              unknown false   local:trusty/keystone-008:22
yuanyoumongodb               unknown false   cs:trusty/mongodb-3308:22
yuanyoumysql                 unknown false   local:trusty/percona-cluster-4508:22
yuanyouneutron-api           unknown false   local:trusty/neutron-api-108:22
yuanyouneutron-api-onos              false   local:trusty/neutron-api-onos-008:22
yuanyouneutron-gateway       blocked false   local:trusty/neutron-gateway-6408:22
yuanyounodes-api             unknown false   cs:trusty/ubuntu-508:22
yuanyounodes-compute         unknown false   cs:trusty/ubuntu-508:22
yuanyounova-cloud-controller unknown false   local:trusty/nova-cloud-controller-50108:22
yuanyounova-compute          blocked false   local:trusty/nova-compute-13308:22
yuanyountp                           false   cs:trusty/ntp-1408:22
yuanyouonos-controller       unknown false   local:trusty/onos-controller-008:22
yuanyouopenstack-dashboard   unknown false   local:trusty/openstack-dashboard-3208:22
yuanyouopenvswitch-onos              false   local:trusty/openvswitch-onos-008:22
yuanyouopnfv-promise         unknown false   local:trusty/opnfv-promise-201601120108:22
yuanyourabbitmq-server       unknown false   local:trusty/rabbitmq-server-15008:22
marcoceppiyuanyou: please use a pastebin in the future, also this is the services, we'd need to see the units output as well. I suggest you install pastebinit (sudo apt-get install pastebinit) then run `juju status --format tabular | pastebinit`11:14
=== scuttlemonkey is now known as scuttle|afk
=== urulama__ is now known as urulama
nagyzhey16:14
nagyztrying to use juju + maas together; managed to bootstrap but after adding a new charm the next maas machine didn't come up from a juju perspective16:15
nagyzI can ssh to the machine and I see that cloud-init properly ran, however, the juju agent isn't running16:15
nagyzhow could I debug further?16:15
=== scuttle|afk is now known as scuttlemonkey
marcoceppinagyz: what does cloud-init-output.log have in /var/log ?16:32
nagyzfunny thing is, after destroying it and re-deploying it, it worked.18:05
nagyzso I'll need to recreate to dump the cloud-init-output.log18:05
nagyzlet me boot up a new one and see if I can get a dump.18:06
nagyzok, managed to reproduce18:51
nagyzmarcoceppi, http://pastebin.com/jDCcn8vP18:53
firlanyone know of a murano charm / a guide to do the install with a juju openstack19:10
arosalesfirl there is no murano charm that I know of put the juju charm store does have a pretty good catalog that you can deploy onto openstack19:26
arosalesref = smile.amazon.com19:26
lazypower|travels/put/but19:26
arosalesI mean https://jujucharms.com/store19:26
lazypower|travelarosales - look at you supporting charity :D19:27
arosales:-)19:27
firlarosales: yeah, I am very pleased with it19:27
lazypower|travelfirl - is there a specific application you were looking for thats in murano that we dont yet have in the store?19:27
firllazypower|travel: some of the openstack summit videos have murano/heat walkthroughs. I was just hoping to use it. currently right now I am trying to figure out how I want to solve kuberenets/coreos implementation19:28
lazypower|travelfirl - funny you mention that :) we have kubernetes charms19:29
firlI don’t care about autoscaling right now, but it would be nice19:29
firlyeah I know the charm is there, but I liked the idea of having coreos with the OS updates for security19:29
firlI was trying to figure out which bundle to use for now to get there19:29
lazypower|traveland our latest revisions (not in the store proper just yet) support in place upgrades19:29
firlgotcha19:29
lazypower|travelif you're interested, i can get you a bundle in the next few minutes19:30
firlthat’d be nice19:30
lazypower|travelwe'll have to wait a 20 minute cycle for the charms to ingest, but i can get you up and running on k8s19:30
firlthe last thing I found is:19:30
lazypower|travelack, let me ping my main man mbarnett19:30
firlhttps://insights.ubuntu.com/2015/07/30/juju-kubernetes-the-power-of-components/19:30
lazypower|traveler mbruzek19:30
lazypower|travelhey neat, thats my article19:30
firl( this is all to solve the fact that the meteor charm is outdated )19:30
mbruzekwhat where?19:30
lazypower|travelfirl you're in good company ;)19:30
firl:) yeah hah, I remember meeting you in september for the summitt19:31
lazypower|travelNice!19:31
firlbut yeah a recommended bundle for getting it up and going would be awesome19:32
firldoes juju have autoscaling implemented yet ( I know ceilometer / heat can )19:32
lazypower|travelwell, juju itself doesn't implement that, as autoscaling is subject to business intelligence / different requirements19:33
lazypower|travelwe've got some implementations with zabbix19:33
firlgotcha, yeah I was considering just writing some hooks with ceilometer/heat to call juju add-unit essentially19:36
lazypower|travelfirl - ok, i'm running a quick test, we did some mods to the etcd interface last week that i need to ensure hasn't broken the charm19:44
firlhah ok19:44
lazypower|travelI'd rather be honest than give you broken software :)19:44
firli appreciate it19:45
nagyzwhile so many devs around any idea based on my pastebin why my deployment doesn't pick up juju after starting the node by maas? :-)19:52
firlnagyz: have you confirmed that routing / networking is all set up properly?19:54
firlall of your interfaces seem to be down, and the datasource ip is not on a private subnet19:55
firlwhen deploying from maas you can physically be on the host and log in via ubuntu:ubuntu I believe to diagnose it19:56
nagyzfirl, yeah if I destroy the machine and start a new one it has a 50% chance to come up properly19:57
nagyzand maas actually tells me the machine is deployed.19:57
nagyzso it can do the callback to the maas server19:57
firlis it 50% chance on the same machine, or 50% chance in general across multiple nodes?19:57
nagyzon the same machine19:58
nagyz9.4.113.0/24 is actually our maas network so that is correct19:58
firlso this only happens to a specific machine, and it works on all the other nodes no issues?19:59
nagyzno, on any node if I start it via juju (and only then) then I have this issue19:59
firlgotcha19:59
nagyzthe machine (from a maas perspective) can be deployed 100%19:59
nagyzand as you can see it can do an apt-get update and fetch packages so the network bonding works20:00
nagyzI suspect when juju is changing the networking around to be under a bridge instead of bond0 then something goes wrong20:00
nagyzI also have a capture from a run when it actually came up properly if that helps?20:00
firlit might20:00
nagyzlet me paste it20:01
firlyeah I wonder if it is because of the networking setup ( what you have chosen for the networking  in maas might be colliding with juju )20:01
arosalesmbruzek: http://hardening.io/20:01
arosalesmbruzek: interesting process on security hardening.20:01
nagyzfirl, basically I have two 10g interfaces and I'd like to bond them together (which is done by maas)20:02
nagyzfirl, while actually PXE booting from a 3rd, 1g interfaces20:02
nagyzand have a 4th 1g interface that I'm not using20:02
firlgotcha, and if you have the 1g interface, or don’t do bonding for this server does it work fine?20:02
nagyzno idea. all our servers are bonded. :)20:02
nagyzhaven't tried20:02
nagyzhere's a good run: http://pastebin.com/5mgiVVPe20:03
firland you are using maas 1.9?20:03
nagyzyep20:03
firlor 1.820:03
firlk20:03
nagyz1.920:03
nagyz(which actually has a horrible list of bugs but that's a topic for the very dead #maas channel...)20:03
firlhaha20:04
firlyeah, I haven’t found much help from maas vs a lot of help from the juju guys20:04
firlI am curious20:04
firlthe known good paste you have20:04
firlit is able to verify the ssl cert bundle20:05
firlthe  bad one isn't20:05
lazypower|travelfirl - yeah, i've got s'more work to do in here. the refactoring i did broke flannel networking20:07
lazypower|travelfirl - question for you as a consumer. Would you prefer it with or without sdn bundled?20:07
firlI don’t know to be honest20:07
firlI am using docker UCP at work20:07
firlthis is for a home project20:08
lazypower|travelfirl - ack. Are you perchance coming to the Charmer Summit on Monday?20:08
lazypower|travelI can reasonably have a fix in place by then :)20:09
firlI am not haha20:09
firlI can use an older version that is stable though if there is a good bundle to use20:09
lazypower|travelsure, let me get you that20:09
lazypower|travelmbruzek - can you paste the bundle we built for scale?20:10
firlkk thanks man20:10
mbruzekhttp://paste.ubuntu.com/14765250/20:11
lazypower|travelfirl you can get the layer from http://github.com/mbruzek/layer-k8s20:12
mbruzekright, you can charm build that one20:12
lazypower|travelyou'll need to build the layer in your $JUJU_REPOSITORY, then you should be g2g with that bundle20:13
mbruzekto create the k8s charm.20:13
firloh do a local deploy you mean20:13
firlfrom the git repo20:13
lazypower|travelright, the bundle references a local charm20:14
lazypower|traveland the repository linked is just a layer, you'll need to `charm build`20:14
firlhrmm ok, i’ve deployed locally, haven’t done a charm build before20:14
mbruzekfirl: need to install charm tools20:15
nagyzfirl, so what could cause it not to be able to verify it?20:15
nagyzfirl, just started using juju, honestly. :)20:15
firlnagyz: the bundle verifies it, both places20:15
firlbut the known bad is actually having to reach out 2x to the same ip on line 25/2620:16
lazypower|travelfirl - i'm off or now, headed out to get waffles. If you need anything, dont hesitate to ping and i'll get back to you when i return to the hotel20:16
lazypower|travelgood luck and cheers o/20:16
firlsounds good man thanks again20:17
firlnagyz: ok looks like it’s just a networking issue20:24
firllook at lines  2336 on the known good boot20:24
firland compare that section to 2336 on the known bad20:24
firlyou will see that the known good is able to wait for the bonding to come up20:24
firlmy suggestion would be to look into some of the properties of your LACP or ling aggregation setup with the switch you are using to do the bonding with the devices20:25
firl( i could be totally off too )20:25
nagyzfirl, the network is set to do active LACP, so the client needs to send LACP packets actually20:31
nagyzbut it's set to portfast, so should be fine (although I admit I have no idea how portfast+LACP work together)20:31
firlyeah nor do i20:31
firlI haven’t done bonding via maas yet ( hope to this year )20:32
firlonly done it via manual config / cisco20:32
firlwhy are you bonding if you don’t mind me asking20:33
firldepending on what you deploy you could just split the net traffic into 2 ( 10 g ) networks ( ceph on one vs neutron on another for example if you were using openstack )20:33
nagyzwe can't have enough network bandwidth :_)20:33
firlhah20:34
nagyzthis ceph cluster is ~2PB, and even with bonding on the storage nodes I only have 360Gbit on the storage side20:34
firlyeah I am waiting for mellanox support20:34
nagyzvs 1.92Tbit on the compute side20:34
nagyzif I don't bond, that 360 becomes 180...20:34
firlya20:34
firlI hear ya20:34
nagyzplus redundancy20:34
nagyzI should have really got dual 40gbit instead of dual 1020:35
nagyzmight put in an other dual 10g card next week20:35
firlyeah20:35
firlyou will have more support with those than mellanox20:35
firlyeah I have a 54g setup but I can’t use it with charms because of the maas / node configuration20:35
nagyzuse ethernet :p20:36
nagyzib is dead :p20:36
nagyz(isn't it 56gbit, btw? or 52...?)20:36
firlragyz you might be right with the rate22:56
firlmbruzek , lazypower|travel : http://pastebin.com/d44UjP9g23:56
firllooks like there are some issues with it still; I assume this is what you were talking about with the networking23:57

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