/srv/irclogs.ubuntu.com/2014/07/21/#maas.txt

=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
jtvThe CI has been seeing import failures because /usr/lib/syslinux/pxelinux.0 did not exist... missing dependency?07:53
rvbajtv: the maas-test CI job is failing because it expects a 1.6 or trunk-based package and all we have in Utopic is 1.5.07:59
jtvCan we fix that?08:01
rvbaAs soon as 1.6 will be published in Trusty, the problem will go away.  The best fix, I think, is to change the CI job so that it can take a PPA argument and use the MAAS package from that PPA.08:03
rvbaThis way we can get the CI job to use the package that is our "target package" instead of using whatever is in the archive at the time.08:04
rvbajtv: would you mind having another look at https://code.launchpad.net/~rvb/maas/event-model/+merge/227156 ?  The code has changed significantly after my discussion with Julian but I've addressed your comments that where still valid after I changed the code.08:08
jtvOK, having a look.08:08
rvbaTa.08:09
rvbaallenap: reviewed the 'fascist' branch ;)09:24
allenaprvba: Thanks!09:26
rvbaallenap: jtv: any idea why the CI is failing with "No module named bson"? http://paste.ubuntu.com/7829493/10:17
rvbaDid we add the bson dependency recently?10:17
rvbaIt seems to me we've been using bson for quite some time.10:18
rvbaHum, looks related map_enum being moved to provisioninserver…10:21
allenaprvba: Gosh, no. I’ve not changed anything in that area recently, I think.10:50
jtvrvba: looks like newell used the same decoders as allenap, but this time it led to trouble...11:07
jtvWhy does a function called node_exists need bson..?11:09
jtvAh, so it queries the API for a node and, probably just for belt-and-braces, decodes the response from either json or bson as appropriate.11:10
jtvI could imagine this adding the bson dependency to a package that didn't need it before, but isn't this one of those cases where we have all our packages' dependencies installed?11:13
jtvPardon my ambiguity.11:13
jtv"Isn't the failure in a situation where bson would be installed even if it's a dependency for a _different_ maas package?"11:13
allenapYeah. It’s odd. There are two different bson packages though, and we need one in particular. I wonder if it’s picking up the wrong one…11:15
rvbaI /think/ the problem is not in the package but in how the CI builds the package.11:16
jtvAh, mixed install mechanisms again...11:17
rvbaallenap: I've got a weird test failure that seem related to twisted getting in the way…12:08
rvbaallenap: the pserv tests fail with http://paste.ubuntu.com/7829947/12:09
rvba(On my event-rpc-utility branch)12:09
rvbaallenap: what's weird is that the tests I added in this branch pass in isolation… but fail when running the complete test suite.12:10
rvbaallenap: I suppose I'm doing something wrong here: I'm importing "from maasserver.testing.factory import factory" from inside the pserv code.  But how can I initiate my objects otherwise?12:16
allenaprvba: You can’t and you shouldn’t.12:23
allenaprvba: Verify that the call is being made correctly according to the specifications in p.rpc.region, but have a stub/fake response.12:24
rvbaallenap: right, I was creating real nodes but this is already a test that uses a fake client so I guess I don't need real nodes…12:25
allenaprvba: Nah :)12:26
rvbaallenap: what's funny is that the tests as they are now pass in isolation.12:26
allenaprvba: Perhaps because they're not running using a Django-derived test case, or using Django’s runner; those do some bookkeeping and tidying-up with regards to the database and stuff.12:29
allenaprvba:12:30
allenaprvba: If you have a moment could you look at my additions to https://code.launchpad.net/~allenap/maas/rpc-call-list-operating-systems/+merge/227117?12:30
allenapthen I’ll be 100% on power control :)12:30
rvbaallenap: cool :).  I'll have a look at your branch in a sec.12:31
allenaprvba: Thanks for that review. Here’s the first for power: https://code.launchpad.net/~allenap/maas/rpc-power-remove-celery-vars/+merge/22755013:07
rvbaallenap: \o/13:07
blake_rallenap: is the rpc for operating systems wired in?13:27
allenapblake_r: Not 100%. Are you blocked?13:35
blake_rallenap: one the license-key-view and ubuntu-release-simplestreams13:36
allenapblake_r: Okay. I’m going to juggle finishing that with rvba’s demands; he can hassle me in my timezone :)13:37
* allenap goes to collect kids from school.13:37
=== jpds_ is now known as jpds
jseutterI have some computers that stop at the grub boot prompt after installing with maas.  A third computer with the same hardware boots just fine.  Does anyone know where I should look for issues?15:25
bigjoolsjseutter: can you photo the screen and paste it so we can see?15:28
bigjoolsrvba: what say you to this? https://code.launchpad.net/~jason-hobbs/maas/allow-hostname-change-while-allocated/+merge/22737215:28
jseutterbigjools: yes, I'll do that in a few15:29
rvbabigjools: looks like we had very good reasons to prevent the host from being renamed while its in use… I'm trying to see if the assumptions on which the original code was based have changed…15:31
bigjoolsrvba: my thoughts too15:32
bigjoolsjuju snafus15:32
rvbaYeah15:32
rvbajhobbs: Hi there.  Looking at lp:~jason-hobbs/maas/allow-hostname-change-while-allocated, wonder why you seem confident that Juju won't be utterly confused by a node changing its name in flight?15:34
jhobbsrvba: i'm not at all confident15:34
rvbajhobbs: Then you like to gamble :)15:34
jhobbsrvba: but why would you change a node's hostname if it will confuse juju?15:34
jhobbsrvba: if you run a DNS server, you know changing hostname config for running systems might break them, so you don't do it15:35
bigjoolsit could also confuse the node15:35
bigjoolsI suppose we can allow people to footgun and let them pick up the toes later15:35
jhobbsbigjools: rvba: well the use case here is 1) acquire node 2) set hostname 3) start node15:39
rvbajhobbs: MAAS sort of works on the contract that once a node is allocated, it's under someone else's control.  I think this also means that MAAS sorts of guarantees that the information about the node (most notably DNS info) won't be changed.15:39
jhobbsrvba: is that how other cloud providers work?15:39
rvbajhobbs: I understand that, but I don't think we should remove the restriction in question before we clearly distinguish between acquired+off and acquired+started15:40
jhobbsi setup a digital ocean system recently; i started the system, had it a couple of days, then configured dns for it15:40
rvbajhobbs: trying to work out juju's exact expectations now…15:43
jhobbsrvba: juju isn't the only consumer though15:44
rvbajhobbs: indeed.  But it's an important one.15:44
rvbajhobbs: this restriction exists mostly because of Juju.15:44
jhobbsrvba: you can always just not change your hostnames if you're running juju - it only happens if someone asks it to, not automatically15:44
rvbajhobbs: true15:46
jhobbsrvba: is acquired+stopped vs acquired+start tracking something being worked on already?15:46
rvbajhobbs: no15:47
rvbajhobbs: I guess we want 3 states: acquired (i.e. not started), deploying (being installed) and deployed (acquired+started=in use)15:48
rvbajhobbs: adding the distinction deploying vs deployed is part of the robustness work.15:49
jhobbsdo deploying and deployed apply to commissioning also?15:50
rvbaNot really, 'commissioning' already is an "in progress" state.15:50
jseutterbigjools: pic of grub prompt here: http://imgur.com/Kdaq64G15:52
jseutterbigjools: I'm surprised you're awake..15:52
bigjoolsjseutter: me too :)15:52
bigjoolsjseutter: landed in UK this morning15:52
jseutterbigjools: ah!15:53
bigjoolsjseutter: I am afraid I have NFI what is wrong there.  Perhaps one of jhobbs, blake_r or roaksoax_ might15:53
jseutterbigjools: ok, well thanks for having a look.  :)  In the meantime I'll dig through the bios on these machines and look for differences.15:54
jhobbsi've never seen that error15:55
jhobbs"attempt to read or write outside of disk `hd0`15:55
bigjoolsjseutter: did you install with curtin or d-i?15:55
jseutterd-i.   I might be misremembering, but I think curtin just black-screened for several hours until I gave up.15:56
bigjoolsummm15:56
bigjoolsis the disk partitioned already?15:57
jseutterbigjools: yes15:57
bigjoolsdoes it have any of them marked for raid?15:57
blake_rjseutter: this might help you15:59
blake_rjseutter: http://askubuntu.com/questions/397485/what-to-do-when-i-get-an-attempt-to-read-or-write-outside-of-disk-hd0-error15:59
jseutterbigjools: there are several disks in the raid, configured as one virtual disk on the raid card.  What do you mean by marked for raid?15:59
bigjoolsjseutter: I think it's a bug in the installer, I have vage recollections of seeing this even outside of maas once16:00
bigjoolsvague, even16:00
jseutterbigjools: hm, I'm just looking at the system that booted successfully, and the drac raid section says there are no disks in the system.  I have somewhere to start digging16:02
mthaddonI'm trying out MAAS on a machine. It's a region and cluster controller (trusty) and I have a VM I'm trying to add as a node. It's currently stuck in "Commissioning" status and if I try to either commission or start it from /MAAS/nodes/ I get: The action "..." could not be performed on 1 node because its state does not allow that action.16:02
mthaddonany ideas what I'm missing? I don't see anything useful in logs in /var/log/maas16:02
jseutterblake_r: thanks16:02
bigjoolsmthaddon: two things to check16:03
bigjools1. did you define the power details correctly?16:03
bigjools2. is the cluster controller celeryd running?16:03
bigjoolsdamn, we need a faq16:03
bigjoolsand hi mthaddon btw :)16:03
mthaddonbigjools: o/16:04
mthaddonbigjools: power address is "qemu:///system" and I've confirmed I can run "virsh --connect qemu:///system list" as the maas user16:04
mthaddonbigjools: power ID is "test" and the name of the virsh instance from virsh list --all is "test"16:05
bigjoolsmthaddon: did you follow this http://maas.ubuntu.com/docs/nodes.html#virtual-machine-nodes16:05
mthaddonI did, yep16:05
bigjoolscol16:05
bigjoolscool16:05
bigjoolsblast this keyboard, it's going in the bin16:06
mthaddonI see celery processes running16:06
bigjoolsif you look in its log /var/log/maas/celery.log, do you see a line with power_on around the time you added the node?16:07
mthaddonbigjools: http://paste.ubuntu.com/7831026/16:07
bigjoolsmthaddon: aha16:08
bigjoolssadly, I think you're using an old version that lacks debugging info16:08
mthaddonbigjools: an old version? this was a clean install over the weekend!16:08
bigjoolsof which maas version?16:08
mthaddonwell, of trusty - maas appears to be 1.5.2+bzr2282-0ubuntu0.216:09
bigjoolsok16:09
mthaddonis that "old"?16:09
bigjoolsummmmm you can get past this by "powering up" the VM manually for now16:09
bigjoolsnot massively, but I am surprised the task logging isn't working :(16:10
mthaddonpresumably I'd need to tell it to connect to the MAAS cluster somehow? I'm not doing DHCP or DNS via MAAS16:10
bigjoolsand then you'll have to try and re-create what the power template is doing to start the node up to work out what's wrong16:10
bigjoolsif you're not managing dhcp, then presumably you've configured another DHCP with the next-server pointing at maas?16:11
mthaddonI haven't - if that's the next step, sounds like I need to do that16:11
bigjoolsyeah16:12
bigjoolsmthaddon: http://maas.ubuntu.com/docs/configure.html#manual-dhcp-configuration16:13
mthaddonk, thx16:14
=== matsubara is now known as matsubara-afk
=== roadmr is now known as roadmr_afk
=== CyberJacob|Away is now known as CyberJacob
=== roadmr_afk is now known as roadmr
=== matsubara-afk is now known as matsubara
=== kentb is now known as kentb-out

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