/srv/irclogs.ubuntu.com/2018/08/06/#maas.txt

=== kklimonda_ is now known as kklimonda
bdxhello17:36
bdxI need to remove a stuck controller17:36
bdxI think I need to do it from the db directly as I cant seem to do it from the gui17:36
bdxor cli17:36
bdxI'm wondering what table I should be deleting the controller entry from?17:37
roaksoaxbdx: is this the master controller ?17:45
bdxno17:45
bdxits a non existing controller17:46
bdxthat wont leave17:46
bdxleaving my maas borked for some time now17:46
bdxI need to move forward today17:46
bdxI feel I need to just remove the entry from the nodes table17:46
roaksoaxbdx: why won't it just remove ?17:47
bdxits this https://bugs.launchpad.net/maas/2.4/+bug/177453817:48
bdxI've tried this https://paste.ubuntu.com/p/kvT75jKWVm/17:51
bdxbut it just doesnt seem to make sense17:51
bdxpostgresql seems to be telling there is an entry that exists that doesnt exist17:52
roaksoaxbdx: update the 'pool' to 'None' for that uuid and try deleting it17:59
roaksoax?17:59
bdxroaksoax: the 'pool_id' field in the 'maasserver_node' table?18:02
roaksoaxbdx: uhmm i guess so since you are looking at the db18:03
bdxroaksoax: where did you mean?18:04
bdxroaksoax: https://paste.ubuntu.com/p/B6hhKHn5RX/18:09
roaksoaxbdx: so what I saw the fix wasw doing was:18:13
roaksoax+    Node = apps.get_model('maasserver', 'Node')18:13
roaksoax+    Node.objects.exclude(node_type=NODE_TYPE.MACHINE).update(pool=None)18:13
bdxyeah I saw that too18:13
bdxdeleting the controller from the gui18:15
bdxI get a different result then I previously did18:15
bdxnow that the pool_id = NULL18:15
bdxit doesnt error anymore18:16
bdxbut now it just sits https://imgur.com/a/7HZacVx18:16
bdxlol18:16
bdxworse then an eerror18:16
bdxoh shoot18:16
bdxI spoke too soon18:16
roaksoaxbdx: may be trying to power off18:16
bdxits removed18:16
roaksoaxbdx: cool18:17
bdxyes18:17
bdxthats great18:17
bdxroaksoax: thanks for taking time18:17
bdxappreciated18:17
roaksoaxno prob, glad to help18:17
roneth99How to force MAAS to deploy an image no matter an existing image on the disk?18:29
roneth99It appeared that MAAS skipped deploying because it sees there is already an existing OS on the disk.18:30
roaksoaxroneth99: ??? MAAS doesn't skip deploying if there's a pre-installation. MAAS even tells the partitioner to wipe the superblock of all disks18:30
bdxgeh, seems I have a few dangling issues18:30
bdxhttps://imgur.com/a/nNL36fM18:30
bdxseems now the proxy and chrony wont start18:30
bdxroaksoax: starting to feel like I should switch back to the deb now, possibly these things are snap related?18:31
roaksoaxbdx: it would be matter of finding out why they dont start, but that said, should work unless something is conflicting e.g. other services inside the actual machine are owning those ports /18:32
roaksoax?18:32
roneth99roaksoax: Monitoring the console, I can see the "Ubuntu" image got laid out... Run its things.. and eventually kicking off Cloud-Init, then finally reboot the system. But the system came back with old OS....18:35
bdxhttps://paste.ubuntu.com/p/2n8TGczTv7/18:35
bdxno maas apt packages are installed https://paste.ubuntu.com/p/8TPhMs3hJT/18:36
bdxil pick at this for a while and see what I can come up with18:36
roneth99roaksoax: By the way, what did you mean by "pre-installation"... Where can I check that if that exists.18:36
roaksoaxbdx: check the logs on those services18:39
roaksoaxroneth99: the only thing i could think of why something like that would happen is that another disk has the installation and the system is booting into that other disk18:40
roaksoaxroneth99: but that would be weird, it would be helpful to have logs to better understand what's going on18:40
bdxmy  chrony.log is spammed with18:40
bdx2018-08-06T18:40:00Z chronyd version 3.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SECHASH +SIGND +ASYNCDNS +IPV6 -DEBUG)18:40
bdx2018-08-06T18:40:00Z Fatal error : Another chronyd may already be running (pid=1291), check /run/chronyd.pid18:40
bdxok18:40
bdxso that makes sense18:40
bdxwhat you said18:40
bdxahhh looks like I had dangling squid and chrony from the deb install18:43
bdxthat makes sense18:43
bdxok18:43
bdxthanks again!18:43
roneth99roaksoax: I am erasing the disk and will attempt another try.... If I see the same issue again, what logs would be usefule for you? maas.log, rackd.log, regiond.log ?18:51
xygn4lroaksoax: plans to retire IPMI and provide redfish for Dell? not comfortable using protocol with an open cve since 2003.  security teams REALLY hate it.22:06
roaksoaxxygn4l: as of today, we have no plans, unless of course it comes through customers22:37

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