/srv/irclogs.ubuntu.com/2014/02/26/#maas.txt

Lord_SetAre you able to comission MAAS nodes under one cluster controller and transfer ownership of them to another?00:05
bigjoolsLord_Set: no00:05
Lord_Set:( alright00:06
Lord_SetThanks for talking to Dustin by the way. We are going to setup up a phone meeting with him on Tuesday with the CEO and lead developer and myself (lead network and systems engineer) to talk about ubuntu, maas and juju.00:08
bigjoolsexcellent00:08
bradmanyone played with neutron much?  got openstack deployed with maas and juju and having weird neutron issues :-/00:12
Lord_SetWhich issues?00:14
Lord_SetI used Neutron with the Cisco Nexus API00:15
Lord_Seterr use00:15
bradmI'm seeing mtu issues when trying to boot juju on top of it, if I have the mtu on the neutron gateway set to 1500, instances won't boot - but if I drop the instance MTUs down to under 1500, say 1456, it works fine00:15
Lord_SetWhich network infrastructure do you have?00:15
bradmits all Cisco kit - we've moved most if if not all of it to Cisco Nexus stuff00:16
bradmthe Nexus switches are pretty new to us, this is the first thing we're using them for00:17
Lord_SetAlright. Was just trying to get an idea. I have never seen that issue before though I have some ideas of what may be causing it. Though are you using GRE or Vlans?00:18
bradmGRE, which is why we're playing with mtu00:19
Lord_SetI haven't had much luck with GRE and honestly not a fan of it00:19
bradmif I tweak the neutron dhcp agent to hand out mtu of 1456, things seem to work better, but it'd be much preferred if we didn't have to do it00:19
Lord_SetEspecially when using the Nexus switches00:19
bradmI was of the understanding that you needed a mtu of > 1500 on the physical boxes if you wanted to leave the instances VMs on 1500, due to the overhead of GRE00:20
Lord_SetCorrect00:20
Lord_SetGRE has a pretty beefy overhead and if you don't have good nics to offload you WILL have performance hits and issues00:20
bradmat this point we're not even seeing it working, let alone looking at performance00:21
Lord_SetWhat was your reasoning for using GRE?00:21
bradmhm, but if setting the neutron gateway to 1546 doesn't fix it, I wonder if that means something else in the chain isn't set right00:22
bradmLord_Set: wasn't really my choice, its a project I've been finishing off from someone else00:22
Lord_SetWithout seeing a network map and your configs and neurton configs it is hard to speculate.00:23
bradmyeah, fair enough, these things are pretty complex00:24
bradmbut at least it sounds like my base reasoning about the mtu is right, I just need to figure out where else in the chain it might be breaking00:24
Lord_SetI am super close to being a CCIE... Network engineering is my cup of tea with Cisco especially. I am sure I could help if I could get more info.00:25
bradmwhat sort of info would you need?00:25
Lord_SetCopies of the switch/router configs, a network map and your neutron config00:26
bradmthe physical ports aren't real interesting, they've just got a description and a switchport access vlan ###00:27
Lord_SetIs this a test, development or production network?00:28
bradmits going to be production once we get things going00:28
bradmbut I can mess around with settings right now00:28
Lord_SetAlright, well give this a try... make a /etc/neutron/dnsmasq-neutron.conf00:29
Lord_Setput a single line in there00:29
Lord_Setdhcp-option-force=26,140000:29
bradmyup, that works00:29
bradmwell, I have 1456, but that makes things move forward00:29
=== CyberJacob is now known as CyberJacob|Away
Lord_SetTry 1400 specifically.00:30
bradmoh, ok00:30
Lord_SetIt is what Cisco and Openstack are recommending for GRE it looks like now.00:30
bradmok, restarted neutron-dhcp-agent, and trying a bootstrap again00:30
Lord_SetIt seems higher mtu sizes are causing packet fragmentation00:31
Lord_Setyou will have to restart the neutron-server00:31
Lord_Setservice neturon-server restart00:31
bradmoh, the dhcp-agent has been sufficent in the past to make things work - maybe thats why it hasn't worked fully00:32
Lord_SetThere are other services that are dependent of neutron-server that have to be restarted as well00:32
bradmcurious, there's no neutron-server service on ubuntu00:34
bradmthere's neutron-dhcp-agent, neutron-l3-agent, neutron-metadata-agent, and neutron-plugin-openvswitch-agent00:34
bradmI'll just restart them all :)00:35
Lord_SetOdd, what version are you running?00:35
bradm2013.2.1-0ubuntu1~cloud0, which is havana00:36
bradmit seems about the same as with 1456, I'll keep trying it out00:43
Lord_SetAre you able to check port statistics or use wireshark and see if it is fragmenting the packets even though the MTU is lowered?00:50
bradmlet me see..00:53
bradmI have access to the switch, I'm just not a cisco type00:53
Lord_Setsh int INTERFACE00:56
Lord_Setyou should look for underruns, overruns, and other RX errors00:58
bradmnone of those00:58
Lord_SetThat is good00:58
bradmthere are some ''giants''00:58
Lord_SetIs this on a 1 or 10 gig interface?00:59
bradmand these are actually some of the few ports that aren't on the nexus switch yet00:59
bradmonly 1gig interfaces00:59
Lord_SetOk00:59
Lord_SetWell the giants are frames larger than 1518 bytes01:01
bradmah, which could be from GRE I'm guessing01:02
Lord_SetWhich model switch is that connected to currently?01:02
bradma 375001:02
bradmmore specifically, a WS-C3750X-48P according to the config01:03
Lord_SetWhat does "show system mtu" show you?01:03
bradmhah, everything is 150001:04
Lord_SetEven Jumbo frames?01:04
bradmyup01:04
Lord_Setwell then type "system mtu jumbo 9000"01:05
bradmhttp://pastebin.ubuntu.com/6997387/01:05
Lord_Setfor that to take effect you will have to reload the switch01:05
bradmthis switch does have some other stuff on it, I'd have to sort out a time to reload it01:05
Lord_Setremember to copy run start or wr mem after typing that01:05
Lord_SetAlright01:05
Lord_SetThat is very likely your issue01:06
bradmI'm thinking it'll be easier for me to get these ports moved over to the nexus switch01:06
Lord_SetMost likely01:06
bradmI'm just about as far away from these switches as is physically possible right now :-/01:06
Lord_Setheh01:06
Lord_SetI know the feeling01:06
bradmas in, they're on the other side of the world01:06
Lord_Setif you end up being able to reload the switch you should also set the 10/100 mtu to 154601:07
Lord_Setsystem mtu 154601:07
bradmbut that sure looks like it would explain why 1546 doesn't work on the neutron gateway01:07
Lord_SetYep01:07
bradmhow do you see mtu on the nexus switches?  could that be a problem too?01:08
Lord_SetIt is possible01:08
bradm? is my favourite cisco command. :)01:09
Lord_Setlol01:09
Lord_SetIt is pretty magical01:09
Lord_Sethttp://www.cisco.com/c/en/us/support/docs/switches/nexus-5000-series-switches/112080-config-mtu-nexus.html01:10
Lord_SetThat will work for other model nexus switches as well01:10
bradmhaha, I'd just found that page via google and was reading01:10
bradmit looks like everything is 1500 there as well, thats going to be the issue01:11
bradmsweet, thats great, thanks for all your help, I can work on fixing all that up01:11
Lord_SetNo problem! Glad to help01:12
bradmI really need to learn more Cisco side of things, I'm more of a linux sysadmin01:17
Lord_SetCisco is a whole world in itself... especially with the Nexus line of switches and can be pretty complex when you start tying storage networking into the mix.01:18
Lord_SetWith FCOE and FC in the same switch.01:18
bradmyeah, definately, and things start getting hazy when you are talking Neutron too, with all the SDN01:20
Lord_SetYep01:20
Lord_SetIf you can convince whoever you need to I would strongly suggest rebuilding your openstack cluster to vlan based instead of GRE01:21
Lord_Seta lot less headaches and super easy with the nexus api to automate everything01:21
bradmsounds like a good idea, I'll have a look into it01:22
bradmthe fact we're using juju charms to deploy openstack might be a factor too, since I think they only do openvswitch right now - no reason that couldn't (nor indeed, shouldn't) change though, just more work.01:25
Lord_Sethttp://blogs.cisco.com/datacenter/availability-of-the-nexus-1000v-cloud-networking-platform-for-openstack-unveiled-at-cisco-live/01:26
bradmhttps://wiki.openstack.org/wiki/Cisco-neutron01:27
bradmthe charm says it only supports openvswitch though01:30
Lord_SetInteresting.01:30
=== edu-afk is now known as edamato
=== mwhudson is now known as zz_mwhudson
=== zz_mwhudson is now known as mwhudson
svetmy5Hi! Gettng "TFTP prefix: unable to locate configuration file" on PXE boot of a node from maas. Please suggest the fix?02:46
bigjoolswhat state is the node in, in maas?02:47
bigjoolsif it's still "Ready" you can't boot the node yet, maas needs to start it02:47
=== edamato is now known as edu-afk
Lord_SetDoes MAAS support reporting to a log server?02:55
bigjoolsthe appserver logs are via Apache02:57
bigjoolsas in, the threads are Apache threads so whatever Apaches does for logging02:57
bigjoolsthe celery daemons and pserv are standalone logs, so I don't think compatible with a log server02:58
Lord_SetI was more looking at having the logging report to a log server such as Solarwinds02:58
Lord_SetSpecifically maas.log and pserv.log02:58
bigjoolsyeah it would be a good idea to use syslog and ship a configuration to have separated logs02:59
bigjoolsI don't know anything about Solarwinds02:59
Lord_Sethttp://www.solarwinds.com/kiwi-syslog-server.aspx03:00
bigjoolsok so it's syslog compatible03:06
Lord_SetAwesome03:06
svetmy5_Hi, if i missed this could you please repost, i'm getting tftp prefix: configuration file not found from on booting from maas?03:08
bigjoolssvetmy5_: [12:47:00] <bigjools> what state is the node in, in maas?03:14
bigjools[12:47:22] <bigjools> if it's still "Ready" you can't boot the node yet, maas needs to start it03:14
svetmy5_It doesn't get discovered by maas, i tried adding by mac address, so it's in commissioning state.03:15
bigjoolssvetmy5_: can you pastebin the exact log please03:16
Lord_SetAny reason why the maas.log would be empty?03:25
bigjoolsLord_Set: no errors to report I guess - what's in the apache logs?03:26
Lord_SetLet me check03:27
Lord_Sethttp://pastebin.ubuntu.com/6997820/03:29
bigjoolswell...03:32
bigjoolsthat's a new one on me03:32
bigjoolsjtv: any ideas? --^03:32
Lord_Setrofl just my luck03:32
* jtv looks03:32
bigjoolsreboot? :)03:33
Lord_SetAlready tried that.03:33
bigjoolsor restart Apache03:33
Lord_SetDone that too03:33
Lord_Setand every other associated process03:33
Lord_Seterr service03:33
jtvLooks as if either a stale lock hangs around, or we get stuck during startup.03:35
jtvYou may need to delete the lock file in /run/lock.03:35
jtvWe build the filename as '/run/lock/' + __name__, which I hope doesn't mean that the lock file will be called __main__.03:36
Lord_SetI will look now03:36
=== mwhudson is now known as zz_mwhudson
Lord_Setroot@EZ-GAR-MAAS-01:/var/log/apache2# ls /run/lock03:37
Lord_Setapache2                      EZ-GAR-MAAS-01.Dummy-1-3830     EZ-GAR-MAAS-01.MainThread-369103:37
Lord_SetEZ-GAR-MAAS-01.Dummy-1-1822  EZ-GAR-MAAS-01.Dummy-1-3831     maasserver.start_up.lock03:37
jtvThat's the one.03:37
jtvstart_up is the module name.03:37
Lord_SetOk. I will delete it.03:37
jtvOnce you're absolutely sure that you've killed the processes.03:37
jtvThis wasn't supposed to happen; we do register an atexit for cleaning up the lock.  But there's always a way to break it I suppose.03:38
bigjoolsstop Apache first03:38
jtvYes, good idea.  :)03:38
Lord_SetWell Apache started a lot faster that time03:39
Lord_SetAnd that fixed my PXE issue as well generating the config file03:41
Lord_Setlol and another odd one03:42
Lord_SetFQDN03:42
Lord_Set;; connection timed out; no servers could be reached.master03:42
bigjoolsgreat - is svetmy5_ your colleague?03:42
Lord_SetNope03:43
Lord_Seterr yes03:43
Lord_SetDidn't realize that was him. He changed his name.03:43
Lord_SetHe is our lead developer03:44
jtvI think I have an idea what that FQDN is...03:45
jtv"dig" prints its errors to stdout, not stderr.03:45
Lord_SetAhh ok03:45
Lord_SetI just found it amusing03:45
jtvThat it is, in a way.  I guess it must be the enlistment userdata calling "dig."03:46
jtvI'll file a bug.03:46
jtvFiled as bug 128496403:52
ubot5bug 1284964 in MAAS "Bad FQDN: ";; connection timed out; no servers could be reached.master"" [High,Triaged] https://launchpad.net/bugs/128496403:52
Lord_SetCool, thanks03:57
Lord_SetIf I specify the nameserver in the preseed instead of the string value should that fix it?03:59
jtvAFAICT this happens in the enlistment preseed...  I don't know if we ever re-generate the hostname.04:02
jtvBut if the nameserver isn't responding, then the hostname is going to be problematic one way or another.04:03
jtvAlthough yes, this does look as if it's ignoring any nameserver selection, doesn't it?04:04
Lord_SetIt does even though it is specified everywhere. I have also double checked all the config files just to make sure.04:04
Lord_SetThough I have queried the local nameserver built into maas and it responds04:05
Lord_SetI was thinking of setting the nameserver in the preseed_master04:06
Lord_Setd-i     netcfg/get_nameservers  string 10.10.10.5004:06
bigjoolsDHCP sets it, no need04:06
jtvMay have been a transient thing: maybe the nameserver was just restarting in response to a config change, or upgrading...04:06
bigjoolsjtv: we should be using reload, not restart, for that anyway04:07
bigjoolsfor this very reason04:07
jtvYup.  There may be some finicky details though about what can be done with a reload and what will require a restart.04:07
bigjoolsjtv: not that I know of! reload just tells it to re-read confug04:08
jtvYes, what I mean is that some daemons have some settings that they can't change with a mere reload.04:08
Lord_SetThere are a few things I have had to consistently change in configs to get some stuff working. For example the filename being specified in the dhcpd.conf as pxelinux.004:09
Lord_SetUncommenting the tftp lines in the pserv.yaml as well04:10
bigjoolsjtv: true, but I think named is designed so reloading and/or using rndc covers everything, as it's a sufficiently high-profile daemon04:10
bigjoolsLord_Set: you should not have to do any of that, I am surprised.  It works OOTB for me04:11
Lord_SetOdd04:11
Lord_SetFrom a fresh install of ubuntu server and then installing the MAAS and Juju packages or doing a install from the media and choosing to make the server a MAAS server?04:11
bigjoolsinstallation of packages - but the latter does the same thing AFAIK04:12
bigjoolsyou need new packages I expect04:13
Lord_SetI just rebooted the server04:13
bigjoolsif you install from 12.04 media, then ... earrghhhh04:13
Lord_SetBeen installing from 13.10 media04:13
bigjoolsphew04:13
Lord_SetI will recheck versions once it is back up.04:14
Lord_SetThere aren't any maas or juju updates available to me so I am guessing I am current.04:29
Lord_SetFYI jtv and bigjools, setting the nameserver in the preseed_master worked04:36
bigjoolshuh04:37
bigjoolssubmit a patch!04:37
Lord_Setheh, I had to manually add the nameserver04:37
Lord_SetNot much of a patch04:37
jtvSo you bypassed the one offered by DHCP?04:38
bigjoolsmaybe the installer ignores it04:39
Lord_SetDHCP wasn't passing it's configured nameserver to the preseed for some reason04:39
bigjoolsit doesn't go to the preseed, it ends up in the dhcp client, which is supposed to set the resolv.conf, or dnsmasq config if dnsmasq being used04:40
Lord_Setin the preseed_master what is the purpose of the d-i     netcfg/get_nameservers  string then?04:40
Lord_SetAlso, which log file would have ipmi errors in it?04:41
Lord_SetIs MAAS using ipmitool in the background or doing custom calls via XML?04:42
bigjoolsI don't know what d-i is using to set the nameserver, that setting might be an override04:42
bigjoolsit spawns ipmitool04:42
Lord_SetOk04:42
bigjoolsall from a template you can customise04:43
Lord_SetI have odd issues with it and getting it to work with our mass amounts of HP DL360 and 380 G5 servers.04:43
Lord_SetThey have ILO version 2 which supports IPMI version 2 I believe.04:44
Lord_Sethttps://bugs.launchpad.net/maas/+bug/108616204:48
ubot5Ubuntu bug 1086162 in MAAS "IPMI based power management default to IPMI 1.5 based authentication" [High,Triaged]04:48
Lord_SetSeems to be the same bug04:48
bigjoolssomeone is fixing that as we speak!04:48
Lord_Set:)04:49
jtvIn fact I approved the MP earlier.04:51
jtvMeanwhile, bigjools, you might like https://code.launchpad.net/~jtv/maas/use-mock-matchers/+merge/20827204:51
bigjoolsjtv: \o/04:52
jtvIt's only a start.  I count 90 more instances of '\.assert_' after this.  :(04:52
bigjoolsjtv: I'll just fix up my branch and land it04:53
jtvGreat, thanks.04:54
jtvReally have to go at these things, or you get the worst of both worlds.04:54
bigjoolsjtv: zoiks I completely forgot the docstrings on two classes04:54
jtvMeanwhile, there's a whole bunch of new CSS lint.  No idea where it came from.  :(04:54
jtvI thought you left the docstrings out deliberately.04:55
jtvIt slowed me down a bit in reading, but not very much.04:55
jtvAlthough obviously these things do add up.04:55
bigjoolsjtv: no, sorry, I fucked up04:56
jtvTsk.04:56
Lord_SetHave you run any tests to see about the max number of servers able to reliably commission and install at once?05:12
Lord_Sethttp://pastebin.ubuntu.com/6998135/05:26
Lord_SetAnother interesting error. Takes place after deleting a node, powering the server on and letting it preseed again.05:26
bradmLord_Set: that's generally what I see if I let the server try and enlist again05:36
Lord_SetIt looks like once you delete a node it isn't removing the hostname from the database for some reason05:37
Lord_Setugh, working through ipmi issues for the lose05:49
Lord_Setbradm, http://pastebin.ubuntu.com/6998208/05:56
Lord_SetLooks like it is an issue with the dhcp host map05:56
bradmLord_Set: huh, sure does06:05
Lord_Setbigjools, are you still around?06:32
Lord_Setjtv welcome back07:06
Lord_SetHave you seen any ilo/ipmi issues where MAAS won't properly create it's own maas account in the ilo/ipmi? It sure thinks it does but doesn't generate any errors in any logs about it.07:07
jtvDoesn't ring a bell, no.07:08
Lord_SetOn one server it isn't even pulling the ipmi information during the enlist... just leaves it blank07:09
=== CyberJacob|Away is now known as CyberJacob
Lord_SetIpmipower seems super picky...07:20
Lord_SetHopefully that team plans on working on it's issues soon07:21
bigjoolsLord_Set: I am back07:23
bigjoolsso let me look at your questions in order07:23
bigjoolsno, we've not done that concurrency testing.  We suspect it will be limited to bandwidth required for tftp/broadcast traffic on a LAN segment07:24
bigjoolsumm I've never seen that node deletion error and I do A LOT of deletion + re-enlist cycles.  Weird.07:25
bigjoolsLord_Set: I've seen plenty of problems with creating ilo accounts.  We have a bunch of fixes landing/about to land in trunk for that, it's much more reliable now.07:26
Lord_SetAny way I can get my hands on those fixes now? ;)07:27
bigjoolsand yes ipmi is a PITA and quite flakey sometimes07:27
bigjoolssure, use the daily PPA :)07:27
Lord_SetBecause this is being a thorn in my side!07:27
Lord_SetI will do so for sure07:27
bigjoolswhat hardware were you using again?07:27
Lord_SetAll HP DL360 and DL380 G5s07:27
bigjoolsproliants?07:27
Lord_SetYep07:27
bigjoolsI think there's a kernel bug when inserting the ipmi module07:28
Lord_SetThey use iLo 2.0 which supports IPMI 2.0 when updated to their latest firmware.07:28
bigjoolsgo into the enlist_userdata preseed and uncomment the IPMI_SI_PARAMS setting07:28
Lord_SetAlright07:28
bigjoolsI also saw some reports of the latest ilo firmware being rather buggy07:28
Lord_SetIt is a lot better than having IPMI 1.007:29
bigjoolsmy proliants that I test with are 1.2 and seem ok, someone else on 1.3 is having trouble07:29
Lord_SetThey skipped 1.507:29
Lord_SetI have a lot of Dell 1950 G3, 2950 G3 and R805s that I will test with tomorrow.07:30
Lord_SetAll with DRAC07:30
bigjoolsk07:30
bigjoolswould be nice feedback for us!07:30
Lord_Setglad to help07:30
Lord_Setyour project is fueling the backbone of what this startup is doing... well we plan to do once we get further into development07:31
bigjoolssweet07:40
bigjoolsLord_Set: this could be your duplicate hostname bug https://bugs.launchpad.net/ubuntu/+source/maas-enlist/+bug/108166007:42
ubot5Ubuntu bug 1081660 in maas-enlist (Ubuntu) "If maas-enlist fails to reach a DNS server, the node will be named ";; connection timed out; no servers could be reached"" [Critical,Triaged]07:42
* bigjools EODs07:42
Lord_SetLooks like it07:43
Lord_SetOr really close. I will have to go through the bug report to be sure.07:43
rvbaLord_Set: basically if you have a node which has that name because the enlisting nodes can't reach a DNS server, if you try to enlist a second node (while still having the DNS problem) you'll have the {'hostname': [u'Node with t07:46
rvbahis Hostname already exists.']} error07:46
Lord_SetYeah I found the issue was becase of the preseed dns problem. Once I manually set the preseed nameserver the issue disapeered.07:47
rvbarbasak: Hi there, I've got a question for you about uvtool: how can I get uvtool to use a particular version of Ubuntu, for instance Trusty beta1?07:47
Lord_SetPXE booting with 10g nics kicks ass especially when installing to 6 drive raid 10 SSD arrays07:58
Lord_Setbigjools, seen this one before? Happened after updating to daily ppa08:12
Lord_Sethttp://pastebin.ubuntu.com/6998610/08:12
bigjoolsLord_Set: are you using trusty?08:22
bigjoolsdaily only works on trusty08:22
* bigjools away08:22
Lord_SetThat would explain it... Will upgrade to trusty now.08:23
=== CyberJacob is now known as CyberJacob|Away
Lord_SetHow do you reset a MAAS password in trusty?09:33
Lord_SetI don't see the command under maas anymore09:34
jpdsCan someone tell me how I would manually fetch a file like pxelinux.cfg/01-00-25-90-7e-9e-20 ?10:02
jpdsI need to inspect what it contains.10:05
rbasakrvba: off the top of my head: uvt-simplestreams-sync --source http://cloud-images.ubuntu.com/daily release=trusty label=beta1 arch=...10:32
rbasakrvba: then: uvt-kvm create ... release=trusty label=beta1 arch=...10:32
rbasakrvba: "uvt-simplestreams-query" can be used with the same filter arguments to show you what you have. If you have arguments that narrow this list down to one, then uvt-kvm should be able to use it.10:32
rvbarbasak: thanks.  So label=beta1 is just a simplestreams filter right?10:42
rbasakrvba: right10:42
rvbaarges: that means we can use that for the ephemerals too.10:42
rvbaarges: oops, sorry.10:42
rvbaI meant allenap.10:42
jpdsrvba: Any idea about me?10:43
rbasakrvba: oh, one error. You don't need --source. Beta images are in the "released" stream, not the "daily" stream, and the former is the default.10:43
rvbarbasak: okay10:44
rbasakhttp://cloud-images.ubuntu.com/releases/streams/v1/com.ubuntu.cloud:released:download.json shows you what you can filter on. "ftype=tar.gz" is automatically added by uvtool, so it gets the right download type.10:44
rvbajpds: I'll get back to you in a sec…10:44
rvbarbasak: thanks, that's very useful.10:47
jpdsThis is also rather interesting: http://pastebin.ubuntu.com/6999107/10:47
rbasakErr, "ftype=disk1.img" is automatically added by uvtool. That's the right download type :)10:53
rbasaknp!10:53
rvbajpds: If you're using a recent version of MAAS, the easiest way to see that is to raise the log level in /etc/maas/maas_local_settings.py to "DEBUG".  Then /var/log/maas/maas.log will contain the content of all the requests that go through.10:56
jpdsrvba: So, /etc/maas/maas_local_settings.py; DEBUG = True.11:04
jpdsOh, log: level: DEBUG.11:04
rvbajpds: yeah, LOGGING_LEVEL = 'DEBUG'11:05
rvbaThen you need to restart apache2.11:05
jpdsrvba: Well, bizarrely, all maas.log shows is an OAuthUnauthorized error.11:14
jpdsrvba: Right, it's logging things to every file, but maas.log.11:16
rvbao_O11:16
jpdsBut it's certainly running.11:18
rvbajpds: what version of MAAS are you using.11:19
rvba?11:19
jpdsrvba: cloud-archive:tools.11:19
rvbaAh, that's why you're not seeing the content of the requests.11:19
jpdsNooo. :(11:21
rvbajpds: Let me think about another way…11:25
rvbajpds: something you can do is thiss:11:29
rvbathis*11:29
rvbaLook in /var/log/apache2/access.log for requests like:11:31
rvbahttp://localhost/MAAS/api/1.0/pxeconfig/?cluster_uuid=0c6ea249-fa34-45e1-bbee-706695cafb41&local=192.168.21.5&mac=00-e0-81-d1-b1-47&r11:31
rvba(But with your MAC address, of course)11:31
rvbaThen use wget to reproduce the exact same request.11:31
rvbaIt won't give you the complete template, but it will contain all the elements used by the provisioning server to produce the template.11:31
rvbaBasically the tftp server queries the MAAS server to get all the info it needs to produce pxelinux.cfg/01-00-25-90-7e-9e-20.  By doing what I described you recreate the request made by the tftp server to the MAAS server.11:32
jpdsOh, pxeconfig instead of pxelinux.11:33
jpdsThat's why I couldn't find anything in the apache logs.11:34
Lord_SetI really need to sleep but keeping running into bugs and issues :(11:37
Lord_SetAny of the MAAS team available?12:08
jpdsrvba: Yeah, we need the actually pxelinux input...12:52
jpdsAnyway I can fake the TFTP request?12:52
rvbajpds: I've never done it so you'll have do some research about that but I don't see why you couldn't.12:55
Lord_Setrvba you are a MAAS dev correct?13:01
jpdsrvba: http://pastebin.ubuntu.com/6999651/13:07
jpdsWell, clearly I have a different remote= in the Apache logs.13:09
jpdsLord_Set: It's generally better if you ASK the question.13:10
Lord_SetI am having issues with the enlistment detecting ILO/IPMI... I am currently running trusty 14.04 with the daily ppa as well.13:16
larry_hello13:35
jamespageLord_Set, it would be so much easier if all server manufacturer did the same thing13:41
Lord_SetJames I concur13:42
jamespageLord_Set, is maas not able to detect/configure ipmi during enlistment13:42
jamespage?13:42
Lord_SetCorrect13:42
Lord_SetIt was doing it fine with 13.1013:42
jamespageLord_Set, does it set any data at all?13:42
Lord_SetNope13:42
jamespageurgh - that's bad13:42
Lord_SetYeah :(13:43
Lord_SetI am going to have to delve deep into it later with bigjools and jtk when they are back around. Or whatever devs are available.13:43
jamespageLord_Set, please raise a bug with details about what versions you are using and what type of server you are using13:43
jamespagenice thing about bugs are they are async :-)13:44
Lord_SetYeah I will.13:44
Lord_SetThough as a bonus MAAS without doing anything detects my broadcom 10g dual port nics.13:46
rvbaLord_Set: Yes I am.  I'd be happy to help you but I'm pretty busy this afternoon.  If you encounter problems, please file bugs and we'll get back to you asap.13:57
rvbarbasak: any idea what I'm doing wrong? http://paste.ubuntu.com/6999893/14:05
rbasakrvba: have you synced those things? Sorry if I wasn't clear - query queries what is synced locally. To query the remote end, use sstream-query (simplestreams package)14:06
rvbarbasak: ah!  That's it, I thought it was querying the remote end.  Thanks!14:07
rbasakSorry (again) for the lack of documentation. I was going to hide in a corner and work on that this afternoon actually.14:08
rvbaCool :).14:08
rvbaHum, gpg error now… http://paste.ubuntu.com/6999909/14:12
rvbarbasak: sorry to bother you again but any idea if I need to fiddle with gpg key before using sstream-query? ^14:16
rvbarbasak: ah! nm, I got it.14:16
=== CyberJacob|Away is now known as CyberJacob
=== cmagina_ is now known as cmagina
=== zz_mwhudson is now known as mwhudson
=== smoser` is now known as smoser
=== CyberJacob is now known as CyberJacob|Away

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