/srv/irclogs.ubuntu.com/2017/06/14/#juju.txt

=== mup_ is now known as mup
kjackalGood morinig Juju world!06:37
NazGood morning, I have 2 questions please :) , 1- How could I move a service (Application/unit/machine) from a hosting model A to a model B?          2- Could I deploy the same application twice? (I mean, using the SAME charm, I want to run two machines serving the same application but using different configuration]).07:37
Nazfor question 2, obviously, I am talking about deployment of same app twice to SAME model.07:47
zeestratNaz: Not a juju dev but, 1: I think Juju is currently limited to migrating model migrations, see: https://jujucharms.com/docs/2.1/models-migrate, rick_h might know if migrating individual services is in the pipeline08:00
zeestratNaz: 2: To deploy the same application but with different names and configurations, use "juju deploy <charm> <name-of-application>", so "juju deploy mysql different-mysql" for example08:04
Naz@Zeestrat, Big than you, much appreciated. However, Probably, I didnt explain well, for 1, I am not talking about a model as a whole migrating from a controller A to controller B, I need to migrate a machine and its service from a Model A to a Model B. For 2, Good tip, Thank you :)08:12
zeestratNaz: No problemo. I'd suggest reaching out to the juju mailing list (https://lists.ubuntu.com/mailman/listinfo/juju) to ask about 1.08:23
boolmanhi, what does this mean, I cant find any information about this error: machine-3: 08:36:52 ERROR juju.provisioner cannot start instance for machine "3/lxd/0": unable to setup network: host machine "3" has no available device in space(s) "internal"08:37
boolmanwhat is it trying to do?08:38
zeestratboolman: If think juju is trying to setup network for the LXD container on machine 3 connected to a network space called internal, but cannot find it on the machine. Are you using maas with juju? If so, what versions? What are you trying to deploy?08:47
boolmanzeestrat: the machine 3 has a network interface on space 'internal' and a configure IP from that network. the space/subnet shows in 'juju spaces'08:50
boolmanI'm trying to deploy openstack08:50
zeestratboolman: Gotcha. Are you using the openstack bundle from https://jujucharms.com/openstack-base/ by any chance?08:54
boolmanzeestrat: yes I believe so08:58
zeestratboolman: Alright. I'm not sure how that bundle works per today with spaces. You might want to ask jamespage and/or folks in #openstack-charms09:02
boolmanok thx09:02
boolmanthink I figured it out, lxd requires the space on a bridge port, not a physical port.09:09
=== rumble is now known as grumble
erik_lonroth_kwmonroe: https://pastebin.com/aC7pmiqh  --- it seems from me debugging the install-hook, the  "bigtop" installation is failing. What happens here is yet covered in smoke for me.10:16
kwmonroeyeah erik_lonroth_, the bigtop apt repository is not reachable.  did you set http/apt proxies on the model?10:25
erik_lonroth_Yes I did. Let me run the "apt-get update" manually to see what happens. Just a sec.10:25
erik_lonroth_That fails utterly10:28
kwmonroeheh10:28
erik_lonroth_https://pastebin.com/RjHZF2SQ10:28
kwmonroeok erik_lonroth_, you can get here, right?  http://bigtop-repos.s3.amazonaws.com/releases/1.2.0/ubuntu/16.04/x86_64/dists/bigtop/contrib/binary-amd64/Packages10:29
kwmonroei'm gonna assume you can get there, but you can't wget that url from a juju deployed unit.  that reeks of a proxy issue.  does your network require you to whitelist unknown domains?10:35
kwmonroealso, run "juju model-config | grep proxy" just to make double sure your proxy settings look right10:39
erik_lonroth_It is proxy issues and I've added them to our whitelist now and trying again with a clean model10:48
cnfso in juju, with maas 2.2, how can you filter on subnets now that spaces are vlan based, instead of subnet based?10:57
jamcnf: you would still have subnets in your space, wouldn't you? and "how can you filter" in what UI? MaaS UI? 'juju status' ?11:10
cnfjam: constraints11:10
cnfand i have vlans with multiple subnets, where i want to specifiy juju needs to use a specific subnet11:11
cnfin 2.1 i can use maas spaces, but with 2.2 they moved spaces to vlans11:12
cnfso that doesn't work anymore11:12
boolmandoes juju/maas create a local user with password? I can't deploy on my nodes and I want to login from console11:57
erik_lonroth_:kwmoroe It "almost" worked this time. The state I'm now in for some good 20 minutes is for spark/0    (juju status -> "spark/0*                   maintenance  idle   4        10.54.83.216                        configuring spark in yarn client mode"11:58
erik_lonroth_spark/0 never leave this state for me....11:58
rick_hboolman: it should setup the ubuntu user with ssh access from the ssh key in MAAS or your local machine it was bootstrapped from11:58
boolmanrick_h: no I dont think it's installed my ssh key12:02
boolmancertainly cannot login12:02
jamboolman: ssh ubuntu@X.Y.Z ?12:05
cnfboolman: maas adds your ssh keys12:05
cnfboolman: did you add your ssh keys to maas?12:05
boolmancnf: yes I've added my key to maas, I can ssh into other nodes. but not the 3 I'm trying to figure out why the deployment failed13:05
boolmanby the looks of it, the ubuntu install is successfull, but on firstboot when running cloud-init it fails to find the maas datasource or something13:06
boolmanthats why I need to login13:06
admcleodboolman: is it possible you have an MTU mismatch somewhere?13:07
boolmannot likely, but I can double check13:07
admcleodboolman: might be worth it, can cause problems with cloud-init (not so much "cant find" though)13:08
boolmanadmcleod: hmm ok I do see some strange stuff in the config on this crappy switch13:13
boolmanhm no that was 'system mtu'13:14
=== scuttle|afk is now known as scuttlemonkey
vlad_Hey guys is there a 5th follow up post for this series of blog posts? (Here's the 4th and last one I could find): https://insights.ubuntu.com/2016/01/31/nodes-networking-deploying-openstack-on-maas-1-9-with-juju/13:45
rick_hvlad_: check out http://blog.naydenov.net/13:47
vlad_rick_h: And to everyone else on here. This is the best IRC ever!13:49
erik_lonroth_=)13:55
boolmanadmcleod: No the mtu settings should be fine. however untill I can login to the node, I cant be sure13:59
kwmonroeerik_lonroth_: any luck on spark/0 coming out of "maintenance"?  if not, can you paste a "juju status && juju show-status-log spark/0 -n 100"?14:36
=== frankban|afk is now known as frankban
kwmonroehello friends!  jujubox:devel and charmbox:devel docker images have been updated with juju rc3.  happy modelling!15:10
Budgie^Smoreo/ juju world :)16:35
wpk🙌16:39
lazyPower👋 budgie17:14
thumperwpk: some people are more capable with emoji than others, my limits lie with :-) and o/18:08
cnf👃🏻🙈🍌18:09
thumpercnf: I can't tell if that is telling a story or just random stuff...18:16
cnfmonkey smelt but didn't see the banana!18:18
cnfthat, or money didn't want to see the penis, and wanted a banana18:18
cnfyou pick18:18

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