/srv/irclogs.ubuntu.com/2016/10/04/#maas.txt

mupBug #1630123 opened: OpenStack base 45 not being deployed with Juju GUI <MAAS:New> <https://launchpad.net/bugs/1630123>06:37
=== frankban|afk is now known as frankban
PCdudeHi all08:49
PCdudeI have some questions about openstack on ubuntu08:49
PCdudeI have put it in an askubuntu question08:49
PCdudehttp://askubuntu.com/questions/832736/openstack-with-autopilot-some-networking-clear-up08:49
PCdudeSome about them are MAAS related08:49
Sujeet_Hi Kiko, Hi Roaksoax11:26
mupBug #1630123 changed: OpenStack base 45 not being deployed with Juju GUI <juju-core:New> <juju-gui:New> <https://launchpad.net/bugs/1630123>11:50
baldpopegood morning kiko roaksoax12:49
baldpopefyi - ran through the conjure at about 4pm yesterday, 13hrs or so and it's just sitting idle, no progress12:50
baldpopei'll dig into it more this morning12:50
stokachubaldpope: what do you mean sitting idle?12:53
stokachuat what point?12:53
baldpopefinished inputting in maas server ip, and the api key12:53
stokachubaldpope: are you seeing machines being deployed in maas?12:54
baldpopethen the next screen shows which modules will be selected, i presumed the default would be sufficient, so left untouched12:54
baldpopeof the 5 nodes, 1 is deployed (previously in the ready state) the other 4 are sitting in the idle state12:55
baldpopethe deployed host is online, and ssh is on, but I cannot ssh into it - the ssh key I added is not accepted when I attempt to connect as ubuntu12:55
baldpopessh key I added to the webui12:55
stokachuit's probably using the ssh key generated by juju12:56
stokachuyou can do juju switch controller;juju ssh 012:56
baldpopefrom the maas host?12:56
stokachuyea12:57
stokachuwell wherver you ran conjure-up12:57
baldpoperight12:57
baldpopesysadmin@ubuntu-ap-brk:~/.local/share/juju/ssh$ juju switch controller12:57
baldpopefinch:admin@local/conjure-up -> finch:admin@local/controller12:57
baldpopesysadmin@ubuntu-ap-brk:~/.local/share/juju/ssh$ juju ssh 012:57
baldpopeERROR no API addresses12:57
stokachuyour bootstrap failed then12:57
stokachuwhat does juju models show12:57
baldpopecannot list models - no api addresses12:58
stokachuyea your bootstrap failed12:58
stokachuare you able to deploy a node via maas ui?12:58
baldpopei believe so,13:00
baldpope1sec13:00
baldpopeyea, was able to deploy a new bloade with ubuntu 16.04 lts13:07
baldpopeand i can login with the ssh key assigned in webui13:08
stokachucan you access the internet from that node?13:08
stokachualso what version of juju are you running13:08
baldpope2.0-rc2-xenial-amd6413:09
baldpopeapt install worked (presumably through maas controller) but running lynx www.google.com fails13:10
stokachuand can you access the internet from that node? or run a `sudo apt update`13:10
stokachuyea13:10
stokachuyour network isn't configured properly13:10
baldpopeapt update worked13:10
stokachuthats from the maas proxy13:10
stokachudo you have IP forwarding enabled on the maas server?13:11
baldpopeam I mistaken, but I thought maas also acted as squid proxy ?13:11
baldpopestokachu, shit .. i'll bet not13:11
stokachuyea assuming you setup the network config on the maas server properly :)13:11
stokachuyou also want to NAT that traffic13:11
stokachuso you'll need to add that rule in iptables13:11
baldpopei have a forward rule, but I don't have any nat rules13:12
baldpopesigh .. did I miss a step somewhere, thought I followed closely13:12
stokachu/docs/en/users/#customize-headless-mode13:12
stokachuerr13:12
stokachuhttp://paste.ubuntu.com/23275006/13:12
stokachubaldpope: thats what i use for my private network13:12
stokachujust change that to whatever network you're using13:13
baldpopethat's in /etc/iptables/rules.save or something?13:13
stokachuhttp://paste.ubuntu.com/23275007/13:13
stokachusee the pre-up line13:13
stokachuyou can add it there13:13
stokachuor save it13:13
stokachudo all of your nodes have 2 nics?13:15
baldpopeyea13:15
stokachuall eth0/eth1?13:15
baldpopewell, 613:15
baldpopeenp9s0f0 and enp9s0f113:15
stokachuok so when you get to the application list make sure to configure your neutron br-ext to be enp9s0f113:16
stokachuit defaults to eth113:16
baldpopethe other 4 not currently plugged in13:16
stokachui would plug those in because you can't select the machine you want to use for neutron13:17
baldpopethe nics, you mean?13:18
stokachuyea13:18
stokachuwell the machine that is housing neutron13:18
stokachuyou can't specifically select that machine, juju will grab one at random13:19
baldpopestokachu, (or anyone else) if I've got the masq rule in place, do I also need to be running squid, or will it just forward the traffic?13:37
baldpopewait..13:39
baldpopeok, i may not have setup networking correctly, the 'internal' network I created is routable through firewall - is not required to go through maas controller13:40
baldpopeand in this case, the individual nodes do not have access through firewall out -13:40
baldpopeso the question I have now is - should the nodes be required to go through the maas controller, or is it ok for them to have direct access out?13:40
stokachuthe easiest solution is to route everything through your maas server13:41
baldpopehm13:41
baldpopethat's interesting13:41
baldpopei would think I would want to use maas for dpeloyment, but not necessarily to act as the end-all routing uplink..13:41
stokachuit doesn't have to be13:42
stokachuthats just the easiest solution13:42
baldpopeif that's the case, more care should be taken on the maas controller to use a bridge interface with sub interfaces for redundancy13:42
baldpopeso eth0 and eth1 in bridge with br0.1 as the wan and br0.2 as lan?13:43
baldpopealong with any other sub interfaces as required13:43
stokachuyea that will work too13:43
baldpopehm13:44
baldpopeok, not going to mess with that just yet13:44
baldpopeI can update the firewall to allow my private segment out13:44
baldpopebut I'm not sure how that resolves the juju deploy?13:44
stokachubecause juju needs to resolve things like streams.canonical.com:44313:46
baldpopeah13:46
baldpopei thought that was being done from the maas controller13:47
baldpopemy mistake13:47
baldpopein my 5 node environment, after the juju controller has already been deployed, am I limited to using the remaining 4 for compute, so the 1 head is lost?13:55
stokachuyea unfortunately13:59
baldpopehm13:59
stokachujuju 2 requires a node for the controller13:59
baldpopewell, that by itself isn't terrible13:59
baldpopeif you plan ahead, you can pick a host that would suffice for juju, but might not be the ideal compute/storage node14:00
baldpopethat's what I thought I was deploying on the maas box (an older dell poweredge)14:00
stokachuso you can select which machine to perform the bootstrap on14:00
baldpopewell - not exactly14:00
stokachuJUJU_BOOTSTRAP_TO=host.maas conjure-up -d openstack14:00
stokachu?14:00
baldpopeah14:01
baldpopesorry - thought you were asking me a question14:01
stokachuthis only works for maas and i haven't documented it yet14:01
baldpopestokachu, that would work perfectly, if I had a spare host to deploy to14:01
stokachumost people usually create a VM to house the controller14:01
baldpopenot complaining - just trying to understand the environmen14:01
stokachuand just register that in the maas14:01
baldpopeyea, that makes sense14:02
baldpopestokachu, not sure if it's progressing or not14:05
baldpopehttp://imgur.com/LalU5zS14:05
stokachudid it get passed fetching juju agent yet?14:06
baldpopeno, been sitting here for the last couple of minutes14:06
stokachuyea it still can't get out to streams.canonical.com14:06
baldpopeand both the node and maas controller have unfiltered access out14:06
baldpopehm14:06
baldpopelooking at firewall, no blocked traffic14:08
stokachudeploy another node via maas and just see if you can wget from streams.canonical.com14:10
stokachulike wget http://streams.canonical.com/juju/tools/agent/2.0-rc2/juju-2.0-rc2-xenial-amd64.tgz14:11
baldpopetesting - need a minute to deploy again14:14
baldpopethanks for taking a few minutes stokachu14:15
stokachunp14:15
baldpopei've got pages of notes on my side where I've made mistakes, thinkgs I've forgotten after cleaning/reinstalling/deploying14:15
baldpopewill be happy to share any relevant bits once I get it cleaned up and repeatable14:16
stokachuyea im sure roaksoax and the docs team would want to look at that14:16
shubjeroHow does one configure a large amount of servers in maas with a specific disk layout?14:46
shubjeroI'd like to have 36 machines configured with the same partition layout14:47
shubjeroI'd rather not have to go through 36 times and do it all14:47
baldpopestokachu, ok, a bit lost now... i've deployed a new node - i can perform nslookup on www.google.com, with the reply coming from maas controller, but attempting wget fails, though traffic is not blocked14:54
baldpopei can ssh directly into the node using the key provided through webui14:55
baldpopedefault route is out through firewall14:55
baldpopestokachu, i appear to have a routing issue - have to work on this and report back - but will have to be later...15:30
stokachubaldpope: ok15:31
mupBug # changed: 1392763, 1394792, 1459888, 1481285, 1508975, 1589640, 1593388, 1623110, 1623634, 1623878, 1625711, 1625714, 1627019, 1627038, 1627039, 1627363, 1628052, 1628213, 1628298, 1629004, 1629008, 1629011, 1629019, 1629022, 1629045, 1629142, 1629402, 1629491, 1629868, 162989616:40
=== frankban is now known as frankban|afk
mupBug #1630343 opened: [2.1] upgrade from 2.0 to 2.1 broken <MAAS:New> <https://launchpad.net/bugs/1630343>18:16
mupBug #1629026 changed: [2.1] Images have been imported, but can't add a chassis <MAAS:Invalid> <https://launchpad.net/bugs/1629026>20:07
mupBug #1630361 opened: [2.1 ipv6] MAAS should refuse to deploy a host with bad address-family config <maas-ipv6> <MAAS:New> <https://launchpad.net/bugs/1630361>20:07
mupBug #1616232 changed: [2.1, 2.0] Installs should use GPT by default if volume is larger than 2TB <MAAS:Fix Released by blake-rouse> <MAAS 2.0:Triaged> <MAAS trunk:Fix Released by blake-rouse> <https://launchpad.net/bugs/1616232>21:19
mupBug #1630343 changed: [2.1] upgrade from 2.0 to 2.1 broken <MAAS:Fix Released by blake-rouse> <https://launchpad.net/bugs/1630343>21:19
mupBug #1616232 opened: [2.1, 2.0] Installs should use GPT by default if volume is larger than 2TB <MAAS:Fix Released by blake-rouse> <MAAS 2.0:Triaged> <MAAS trunk:Fix Released by blake-rouse> <https://launchpad.net/bugs/1616232>21:28
mupBug #1630343 opened: [2.1] upgrade from 2.0 to 2.1 broken <MAAS:Fix Released by blake-rouse> <https://launchpad.net/bugs/1630343>21:28
mupBug #1616232 changed: [2.1, 2.0] Installs should use GPT by default if volume is larger than 2TB <MAAS:Fix Released by blake-rouse> <MAAS 2.0:Triaged> <MAAS trunk:Fix Released by blake-rouse> <https://launchpad.net/bugs/1616232>21:34
mupBug #1630343 changed: [2.1] upgrade from 2.0 to 2.1 broken <MAAS:Fix Released by blake-rouse> <https://launchpad.net/bugs/1630343>21:34
mupBug #1630394 opened: [2.1] Bootloaders not downloaded on initial import <MAAS:Confirmed for ltrager> <https://launchpad.net/bugs/1630394>22:19
mupBug #1630398 opened: [2.0] EFI system fails to PXE boot: PXE-E23, Maas server returns TFTP error for bootx64.efi <oil> <MAAS:New> <https://launchpad.net/bugs/1630398>23:11
wililupyMAAS 2.0 is not seeing all my interfaces on my server. How can I manually add them?23:13
wililupyclarification, my rack controller can't see all of its interfaces.23:13
=== cyberjacob is now known as zz_cyberjacob
=== zz_cyberjacob is now known as CyberJacob
mupBug #1630398 changed: [2.0] EFI system fails to PXE boot: PXE-E23, Maas server returns TFTP error for bootx64.efi <oil> <MAAS:New> <https://launchpad.net/bugs/1630398>23:56

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