/srv/irclogs.ubuntu.com/2018/05/09/#maas.txt

mupBug #1770072 opened: exiting "failed to enter rescue mode" should (optionally) not reboot <MAAS:New> <https://launchpad.net/bugs/1770072>05:05
tosarajai'm trying to deploy with maas-cli a custom debian i've uploaded. What would the value be in "distro_series"? No matter what i try there, it doesn't seem to find the custom uploaded image. Can't they be deployed via maas-cli?05:56
mupBug #1770091 opened: Special filesystems added twice on deploy <MAAS:New for ack> <https://launchpad.net/bugs/1770091>06:59
=== frankban|afk is now known as frankban
tosarajaand seems the raw file i downloaded from debian needs to be comprssed before uploading as maas expect it to be a tarball08:18
tosaraja(and still have to deploy it from the gui)08:18
tosarajabut next problem in my hands is that debian doesn't have dpkg and maas fails deployment08:18
roaksoaxtosaraja: debian is not suported08:21
tosarajaroaksoax: that's it then... guessi have to go back to trying centos08:21
roaksoaxtosaraja: and if your image doesn't have dpkg, that's a problem in the image, not MAAS08:22
tosarajayeah, agreed there08:22
tosarajatried just downloading the stock raw image from debian if would have worked.08:22
roaksoaxthat's strange though, that the image doesn't have dpkg in it08:23
tosarajaaaah not necessarily btw08:23
tosarajaStderr: chroot: failed to run command 'dpkg': No such file or directory08:23
tosarajacould that error come from dpkg not finding what it is looking for08:23
tosarajayeah the command is most likely unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp_li3uyg8/target', 'dpkg', '--print-architecture08:24
tosarajaso it is dpkg it can't find08:25
roaksoaxyeah, no idea unfortunately. I've never tried to deploy debian08:28
roaksoaxwhy not just use ubuntu ?08:28
tosarajathey tend to crash too often. either mysterious errors while forking a process or nfscache just hitting a known bug that hasn't been fixed. We've tried using 16.04, 17.04, 17.10 and now we should try 18.04, but it didn't start deploying right of the bat so to say08:32
tosarajasaw that someone had figured out how to upload debian into maas... yeah that went ok after a few hours of figuring out the tarball issue and the fact that it the maas-cli apparently doesn't know how to deploy them. i guess it's time to pick the fight between centos 7 and 18.04 now08:33
roaksoaxtosaraja: right, but if you having those nfs related crashes in Ubuntu you'll most likely have them in debian as well08:33
tosarajaindeed possible08:34
bjarneHi, does anyone know how i can list all hosts in a domain using cli, the gui eqivalent of :5240/MAAS/#/domain/008:38
roaksoaxbjarne: maas <user> domains read ?08:42
roaksoaxbjarne: maas <user> domain read <domain> # for a single domain08:43
bjarneWelll, I want all hosts in that domain, not the domain info it self. The gui says "maas (default): 59 hosts, 135 records total" with records like "admin.compute-1     A    192.168.x.x" Its the records i want09:00
mupBug #1770126 opened: [2.4b3] Upgrading a rack controller doesn't automatically update image status or version <MAAS:Triaged by blake-rouse> <https://launchpad.net/bugs/1770126>09:05
mupBug #1770130 opened: [2.4] API doesn't list dns resources automatically created by MAAS <MAAS:Triaged by mpontillo> <https://launchpad.net/bugs/1770130>09:21
roaksoaxbjarne: /win 409:42
tosarajaIf I choose to deploy a CentOS7, why is it loading "error: no such device: /efi/ubuntu/shimx64.efi." that says ubuntu, and the grub is also Ubuntus?09:55
roaksoaxtosaraja: https://bugs.launchpad.net/maas/+bug/174092510:17
tosarajaah found the problem: https://bugs.launchpad.net/maas/+bug/174092510:17
roaksoaxindeed10:18
tosarajalol, what timing :D10:18
tosarajaafter 10 minutes of searching we paste the link within 2 seconds :D'10:18
roaksoaxtosaraja: http://paste.ubuntu.com/p/kRyT5pvyFR/ /usr/lib/python3/dist-packages/provisioningserver/templates/uefi/config.local.amd64.template10:21
roaksoaxtosaraja: that /may/ fix the issue10:21
tosarajathanks, i'll have a look10:21
roaksoaxtosaraja: you'd need to restart maas-rackd though10:21
roaksoaxtosaraja: if that works, I can commit that10:21
tosarajaor could i just update to maas 2.4.0beta4?10:21
tosarajaah, that's the fix apparently10:21
roaksoaxi have not tested that, but that may fix it10:22
tosarajai can test it10:22
bjarneroaksoax: what do you mean "/win 4"10:25
tosarajaroaksoax: modified the file under /usr/lib/python3/dist-packages/provisioningserver/templates/uefi10:33
tosarajalet's see if it affected anything10:34
tosarajaroaksoax: it did what we'd expect it to do...kinda :D error: no such device: /efi/redhat/grub.efi.10:39
mupBug #1770141 opened: [2.4b3] When SMART is not supported on a drive, some tests pass and some are skipped <MAAS:New> <https://launchpad.net/bugs/1770141>11:15
roaksoaxbjarne: sorry, that was a typo11:25
bjarneok, so no idea how to get the hosts for a domain then?11:35
bjarneim on 2.3.011:36
roaksoaxbjarne: there's an open bug where the api doesn't show the hostnames under dnsresources for those that maas automatically genreated11:40
roaksoaxi thought that had been fixed11:40
roaksoaxbut obviously it hasnt11:40
KingJ_What's the recommended way of getting MAAS's DNS entries in to an upstream DNS server?12:47
roaksoaxKingJ_: maas doesn't send entries into an upstream DNS server12:48
roaksoaxKingJ_: maas can be configured to use another dns server as a forwarder12:48
=== KingJ_ is now known as KingJ
roaksoaxKingJ_: but you could tweak your dns server to send stuff uip to another if you dont mess with maas' configuration I guess12:48
KingJIndeed, which lets MAAS resolve for its own managed servers and other items upstream, but what i'm looking to do is allow non-MASS managed hosts to resolve MASS managed ones - so somehow I need to either get MAAS's DNS entries on to an upstream DNS server, or have the upstream DNS server query MAAS for the specific MAAS domain?12:49
roaksoaxKingJ: i dont specifically know. I've never done anything similar myself12:51
roaksoaxalthough, it may be possible by configuring bind to do so12:51
KingJI'm a little adverse to modifying MASS's own bind configuration as it may get wiped out on an upgrade... but equally i'm also deploying MAAS hosts in to an existing domain rather than a MASS specific domain, so I can't get my upstream DNS server to forward e.g. requests for host.mass.domain.com to the MAAS server.12:52
KingJThe only other way i've possibly seen mentioned is adding a DHCP snippet that uses Dynamic DNS to register the hostname in my upstream DNS server? But that feels iffy... having the host register itself with my upstream DNS server rather than having MAAS push that through?12:53
roaksoaxKingJ: yeah it feels iffy to me too12:54
roaksoaxi would not do DDNS12:54
roaksoaxalthough its possible12:54
roaksoaxi think thta's probably the only way to do it12:54
KingJI've just stumbled across this too, which hmm, could work - get the upstream DNS server to do a zone transfer. Although i'm not sure if that'd work given it's the same zone (plus, it's not yet implemented so for now I would need to alter the config, but I feel like that's less hacky than the DHCP snippet for DDNS?)12:56
KingJhttps://bugs.launchpad.net/maas/+bug/171139512:56
mupBug #1770201 opened: During enlistment DNS resolution failures leave required packages uninstalled <cdo-qa> <cdo-release-blocker> <foundations-engine> <MAAS:New> <https://launchpad.net/bugs/1770201>16:13
=== frankban is now known as frankban|afk
mupBug #1732194 changed: [2.3rc2, UI] When I want to add a new interface to a device the MAC address field has a red border <2.3qa> <ui> <ui-papercut> <MAAS:Invalid by m-vrachnis> <https://launchpad.net/bugs/1732194>16:43
mupBug # changed: 1764830, 1769448, 1769468, 176947118:25
mupBug # opened: 1764830, 1769448, 1769468, 176947118:28
mupBug # changed: 1764830, 1769448, 1769468, 176947118:34
maticueHi there, trying to find Supermicro 1028U-TNRTP+ using MAAS 2.3.0. MAAS discovers the baremetal but it is unable to configure IPMI automatically. In fact, it doesn't work setting it manually. I will paste the log error. Seems to be an IPMI communication issue19:52
maticueMay  9 19:30:30 sea-ec220-mrk-1 maas.power: [info] Changing power state (on) of node: cuddly-iguana (nyamym) May  9 19:30:30 sea-ec220-mrk-1 maas.power: [error] Error changing power state (on) of node: cuddly-iguana (nyamym) May  9 19:34:12 sea-ec220-mrk-1 maas.power: [error] cuddly-iguana: Power state could not be queried: expect bytes or str, not NoneType May  9 19:34:13 sea-ec220-mrk-1 maas.power: [error] cuddly-iguana: Failed to r19:53
roaksoaxmaticue: what version of MAAS are you using ?19:56
maticueroaksoax:  MAAS version: 2.3.0 (6434-gd354690-0ubuntu1~16.04.1)19:56
roaksoaxmaticue: have you tried upgrading to 2.3.2 and seeing if the issue is fixed ?20:03
maticueroaksoax: nop, but I can test it20:03
maticueroaksoax: I will do it and back to you20:03
roaksoaxmaticue: ok, that said, never seen that specific error before...20:21
blahrusJust setup MAAS on 18.04 - got servers PXE'ing off of it.21:08
blahrusWe see the 2 machines under USED for the IP addresses21:09
blahrusbut they don't show up under machines or Network discovery21:09
blahrusany ideas?21:09
maticueroaksoax: Solved! maas region controller was 2.3.0, maas rack controller was 2.2.2-6099-g8751f91-0ubuntu1~16.04.1. Upgraded maas rack controller to 2.3.0 and it worked. Thanks!!!21:10
roaksoaxmaticue: cool21:11
roaksoaxblahrus: probably an issue we tracking where is not correctly running internal services21:12
blahrusroaksoax: Is there a fix?21:12
roaksoaxblahrus rc1 will hvae lots of fixes improviding various backend processing issues21:13
roaksoaxwhich would be related to weird behavior21:13
roaksoaxlike the one you describe21:13
blahrusETA for that, or should I downgrade versions?21:15
roaksoaxblahrus: hopefully friday21:16
roaksoaxblahrus: but that siad, if it shows 2 ip's address21:18
roaksoaxblahrus: it could also be that those are just lingering from the DHC{ and have not yet expired21:18
blahrusIt shows the 2 systems got leases21:18
blahrusI watched cloud-init run on the boxes21:18
blahrusthen they shut down21:18
roaksoaxblahrus: well it could be the leases for other interface son the same nodes21:19
roaksoaxe.g. during commissioning it tries to identify whether other interfaces are in the same l221:19
blahrusRight, but if got all the way through cloud-init and it shuts down - shouldn't somnething show up in Machines?21:20
roaksoaxblahrus: it could have failed21:21
roaksoaxblahrus: where you enlisting the machine ?21:21
blahrusOnly thing I did was reboot the server to the PXE21:21
mupBug #1706696 changed: maas auto-allocates machines via pods even when zone is included in constraints <cdo-qa> <internal> <MAAS:Invalid> <https://launchpad.net/bugs/1706696>21:26
blahrusroaksoax, looks like if I manually add the system and PXE boot it, MAAS sees it and sets it to ready21:35
pinesI am trying to commission multiple machines with the CLI. I tried this:  /usr/bin/maas root machines accept machines=[m1,m2,m3] but it is not working21:37
pinesis there a way to send a list or something similar through the maas CLI for multiple machines?21:37
mupBug #1770273 opened: [2.4, UI] IP assignment form for a machine has been mixed with that one of a device <MAAS:Triaged by deadlight> <https://launchpad.net/bugs/1770273>21:41
roaksoaxpines: maas admin machines accept machines=8kngxk machines=htbkpm21:43
roaksoaxpines: but oyu need to use the system-ids21:44
roaksoaxpines: or you can do accept-all iirc21:44
roaksoaxmaas <user> machines accept machines=<sustem_id> machines=<syustem_id>21:44
pinesroaksoax: Thanks a lot... I thought I could sort it out with a list, but now it is clear to me. It is confusing if it sasy machines..should say machine, so you know it only allows one :)21:47
mupBug #1770273 changed: [2.4, UI] IP assignment form for a machine has been mixed with that one of a device <MAAS:Triaged by deadlight> <https://launchpad.net/bugs/1770273>21:50
roaksoaxpines: yeah we are hoepfully redesisgning the cli next cycle21:52
mupBug #1770273 opened: [2.4, UI] IP assignment form for a machine has been mixed with that one of a device <MAAS:Triaged by deadlight> <https://launchpad.net/bugs/1770273>21:56
pinesroaksoax: Would it be the same case for teh following command? /usr/bin/maas root machines set-zone nodes=system_id1 nodes=system_id2  zone=ZONE22:13
pinesor I need to do this one by one?22:13

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