/srv/irclogs.ubuntu.com/2016/09/06/#maas.txt

mupBug #1620423 opened: [2.1a2] Crash in regiond.log <MAAS:New> <https://launchpad.net/bugs/1620423>00:13
holocronquick question here.. does MAAS provide the 169.254.169.254 service that cloud-init is looking for upon node commissioning?03:40
holocronI'm getting PXE boot, but not getting past commissioning03:40
holocronhttp://imgur.com/a/V5unw03:41
holocronAfter those attempts time out, it tries to connect to the default gw (not the MAAS server btw) to get the meta-data03:43
holocronperhaps this is the problem?03:43
holocronhttp://imgur.com/a/VRsyQ03:44
holocronit seems i have hit upon https://bugs.launchpad.net/maas/+bug/1402861/comments/4 but after restarting my MAAS controller, the maas-dhcpd service has failed to start04:32
holocronConditionPathExists=/var/lib/maas/dhcpd.conf was not met04:32
holocrontrying to sort that out now04:32
holocronsimply turned out that the maas-rackd service hadn't started properly on reboot -- so dhcpd is back up.. but still seeing the same error as before with not finding the metadata service on 169.264.169.264, and then not finding it on the default gw04:45
holocronhttps://bugs.launchpad.net/maas/+bug/162045805:17
mupBug #1620458 opened: Commissioning fails with cloud-init meta-data unavailable <cloud-init> <virsh> <MAAS:New> <https://launchpad.net/bugs/1620458>05:26
=== frankban|afk is now known as frankban
mupBug #1620478 opened: [UI] Broken validation on VLAN MTU <ui> <MAAS:New> <https://launchpad.net/bugs/1620478>07:08
PCdudekiko: u there?07:35
=== MmikeM is now known as Mmike
mupBug #1620513 opened: UniqueViolation: Got more than one neighbour <networking> <MAAS:Triaged> <https://launchpad.net/bugs/1620513>09:21
mupBug #1620514 opened: Unexpected error in processEnded: twisted.internet.defer.AlreadyCalledError <networking> <MAAS:Triaged> <https://launchpad.net/bugs/1620514>09:21
=== CyberJacob is now known as zz_CyberJacob
mupBug #1620458 changed: Commissioning fails with cloud-init meta-data unavailable <cloud-init> <virsh> <MAAS:Invalid> <https://launchpad.net/bugs/1620458>12:00
kikoPCdude, yes13:09
PCdudekiko: cool13:49
PCdudeI am almost there with openstack, but not totally13:49
PCdudelet me search for the error log real quick13:50
PCdudekiko: http://pastebin.com/raw/A7qtJm4v13:54
PCdudeit timed out, but I have no idea why and where more logs are to search in to get more info about it13:55
PCdudekiko: any idea?13:55
neithonce maas is intalled , I try to setup openstack, but the UI requires at least 3 nodes on the public network. What is this public network?13:58
kikoneith, the routable external network14:04
neithkiko: I suppose so, but which one is detected as the external network14:05
neithShould I name it public network manually?14:05
neithkiko: i selected the pub net in openvswitch14:09
neithbut on the add hardware pane, all my nodes have a - in the public net column14:10
neithkiko: can I use auto assign IP when deploying Openstack?14:18
kikoneith, are you using Juju directly, or via Landscape?14:19
neithkiko landscape14:19
kikoneith, I think Landscape decides that for you14:23
kikoPCdude, your problem is in the openstack-install step14:23
neithkiko: so why am i stuck here: http://imgur.com/a/bgjk914:25
PCdudekiko: ok, I use the latest version of the openstack installer. the questions the installer asks are pretty basic the only important parts are the IP address and the MAAS key. Both should be right I think.14:26
PCdudekiko: Maybe there are others logs I can check to rule out parts or maybe gives a better image of the problem itself?14:26
kikoPCdude, I've asked Adam Stokes internally14:27
kikoPCdude, oh, he's on freenode, his nick is stokachu14:27
kikoPCdude, he should be around in a bit14:27
kikoneith, it looks like you are missing a node suitable for neutron-gateway14:27
kikoBeret, are any landscape people on this channel?14:27
PCdudekiko: great thanks! I am in the JUJU channel too, I sended him a message already on a suggestion from someone else14:28
kikoPCdude, okay, if he doesn't reply let me know14:28
PCdudekiko: will do :)14:28
kikoPCdude, it seems to me like the node maas deployed may not have internet connectivity, but we tested that yesterday and it worked, so I'm not sure..14:29
neithkiko: You mean the neutron node needs multiple network interfaces correctly configured?14:29
PCdudekiko: exactly my thought too. I even logged in the node (SSH) after the node was deployed by the openstack installer and both internet is working and DNS can be resolved.14:30
kikoPCdude, and the problem is reproducible, right?14:30
kikoneith, I think so -- I've asked somebody from the landscape team to join and help out14:31
PCdudekiko: I tried 4 times and all the 4 times it was giving the exact same error, so yes it is14:31
kikoneith, if they don't show up I guess you can /msg dpb directly14:31
kikoI need to step out for a bit14:31
neithkiko: thanks14:32
kiko<andreas> kiko: quick hint, yes, neutron needs two nics, it's part of the autopilot checklist at the beginning14:33
kikoneith, ^^14:33
PCdudekiko: yeah I have a question about that too, so both nodes that have 2 nics. one of them should be connected to the public side and one with the private side and the other node both with the private side14:34
PCdudehttps://insights.ubuntu.com/2015/04/10/maas-network-layouts-for-the-landscape-autopilot/14:35
PCdudesecond image14:35
kiko<andreas> kiko: one nic should have the ip assigned by maas, and the other should just be connected to the network, but unconfigured14:40
PCdudeand the other one should be connected to the same network as the first NIC right, but then unconfigured like u said?14:42
PCdudekiko: but for a split network u will still need a node with one connected to the other network14:42
PCdudekiko: should that make 3 nodes with 2 NIC's or can that be one of the 2 nodes with 2 NIC's?14:43
=== frankban is now known as frankban|afk
rbasakkiko: AFAIK, every TLD is an official TLD. There are one or two ones designed for local use (eg .local), but .maas isn't one of them. I wonder if there's anything that makes things better when using one of the official names.15:04
rbasak(ie. that's where I'd look)15:04
mupBug #1620662 opened: MAAS should permit (optionally) DNSSEC signatures for its authoritative domains <MAAS:New> <https://launchpad.net/bugs/1620662>15:05
mupBug #1613857 changed: [doc] api.html: Available configuration items in "Manage the MAAS server" section are not properly rendered <MAAS:Fix Released by nobuto> <https://launchpad.net/bugs/1613857>15:28
mupBug #1613918 changed: [doc] api.html: inconsistent reST format breaks rendering and indent <MAAS:Fix Released by nobuto> <https://launchpad.net/bugs/1613918>15:28
PCdudekiko: I have not heard from stockachu yet, just wanted to tell u16:07
kikoPCdude, I didn't either, I wonder if he's out16:07
PCdudehe works too in canonical?16:08
kikoPCdude, neither is mmcc16:08
kikoyes, both do, both are responsible for openstack-install and conjure-up16:08
kiko[ERROR: 09-05 23:38:49, multi.py:218] Failed to get ip directly: [Errno -2] Name or service not known16:08
kikothis I find suspicious16:09
PCdudeah ok cool, good to know16:09
=== frankban|afk is now known as frankban
PCdudekiko: I personally think it went wrong from the moment I installed the juju-deployer manual16:09
PCdudeI dont think that was a smart move, but maybe I am wrong16:09
PCdudekiko: uhm, just did some digging on that error line, some questions about it no answers apparently16:13
kikoPCdude, see if the suggested debug steps here give you any new information? http://askubuntu.com/questions/626535/landscape-installation-takes-a-long-time16:13
kikoPCdude, also look through https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/issues/857 which has quite a bit of detail16:14
PCdudenote: the first link the comment on the questions says that the deployer timed out, that could be a thing since we installed it manually16:15
kikoPCdude, no, that's really unlikely to be the issue16:17
kikoI'm not sure why the dependency was missing16:17
PCdudeshall I post the "JUJU status" output?16:17
PCdudehttp://pastebin.com/raw/cE8ii7s316:18
PCdudethats the output of JUJU status16:18
kikoPCdude, looks like your juju deployment is failing to conclude16:18
kikoPCdude, what do your machines in MAAS look like? deployed?16:19
PCdudefirst of what gave u that hint?16:19
PCdudethe line with "waiting for agent initialization to finish"?16:20
PCdudeI have the nodes and the controller all running in VMware ESXI16:20
kikoyes16:20
PCdudekiko: the nodes all have 1 GB and 1 core and the controller has 4GB and 2 cores16:20
kikoPCdude, you need to check out what is happening on the nodes themselves16:21
PCdudern I only wanna try it to deploy it later on normal "real" nodes16:21
PCdudekiko: well what I can see all most of it is "normal"16:22
PCdudekiko: I can see the last 20-25 lines that the nodes has as output16:22
PCdudeone second I will post those16:22
PCdudekiko: http://imgur.com/a/vH3bX16:26
PCdudethats what I can see on the node from the output16:27
PCdudeI can still login and use it though16:27
PCdudemaybe some error logs?16:27
kikoPCdude, yeah, look through the logs, in particular in /var/log/juju16:31
PCdudekiko: holy shit, that is alot of info16:33
=== frankban is now known as frankban|afk
PCdudekiko: I think MAAS has a different view on the structure of the network16:40
kikoPCdude?16:40
PCdudeok, me send the logs first then I will explain hahah16:40
PCdudehttp://pastebin.com/zuX1TJcB16:43
PCdudethis is the log specificially for the node that was made by JUJU/openstack16:43
PCdudeit is fetching for a public IP but does not succeed16:44
PCdudekiko: let me make sure that the way I set it up rn is how openstack needs it16:45
PCdudeI have 5 machines16:45
PCdude2 of them have 2 NIC's to the private network16:45
PCdude1 of them has also 2 NIC's but one of them is to the private network and one to the public16:46
PCdudethe other 2 have only 1 NIC in them16:46
PCdudeall use WOL to startup16:46
PCdudeI think that is pretty much it16:46
PCdudekiko: is that setup correct?16:57
kikoPCdude, I don't really understand what problem you are having, and what's worse I don't quite understand the openstack requirements16:58
PCdudekiko: u mean I am not clear enough in what I want or u mean the interpretation of the info I gave u?16:59
kikothe latter16:59
kikoI know you just want an openstack deployed16:59
PCdudeah ok, well that makes two of us : )17:00
kikoPCdude, I think the easiest thing to do now is to ask on askubuntu, and we'll get somebody to look at it17:02
erickesHi, I´have installed maas 194 on 1404. I have start a VM that is booting correcly from the maas node. I get the enlisting login prompt but enlisting is not started. What could cause this ?17:02
PCdudekiko: will do, I will make a question and post the link here17:03
kikothanks PCdude17:04
kikoerickes, I'd guess network connectivity17:05
kikoerickes, i.e. if the node can't get out to the internet17:05
erickesCould it be that a port is blokeck, we have a firewall on the maas node17:05
kikoerickes, if you could try letting all traffic through, that'd be good17:06
erickesOk thx I can have a look on that.17:06
kikoerickes, let me know if you need any further help17:15
erickesthx, I think itń network related17:18
erickesas you sa. Need to investigate a liitle bit more17:19
kikosure thing17:20
erickesI have added iptables -A FORWARD -o br0 -i br3 -s 172.18.10.0/24 -m conntrack --ctstate NEW -j ACCEPT17:25
erickes to the iptables and know it works, br0 is the internet interface17:25
erickesbrs is the maas interface where pxe boot is running17:25
erickesbr317:25
kikoerickes, is your masquerading being done externally?17:26
erickesno17:27
kikoerickes, well.. 172.18 is in the rfc1918 space17:29
kikoerickes, so somebody needs to NAT it in order for it to route externally17:29
erickescheck17:34
PCdudekiko: a little late but here is the stackexchange link (had some other stuff I had to take care off)18:53
PCdudehttp://askubuntu.com/questions/821804/openstack-with-landscape-install-fails18:53
kikoPCdude, are you behind a proxy?19:07
PCdudekiko: yes I am, I use PIA when my internet goes out of the house19:08
PCdudekiko: but internet is working like it should be, could that be an problem?19:08
kikoPCdude, well, sometimes you have packages that get corrupted when coming via the proxy, etc19:09
kikoPCdude, can you do a juju bootstrap onto that MAAS server and deploy the ubuntu charm?19:09
PCdudekiko: here is an update on the issue : https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/issues/98619:09
PCdudekiko: haha just what I was doing19:09
PCdudethat last answer could be the answer let me do that19:10
PCdudekiko: ok so I changed my environments file to the following:19:14
PCdudekiko: http://pastebin.com/raw/4fyi6AF319:15
kikolooks correct19:16
PCdudekiko: the first line has just been added, does that look like it could work?19:16
PCdudeah ok good19:16
PCdudelets try juju bootstrap again19:16
PCdudehttp://pastebin.com/raw/SgJQ883h19:17
PCdude:(19:17
PCdudelets try the internet for some solution19:17
DickVInstalled maas 2.0, dhcp on private net, nodes pxe-ed, boot to login, NEVER show up on maas Nodes pg19:23
PCdudeDickV: is ur DHCP server running on the private network for the nodes?19:25
kikoDickV, sounds like enlistment isn't completing, just like we saw with erickes a while back19:26
kikoDickV, my guess as to where to start: can your nodes route out to the internet?19:27
DickVI can't login to the nodes directly19:27
DickVor by ssh19:27
PCdudeDickV: u first have to add the key of the nodes for it to SSH19:28
kikoDickV, yeah, during enlistment you really can't unless you backdoor the images19:28
kikoPCdude, he's not even enlisted yet!19:28
DickVEach node shows up in the used ip list after pxe boot, but then they all disappear19:28
kikoPCdude, hey, why not start your environments file by running "juju init" first?19:28
kikoDickV, my bet is the nodes can't enlist because they can't get out to the internet (to install packages, etc)19:29
DickVFollowing Ubuntu and MAAS doc says install maas first, then juju19:29
PCdudekiko: same error :(19:29
DickVDoes that mean I need a router on the private net?19:30
PCdudeDickV: I got the nodes to enlist without internet, but here is a link to get internet going through ur MAAS controller19:31
kikoDickV, yes, and to NAT it19:31
PCdudehttp://askubuntu.com/questions/717803/openstack-install-problem-with-juju-bootstrap/718820#71882019:31
kikoit can route through the MAAS node itself19:31
PCdudekiko: I posted my error from the bootstrap on the JUJU channel too. I dont use JUJU often, but this error is not from the yaml file I created right?19:39
DickVThanks. Working on it...19:59
kikoPCdude, err.. you are stumbling on something quite basic now, as getting to the point where juju bootstrap kicks off is 5 minutes!20:09
kikos/basic/fundamental to be clear20:10
PCdudekiko: yeah I know, I have to be honest here. I sort of took JUJU for granted as it should be working with the basic settings, but yeah never do that... haha20:12
PCdudekiko: but still I searched on the internet, but no direct leads to the solution20:13
kikoPCdude, when you juju init you get a template environments.yaml20:14
kikoPCdude, you then just edit the key and endpoint IP address and it /will/ work20:14
kikoI don't know how you ended up with that cut-down environments file20:14
PCdudekiko: well I know very special ;) haha20:15
PCdude*am20:15
PCdudelets just delete the file20:15
PCdudeand bingo20:16
PCdudethere is a file now20:16
PCdudekiko: and now just bootstrap juju and see if it succeeds ?20:17
PCdudehe is bootstrapping rn20:26
PCdudekiko: lets hope this works...20:26
PCdudekiko:  holy shit the bootstrap is successfull!20:30
PCdudekiko: I just added my "extra" parameters to the file and it succeeded, lets try the openstack install again20:31
holocronAny help on why maas-dhcpd.service fails to start with "ConditionPathExists=/var/lib/maas/dhcpd-interfaces was not met" ?20:57
kikoholocron, hmm, does that path exist?20:57
kikoPCdude, see!!20:58
holocronkiko -- nope, sure doesn't20:58
holocronwell, /var/lib/maas/ exists, but not that file20:58
kikoholocron, okay, next question, have you told MAAS to manage some VLANs?21:00
holocronkiko, MAAS detected some vlans from my system configuration, and one of the tagged vlans is where i am attempting to start the dhcpd service21:01
roaksoaxholocron: have you gone into the specific VLAN and "Enable DHCP" in the action menu ?21:03
holocronyes, and at first i was able to describe the range of IP and gateway addresses21:03
PCdudekiko: same error again.... :(21:03
PCdudewhich is strange, coz I solve the problem with JUJU bootstrap. So any error should be a different one21:04
kikoholocron, see the comment from roaksoax21:06
kikoPCdude, if you did a juju bootstrap successfully, then can you juju deploy ubuntu?21:06
kikoand does that work21:06
kikobecause if not.. that's the problem :-)21:06
holocronroaksoax - yes21:06
holocronkiko, roaksoax : the maas cli interface shows "dhcp_on": true for that fabric and vlan21:08
kikoroaksoax, what do you think?21:08
kikointeresting21:09
kikoholocron, a bug, it looks like21:09
holocronwell, there's this https://bugs.launchpad.net/maas/+bug/155137821:11
holocronbut i'm not getting a config file at all out of maas21:12
holocronand this https://bugs.launchpad.net/maas/+bug/159254021:14
holocronbut i that doesn't help me much21:16
PCdudekiko: ok, so I started fresh again with a snapshot. I did the bootstrap again which succeeded.21:21
PCdudekiko: next command is "juju deploy ubuntu -n 4"21:21
PCdudeso far no errors, but not done yet so lets see what happens21:21
holocronkiko, roaksoax : I can't explain why, but it seems to be working now - I had both an ipv4 and an ipv6 subnet on that vlan. I removed the v6 subnet and removed and readded the dhcp service and it came up21:25
holocronperhaps it was because i did not have a dynamic range on the v6 network defined?21:25
PCdudekiko: ok that works too now! YEEEESSS! I think we can go back to openstack now?21:30
mupBug #1620838 opened: [2.1a2] Got more than one neighbor <MAAS:New> <https://launchpad.net/bugs/1620838>21:43
PCdudekiko: I will have to get some sleep now, I will see u tomorrow21:46
PCdudeit is still giving the same error... :(21:46
PCdudebut I think we are pretty close to the solution of it21:47
holocronI'd like to provide DHCP to an untagged internal OVS bridge, any clues here? I've got the OVS bridge created, but I'm unsure how to go about creating the proper configuration in MAAS21:56

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