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

=== mwhudson_ is now known as mwhudson
=== frankban|afk is now known as frankban
externalrealitytest09:12
jamtick12:32
rick_hJam tock12:34
jamrick_h: sorry I'm late, just finishing up the last meeting, brt12:34
=== Guest71369 is now known as skay
=== freyes__ is now known as freyes
jac_cplaneWe have a charm for xenial that relys on /etc/network/interfaces, there was a recent update to curtin that moves /etc/network/interfaces to /etc/network/interfaces.d.   I dont think this is correct, but I' not sure why this change was made.  Can someone help?14:23
jac_cplanebug openend https://bugs.launchpad.net/maas/+bug/1732202 on curtin 53214:54
mupBug #1732202: Xenial Deploy fails when using /etc/network/interface <MAAS:New> <https://launchpad.net/bugs/1732202>14:54
=== frankban is now known as frankban|afk
=== jac_ is now known as jac_cplane
[Kid]can you not create models from logging into a controller?19:13
[Kid]also, is it possible to login to a controller as admin on any other server than the one that juju was bootstrapped from?19:13
[Kid]ahh i see what the problem is. the cloud providers are only stored on the juju server that the controllers were bootstrapped from19:15
[Kid]i.e., you can't login to a controller from a random juju install and see the cloud providers for that controller19:15
[Kid]so far, it seems like if i need to make most changes outside of removing or adding a worker node to a kubernetes cluster i have to remove the model and re-add it19:29
[Kid]so basically a full re-deploy19:29
[Kid]does that sound right?19:29
rick_h[Kid]: so you can add new users with admin and superuser permissions to access from other locations19:38
rick_h[Kid]: check out https://jujucharms.com/docs/stable/tut-users19:39
rick_h[Kid]: as far as changes to the cluster needing a redeploy, I'd hope not. I think the team would be curious what changes and see what's not supported in the charms and such that wrap the operations19:39
ryebot[Kid]: gimme a second to catch up19:42
ryebot[Kid]: What changes do you need to make?19:42
[Kid]sorry, i am here20:11
[Kid]i currently tried a deploy and MAAS didn't finish deploying 2 of the nodes and i have machines in a down state20:12
[Kid]i released the machines in MAAS, but how to i get juju to try and redeploy to those machines?20:12
[Kid]it already thinks it allocated them20:12
[Kid]the changes that i was trying to make were like removing flannel and adding calico. it worked but then it rebuilt the master nodes and my  ssh keys changed and i couldn't get juju scp to work.20:14
kwmonroe[Kid]: watcha mean by 'rebuilt the master nodes'?  you mean like the flannel cni relation was removed and calico joined?20:38
kwmonroealso [Kid], i'm at a loss when you say you lost 'juju scp' capabilities.  i can't think of a reason why the juju keys used to ssh to a unit would change, regardless of how that unit was changed post deployment (unless, of course, you changed ~/.ssh/authorized_keys on the juju unit out-of-band)20:41
kwmonroerick_h: are there circumstances that cause ~/.local/share/juju/ssh/juju_id_rsa* to change?20:43
rick_hkwmonroe: ...not that I can think of20:44
kwmonroe[Kid]: the ssh key that juju uses for things like juju scp are stored in ~/.local/share/juju/ssh/juju_id_rsa, and the .pub key in there is what is normally on all deployed units.  rick_h assures me this is bulletproof. ;)20:44
cory_fuWhat does this error mean when trying to bootstrap lxd / localhost?  ERROR Get https://10.130.48.1:8443/1.0: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "root@murdoch")21:00
cory_fustokachu: Do you recognize that, by chance?  ^21:05
stokachucory_fu: yea i think it's the certificate in .local/share/juju/bootstrap-config21:05
stokachuor one of those files21:05
stokachumaybe credentials.yaml21:05
cory_fustokachu: Ah.  Just torch it?21:06
stokachuyea21:06
cory_fustokachu: It was credentials.yaml.  Thanks!21:08
stokachucool, np21:08
[Kid]kw and rick, thanks. i will continue to look at it21:11
[Kid]kw and rick, is there a way to have juju retry the deployment of a machine?21:12
[Kid]i have two machines in a down state and message is failed deployment.21:12
[Kid]i manually fixed MAAS, so i wanted it to try on those same machines agin21:13
[Kid]again21:13
rick_h[Kid]: so there's juju retry-provisioning, if the machine didn't come up21:14
rick_h[Kid]: or if you want to just retry as something failed and you cleaned it up just juju add-unit xxx21:15
rick_hand have juju pull another up for use21:15
[Kid]ahh yes, i think juju retry-provisioning is what i need21:19
rick_hcool, hopefully that helps some21:19
[Kid]rick21:26
* rick_h ducks21:26
[Kid]it accepts that command, but doesn't do anything21:27
[Kid]haha21:27
[Kid]just stuck in a down status21:27
[Kid]guess i might have to remove and re-deploy21:27
rick_h[Kid]: try with --debug and see if anything is fishy? Maybe trace debug-log and see if anything comes up.21:27
[Kid]i did21:27
rick_h[Kid]: just remove and add-unit ?21:27
[Kid]juju debug-log didn't have anything21:27
[Kid]i will try the --debug on the command21:27
[Kid]well, destroying the model again21:32
[Kid].....21:32
[Kid]redeployings21:32
[Kid]i have to wonder if i am just a special case.....21:33
rick_h[Kid]: no I mean something's up. Do you know it failed to come up?21:34
zeestratHey [Kid], if you fixed the maas nodes so that's not the issue anymore and the `retry-provisioning` didn't work then you should be able to do `juju add-unit <name-of-service-that-failed-to-deploy>` so you don't have to destroy the whole model as rick_h mentioned above.21:46
[Kid]rick, yes, it didn't come up21:51
[Kid]i waited like 30 minutes21:51
[Kid]just in a down state and had "failed deployment" in the message field21:51
[Kid]looks like the re-deploy worked21:51
[Kid]i just hate that i have to keep re-deploying for simple changes21:52
rick_h[Kid]: well this isn't a redeploy as the first one didn't succeed right?21:53
rick_hI mean it's not in a change, but that maas didn't get a machine to juju?21:53
rick_hI guess that's what I'm wondering is what went wrong between maas/juju, did curtain get things started, cloud-init go ok, juju agents get installed and setup?21:53
zeestratMaas has logs for it's deployments on the node page and should say why it ended up as a failed deployment.22:01

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