/srv/irclogs.ubuntu.com/2018/02/15/#maas.txt

roaksoaxtych0: i'd file a bug and provide the version you are using. But otherwise i woudln't really know. I have not touched a UCS in a long time00:59
tych0roaksoax: ok, will do. we might send a patch in the future, but right now we have some other stuff to deal with00:59
tych0thanks for your help00:59
mupBug #1739262 changed: [2.4, snap] Snap fails to build in bionic due to "file paths in common" between parts <MAAS:Invalid by andreserl> <https://launchpad.net/bugs/1739262>01:41
hallynroaksoax: so to use manual provisioning, i hit 'commission' and then what, immediately reboot the node?13:46
roaksoaxhallyn: yes, you need to manually turn on/reboot the machine13:57
xygnalroaksoax:  if i restore prod database to a bare metal system to test,  do i need to change anything in the DB?17:09
roaksoaxxygnal: you shouldn't need to. https://docs.maas.io/2.3/en/manage-backup17:15
roaksoaxxygnal: but maas-regiond.conf should be able to log into the db17:16
mupBug #1749757 opened: [2.4] Spurious errors on machine configuration page for libvirt machines <MAAS:Triaged> <https://launchpad.net/bugs/1749757>17:34
hallynroaksoax: yes, my question is really how do i know when i should reboot it.  it doesn't tell me to in 'even'ts after i say 'commision',18:06
hallynand when i did it last night after hitting 'comissions' i didn't get any further events.18:06
hallyndo i need to time it somehow?18:06
roaksoaxhallyn: so manual power type just basically means that you will turn on the machines. so when you hit "commission" you need to turn on your machine and make sure it can/will pxe boot off MAAS18:19
roaksoaxhallyn: only then is when you will see events of the machine pxe booting18:19
hallynok - so while it may seem obvious to you, it would be helpful i think, when someone hits commision on a manual node, to pop up an event saying "pelase reboot the system"18:23
hallynso after that first reboot, it should ask me if i need to do anything?18:24
roaksoaxhallyn: sure, could you please file a bug for that ?18:25
hallynwill do thx18:26
hallynwell no i won't do until i have a mouse or a real browser where i don't have to tab through hundreds of links to get to 'report a bug' i guess18:50
mupBug #1674959 changed: [UI] Close Add Pod button is redundant on pods page <pod> <ui> <ux> <MAAS:Fix Released by newell-jensen> <https://launchpad.net/bugs/1674959>19:25
mupBug #1749782 opened: [2.4] Machine incorrectly shows "Locked" after failed commissioning <vanilla-transition> <MAAS:Triaged> <https://launchpad.net/bugs/1749782>19:34
hallynroaksoax: https://bugs.launchpad.net/maas/+bug/174979420:16
hallyntrying it out now20:16
mupBug #1749794 opened: help a manual user out <MAAS:New> <https://launchpad.net/bugs/1749794>20:17
catbusHi I followed the MAAS KVM pod tutorial to create the virsh pod on maas itself. I composed three machines, they don't show up on maas web ui, but they are listed as shut off in the virsh. I am on MAAS 2.3. is this a known issue?20:21
hallynNode commissioning failure - 'cloudinit' running modules for config :(20:23
yosefrow__catbus, I connected MAAS Pod to KVM, setup a bridge interface for virsh, and added VMs one at a time, set them to PXE boot first, and booted them. MAAS was able to  commission them like any other machine20:25
yosefrow__this was in version 2.220:25
yosefrow__maas was able to connect to my virsh and detect the status of all machines20:26
yosefrow__i think if the virsh is on the same node as MAAS, you need to set the address to qemu:///system20:27
catbusyosefrow__: I thought when I compose them via maas web ui, they will be automatically commissioned, so I expect maas to take care of the part of creating vm, setting it to pxe boot.20:28
yosefrow__catbus, I didnt use this feature. But MAAS had no problem automatically creating machines for me when juju requested them20:29
yosefrow__catbus, try this command: sudo -u maas virsh -c qemu:///system list --all20:29
yosefrow__what do you get?20:29
catbusit lists three machines in shutoff state.20:30
yosefrow__hmmm20:30
yosefrow__and they dont show up in the ui >>20:30
catbusthey are set to pxe boot.20:30
yosefrow__did you click the pod section ?20:30
catbusno they don't.20:30
yosefrow__or are you looking in the main node section20:31
catbusyes I look at the pod section. it says 0 composed machines.20:31
yosefrow__did you try restarting the maas service?20:32
catbusah, the image is still being imported. nm. let me wait till it's done and I will try again.20:34
catbusyosefrow__: all services are running fine, so unless there is any information that suggests something wrong with any of the services, I'd have them not touched.20:35
yosefrow__catbus, fair enough20:36
yosefrow__catbus, I was just curious if maas had been restarted since the time you added the pod20:36
catbusNo, it's just freshly built.20:37
yosefrow__ok, well I'm out of idea for now then20:37
yosefrow__I hope you figure it out20:37
yosefrow__I'll be watching to see what the solution is20:38
yosefrow__there are probably many people here with far more experience than me in MAAS20:38
hallynroaksoax: so a bunch of commisioning steps go fine, but then it says 'failed commisioning' with the only failed event being 'Node commissioning failure - 'cloudinit' running modules for config'20:45
hallynIf that doesn't ring a bell for you then i'll just say f it and wipe maas and setup a *)$&%)($*%)( pxe server20:45
roaksoaxhallyn: all commissioning & testing scripts pass ?20:56
roaksoaxhallyn: that would normally mean that something failed at the end of cloud-init processing and told maas about it20:56
roaksoaxhallyn: check /var/log/maas/rsyslog/<machine0-name>/<date>/messages20:57
roaksoaxand see if you can see the issue there?20:57
hallynchecking,20:58
hallynFeb 15 12:45:40 atom-lab-10 cloud-init[2067]: FileNotFoundError: [Errno 2] No such file or directory: 'ipmitool'20:59
roaksoaxhallyn: so that probably means that it cannot access the ubuntu archives to download software20:59
roaksoaxor whatever archive its configured20:59
hallynhm,20:59
hallynyeah it looks like it's having a bitch of a time getting out to the real world.21:00
hallynit seems to know about the proxy to use,21:02
hallyni'd like to set a specific ip address (that may be needed) but apparently it has to be commissioned first.21:03
hallynthat's idiotic21:03
roaksoaxhallyn: not at all, commissioning is hardware discovery/network/interface discovery/etc21:04
roaksoaxonce the machine has been commissioned21:04
roaksoaxit can be used for other purposes, like deployment21:04
roaksoaxif the machine commissions, you are saying its ready for prime time21:04
roaksoaxif it doesn't then there's a problem21:05
hallynhm?  no i'm saying i think the switch may enforce a specific ip address for the host21:06
hallynbut if that were the case it couldn't be reporting back the hardware list, so no21:06
hallyni'm at a loss21:06
hallynwhen the os comes up for commisioning, can i log in?21:07
hallynuser ubuntu password something?21:07
hallynjust wanna browse the network config21:07
hallynroaksoax: ignorant question: are the power mgmt api calls done by scripts?  can i edit them live?21:11
roaksoaxhallyn: yes you can, there's an option where you can enable SSH and will import your ssh key and prevent it from powering off21:25
roaksoaxhallyn: and no, they are python code21:25
hallynroaksoax: good enough :)21:32
hallynwhere are they?21:32
hallyni should have said 'interpreted', not 'shell' :)21:32
roaksoaxhallyn: /usr/lib/python3/dist-packages/provisioningserver/drivers/power/21:35
hallynroaksoax: thanks21:37
hallynso,21:37
hallyni changed the reserved dhcp range (made it smaller), now things aren't getting dhcp offers21:37
hallynknown bug or did i do it wrong?21:37
mupBug #1749812 opened: [2.4, UI] Device Discovery page needs fixing <vanilla-transition> <MAAS:Triaged by ya-bo-ng> <https://launchpad.net/bugs/1749812>21:41
roaksoaxhallyn: is dhcpd running ?21:59
hallynyeah - the table was full :(22:05
hallynroaksoax: thanks, it looks like it needs to straighten a few things out, i'll try again once that's done.22:05

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