/srv/irclogs.ubuntu.com/2016/09/17/#juju.txt

valeechThanks lazyPower!!03:33
magicaltroutcan you specify a non standard ssh port for manual provisioning?04:46
magicaltroutsleeping channele04:46
magicaltrout-e04:46
aisraelAsleep and/or jetlagged ;)04:50
magicaltroutdisgraceful04:51
aisraelWait. Hungover is also an option.04:51
magicaltroutthat one is more acceptable04:52
magicaltrouti had this cool idea for a demo next week where I have charmed up mesos master and agents and spun up a bunch of nodes04:56
magicaltroutthen I have spun up a bunch of ubuntu containers with sshd installed04:57
magicaltroutso I was hoping to do a manual provision of juju stuff onto a bunch of these containers04:57
magicaltroutbut they have to map their ports to a random port number04:57
magicaltroutso I can't get juju to ssh in04:58
magicaltroutsad times!04:58
aisraelYou could manually ssh using the juju key05:05
aisraelassuming you know the random port05:06
magicaltroutexplain further aisrael !05:06
magicaltrouti do know the port05:06
aisraelso, you could do something like: ssh -p 1234 -i ~/.local/share/juju/ssh/juju_id_rsa ubuntu@1.2.3.405:08
aisraelWhich is also handy for debugging a machine that's been created but the agent is hanging while allocating.05:09
magicaltroutah yeah, but that doesn't solve my problem of bootstrapping a manual provider does it?05:10
aisraelOh, I thought you'd already have a manual/local controller05:12
magicaltroutnope thats why i'm sad05:12
magicaltroutyou can append the port to the ip address when bootstrapping05:12
magicaltrouter05:13
magicaltroutcan't05:13
aisraelHere's a thought:05:15
aisraelhm, that might not work.05:16
aisraelYou can add a manual machine to an lxd controller, but that still doesn't get you past Juju not letting you specify the ssh port05:16
aisraeladd a manual machine via ssh05:17
magicaltroutyeah05:17
magicaltrouti suspect i've hit a hard stop05:17
aisraelYou might be able to do some iptables wizardry to do it: http://askubuntu.com/questions/28516/redirect-requests-to-my-external-ip-port-to-a-different-external-ip-port05:20
magicaltroutyeah i wondered about that but in a multi container single host setup you couldn't just map everything to 2205:20
magicaltrouthttps://github.com/juju/juju/blob/master/environs/manual/addresses.go#L1705:20
magicaltroutprobably need to extend that or something05:20
aisraelunless you could give each container a publicly routable address05:23
aisraelIt's definitely a valid feature request to file. I fear the potential workarounds start getting hairy.05:23
magicaltrouthehe05:23
aisraelOff to bed for me. I gotta repack and head back to the airport tomorrow.05:26
magicaltrouthehe see ya aisrael05:27
KpuCkohow to go to the hooks, to learning how it is work, without it is in failed or error state, if it is in error state i can call debug-hooks, but when i hooks are sucessfully completed i cannot do debug-hooks because juju returns me hook is not in error state06:46
lazypowerKpuCko: Try changing configuration or juju upgrade-charm. If the context you need is with relations, you can remove/re-add the relationship07:16
KpuCkohmm i think i dont understand you.. my case is, im playing with wordpress trusty charm, everyting about the hooks going flowless, but when i try to open the blog im getting 502 Bad Gateway07:19
KpuCkoso how to debug this?07:19
=== saibarspeis is now known as saibarAuei
eject_ckHi all13:26
eject_cktrying to bootstrap juju 2 with maas 2 in 16.04 getting juju bootsrap hung when "Fetching" gui. I've added —debug and log. Please advice why hangs ? https://0bin.link/paste/hehQjxRA#sv0PImHpJHuOv1-FA3yUmgMpN2ycDe+1CS3HEg5oNl813:30
=== spammy is now known as Guest13563
=== Guest13563 is now known as spammy
=== saibarspeis is now known as saibarAuei
pragsmikegreets22:48
=== zerick_ is now known as zerick

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