=== kklimonda_ is now known as kklimonda [17:36] hello [17:36] I need to remove a stuck controller [17:36] I think I need to do it from the db directly as I cant seem to do it from the gui [17:36] or cli [17:37] I'm wondering what table I should be deleting the controller entry from? [17:45] bdx: is this the master controller ? [17:45] no [17:46] its a non existing controller [17:46] that wont leave [17:46] leaving my maas borked for some time now [17:46] I need to move forward today [17:46] I feel I need to just remove the entry from the nodes table [17:47] bdx: why won't it just remove ? [17:48] its this https://bugs.launchpad.net/maas/2.4/+bug/1774538 [17:51] I've tried this https://paste.ubuntu.com/p/kvT75jKWVm/ [17:51] but it just doesnt seem to make sense [17:52] postgresql seems to be telling there is an entry that exists that doesnt exist [17:59] bdx: update the 'pool' to 'None' for that uuid and try deleting it [17:59] ? [18:02] roaksoax: the 'pool_id' field in the 'maasserver_node' table? [18:03] bdx: uhmm i guess so since you are looking at the db [18:04] roaksoax: where did you mean? [18:09] roaksoax: https://paste.ubuntu.com/p/B6hhKHn5RX/ [18:13] bdx: so what I saw the fix wasw doing was: [18:13] + Node = apps.get_model('maasserver', 'Node') [18:13] + Node.objects.exclude(node_type=NODE_TYPE.MACHINE).update(pool=None) [18:13] yeah I saw that too [18:15] deleting the controller from the gui [18:15] I get a different result then I previously did [18:15] now that the pool_id = NULL [18:16] it doesnt error anymore [18:16] but now it just sits https://imgur.com/a/7HZacVx [18:16] lol [18:16] worse then an eerror [18:16] oh shoot [18:16] I spoke too soon [18:16] bdx: may be trying to power off [18:16] its removed [18:17] bdx: cool [18:17] yes [18:17] thats great [18:17] roaksoax: thanks for taking time [18:17] appreciated [18:17] no prob, glad to help [18:29] How to force MAAS to deploy an image no matter an existing image on the disk? [18:30] It appeared that MAAS skipped deploying because it sees there is already an existing OS on the disk. [18:30] roneth99: ??? MAAS doesn't skip deploying if there's a pre-installation. MAAS even tells the partitioner to wipe the superblock of all disks [18:30] geh, seems I have a few dangling issues [18:30] https://imgur.com/a/nNL36fM [18:30] seems now the proxy and chrony wont start [18:31] roaksoax: starting to feel like I should switch back to the deb now, possibly these things are snap related? [18:32] bdx: 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] ? [18:35] roaksoax: 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] https://paste.ubuntu.com/p/2n8TGczTv7/ [18:36] no maas apt packages are installed https://paste.ubuntu.com/p/8TPhMs3hJT/ [18:36] il pick at this for a while and see what I can come up with [18:36] roaksoax: By the way, what did you mean by "pre-installation"... Where can I check that if that exists. [18:39] bdx: check the logs on those services [18:40] roneth99: 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 disk [18:40] roneth99: but that would be weird, it would be helpful to have logs to better understand what's going on [18:40] my chrony.log is spammed with [18:40] 2018-08-06T18:40:00Z chronyd version 3.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SECHASH +SIGND +ASYNCDNS +IPV6 -DEBUG) [18:40] 2018-08-06T18:40:00Z Fatal error : Another chronyd may already be running (pid=1291), check /run/chronyd.pid [18:40] ok [18:40] so that makes sense [18:40] what you said [18:43] ahhh looks like I had dangling squid and chrony from the deb install [18:43] that makes sense [18:43] ok [18:43] thanks again! [18:51] roaksoax: 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 ? [22:06] roaksoax: 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:37] xygn4l: as of today, we have no plans, unless of course it comes through customers