=== frankban|afk is now known as frankban | ||
=== meeks is now known as meeeks | ||
Neepu | Hi, im trying to setup openstack with conjure-up, but have trouble because of proxy settings. Can anyone please help me out? | 11:55 |
---|---|---|
Neepu | Do i need to create a juju controller with juju bootstrap --config http-proxy=....? | 11:56 |
stokachu | Neepu: conjure-up --help, there are options to enter proxy | 11:56 |
cnf | Neepu: proxies are a pain | 11:57 |
cnf | Neepu: if you set http-proxy, make sure the proxy can access all openstack services or your openstack won't work | 11:57 |
Neepu | right ty for quick answers | 11:58 |
Neepu | Hm.. that didn't work out. Still recieving "2017-07-10 14:04:06,492 [ERROR] conjure-up/openstack-novalxd - common.py:36 - Error bootstrapping controller: ['ERROR Get https://10.19.53.1:40179/1.0: Service Unavailable']" | 12:02 |
cnf | what needs a prozy? | 12:05 |
cnf | proxy | 12:05 |
Neepu | the deployment stage, juju bootstrapper | 12:05 |
cnf | so for the juju command to connect to the cloud provider? | 12:05 |
Neepu | I was assuming the IP was external, but it might be locally | 12:06 |
Neepu | but i think my HW is capable of virtualization hmm | 12:06 |
cnf | Neepu: because juju bootstrap --config http-proxy supplies proxy settings to the controller | 12:06 |
cnf | NOT to your juju command | 12:06 |
Neepu | i ended up using conjure-up --http-proxy | 12:06 |
cnf | so you need export http-proxy="http://proxyip:port"; juju bootstrap... | 12:07 |
Neepu | https://pastebin.com/DvYnkZHR | 12:15 |
Neepu | does this make any sense, for anyone? | 12:15 |
Neepu | Hi. Can anyone please help me setup conjure-up openstack? I'm having trouble connecting to my juju controller. It's stuck connecting. | 13:29 |
stokachu | Neepu: what does `conjure-up.lxc list` show | 13:30 |
Neepu | nothing, my .cache/conjure-up/conjure-up.log says this: | 13:30 |
Neepu | connecting to LXD remote "remote": "10.191.151.1:41641"', 'ERROR Get https://10.191.151.1:41641/1.0: Service Unavailable', '15:29:04 DEBUG cmd supercommand.go:459 error stack: ', 'Get https://10.191.151.1:41641/1.0: Service Unavailable', 'github.com/juju/juju/tools/lxdclient/client.go:278: | 13:30 |
stokachu | Neepu: so you dont have any containers running, meaning your controller is not available, can you `rm -rf ~/.local/share/juju` | 13:31 |
stokachu | and retry conjure-up openstack | 13:31 |
Neepu | again.. stuck connecting to LXD remote "remote": "10.191.151.1:41641" :(. I'm running behind a proxy, but i assume that doesn't matter given that the IP is the container IP (on a All-in-one setup) | 13:33 |
Neepu | https://pastebin.com/x6mmUqj1 | 13:35 |
stokachu | Neepu: i added some more lxd fixes in edge, can you do `sudo snap refresh conjure-up --edge`, and then re-try? | 13:36 |
Neepu | will do sec | 13:38 |
Neepu | same error | 13:40 |
Neepu | I'm running this inside a virtual server, would that make any difference? | 13:42 |
stokachu | Neepu: shouldnt, whats the output of `conjure-up.lxc config show`; `conjure-up.lxc network list`; `ip addr` | 13:43 |
Neepu | https://pastebin.com/4iw2aBwn | 13:44 |
stokachu | ok that all looks fine | 13:44 |
stokachu | Neepu: what about just running `conjure-up.lxc launch ubuntu:16.04 test1` | 13:45 |
Neepu | error: Get https://cloud-images.ubuntu.com/releases/streams/v1/index.json: lookup cloud-images.ubuntu.com on 10.76.1.10:53: read udp 10.76.1.10:55334->10.76.1.10:53: read: connection refused | 13:46 |
stokachu | ok | 13:46 |
stokachu | export HTTP_PROXY=http://193.71.180.81:80; export HTTPS_PROXY=http://193.71.180.81:80; export http_proxy=http://193.71.180.81:80; export https_proxy=http://193.71.180.81:80 | 13:47 |
stokachu | Neepu: ^ | 13:47 |
Neepu | mi missing HTTPS_PROXY | 13:48 |
Neepu | im* might be it.. :-p | 13:48 |
stokachu | Neepu: that worked? | 13:49 |
Neepu | going to reboot and see whether that helps. if it does, your help is very appreciated | 13:49 |
stokachu | ok | 13:49 |
Neepu | written the vars to my /etc/enviroment | 13:50 |
stokachu | ok cool | 13:50 |
Neepu | https://pastebin.com/ydCv6nVY | 13:53 |
Neepu | no effect :( | 13:55 |
Neepu | but given that i get errors at even this, i assume my proxy is at fault? | 13:56 |
stokachu | Neepu: yea it's some sort of proxy error | 14:07 |
stokachu | Neepu: not specifically a lxd/conjure-up/juju error | 14:07 |
Neepu | hmm | 14:16 |
Neepu | dns requests works fine when using curl -v etc | 14:16 |
Neepu | but conjure-up doesn't | 14:16 |
Neepu | regardless of proxy settings set | 14:16 |
stokachu | well neither does lxc | 14:16 |
Neepu | aye | 14:16 |
Neepu | just tried lxc config set core.proxy_http http://193.71.180.81 | 14:17 |
cnf | how do i use juju to replace a broken machine? o,O | 15:12 |
=== scuttle|afk is now known as scuttlemonkey | ||
triccardisystran | kjackal: ping regarding https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/286 | 15:25 |
cory_fu | stub, stokachu, tvansteenburgh: https://code.launchpad.net/~johnsca/juju-wait/+git/juju-wait/+merge/327122 | 15:58 |
kjackal | thank you triccardisystran you will hear from us soon | 16:35 |
=== frankban is now known as frankban|afk | ||
=== grumble is now known as gurmble | ||
=== scuttlemonkey is now known as scuttle|afk |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!