valeech | Thanks lazyPower!! | 03:33 |
---|---|---|
magicaltrout | can you specify a non standard ssh port for manual provisioning? | 04:46 |
magicaltrout | sleeping channele | 04:46 |
magicaltrout | -e | 04:46 |
aisrael | Asleep and/or jetlagged ;) | 04:50 |
magicaltrout | disgraceful | 04:51 |
aisrael | Wait. Hungover is also an option. | 04:51 |
magicaltrout | that one is more acceptable | 04:52 |
magicaltrout | i had this cool idea for a demo next week where I have charmed up mesos master and agents and spun up a bunch of nodes | 04:56 |
magicaltrout | then I have spun up a bunch of ubuntu containers with sshd installed | 04:57 |
magicaltrout | so I was hoping to do a manual provision of juju stuff onto a bunch of these containers | 04:57 |
magicaltrout | but they have to map their ports to a random port number | 04:57 |
magicaltrout | so I can't get juju to ssh in | 04:58 |
magicaltrout | sad times! | 04:58 |
aisrael | You could manually ssh using the juju key | 05:05 |
aisrael | assuming you know the random port | 05:06 |
magicaltrout | explain further aisrael ! | 05:06 |
magicaltrout | i do know the port | 05:06 |
aisrael | so, you could do something like: ssh -p 1234 -i ~/.local/share/juju/ssh/juju_id_rsa ubuntu@1.2.3.4 | 05:08 |
aisrael | Which is also handy for debugging a machine that's been created but the agent is hanging while allocating. | 05:09 |
magicaltrout | ah yeah, but that doesn't solve my problem of bootstrapping a manual provider does it? | 05:10 |
aisrael | Oh, I thought you'd already have a manual/local controller | 05:12 |
magicaltrout | nope thats why i'm sad | 05:12 |
magicaltrout | you can append the port to the ip address when bootstrapping | 05:12 |
magicaltrout | er | 05:13 |
magicaltrout | can't | 05:13 |
aisrael | Here's a thought: | 05:15 |
aisrael | hm, that might not work. | 05:16 |
aisrael | You can add a manual machine to an lxd controller, but that still doesn't get you past Juju not letting you specify the ssh port | 05:16 |
aisrael | add a manual machine via ssh | 05:17 |
magicaltrout | yeah | 05:17 |
magicaltrout | i suspect i've hit a hard stop | 05:17 |
aisrael | You 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-port | 05:20 |
magicaltrout | yeah i wondered about that but in a multi container single host setup you couldn't just map everything to 22 | 05:20 |
magicaltrout | https://github.com/juju/juju/blob/master/environs/manual/addresses.go#L17 | 05:20 |
magicaltrout | probably need to extend that or something | 05:20 |
aisrael | unless you could give each container a publicly routable address | 05:23 |
aisrael | It's definitely a valid feature request to file. I fear the potential workarounds start getting hairy. | 05:23 |
magicaltrout | hehe | 05:23 |
aisrael | Off to bed for me. I gotta repack and head back to the airport tomorrow. | 05:26 |
magicaltrout | hehe see ya aisrael | 05:27 |
KpuCko | how 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 state | 06:46 |
lazypower | KpuCko: Try changing configuration or juju upgrade-charm. If the context you need is with relations, you can remove/re-add the relationship | 07:16 |
KpuCko | hmm 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 Gateway | 07:19 |
KpuCko | so how to debug this? | 07:19 |
=== saibarspeis is now known as saibarAuei | ||
eject_ck | Hi all | 13:26 |
eject_ck | trying 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+1CS3HEg5oNl8 | 13:30 |
=== spammy is now known as Guest13563 | ||
=== Guest13563 is now known as spammy | ||
=== saibarspeis is now known as saibarAuei | ||
pragsmike | greets | 22:48 |
=== zerick_ is now known as zerick |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!