/srv/irclogs.ubuntu.com/2016/03/17/#maas.txt

mupBug #1558324 opened: [2.0-trunk] Error on request (45) space.delete: AttributeError: 'Subnet' object has no attribute '_vlan_cache' <MAAS:Triaged by lamont> <https://launchpad.net/bugs/1558324>00:07
mupBug #1558324 changed: [2.0-trunk] Error on request (45) space.delete: AttributeError: 'Subnet' object has no attribute '_vlan_cache' <MAAS:Triaged by lamont> <https://launchpad.net/bugs/1558324>00:16
mupBug #1558324 opened: [2.0-trunk] Error on request (45) space.delete: AttributeError: 'Subnet' object has no attribute '_vlan_cache' <MAAS:Triaged by lamont> <https://launchpad.net/bugs/1558324>00:22
jwitkohey roaksoax, quick question, I created a second interface on my controller with a separate subnet also set to do dhcp and dns.00:24
jwitkohowever when I rekick the blades, they come up with the interface but no IP or anything assigned00:25
jwitkoany ideas what went wrong?00:25
fritchieis it possible to log into a maas commissioned node via the console to troubleshoot?01:16
jwitkofritchie, yes.  the first interface comes up without issue and SSH is available01:37
jwitkothe second comes up and /etc/network/interfaces just shows the mtu setting and nothing else under the secondary interface01:38
jwitkoyea, I just tried it again01:51
jwitkodouble checked ranges and everything.  no interface config at all for p2p201:51
fritchiecan a maas node act as a default gateway for the dhcp network?01:53
jwitkoi'd prefer it used its standard default gateway, which I've set in the web UI02:06
fritchiewhat is dhcp is being used on an isolated vlan with no router?02:09
jwitkoyes that is correct02:49
jwitkoexcept I cant figure out how to vlan tag in maas02:49
jwitkoso they are untagged to maas02:49
mupBug #1558383 opened: [2.0a2] dhcp set to false causes ERROR in logs <cdo-qa> <MAAS:New> <https://launchpad.net/bugs/1558383>05:05
mupBug #1558383 changed: [2.0a2] dhcp set to false causes ERROR in logs <cdo-qa> <MAAS:New> <https://launchpad.net/bugs/1558383>05:08
mupBug #1558383 opened: [2.0a2] dhcp set to false causes ERROR in logs <cdo-qa> <MAAS:New> <https://launchpad.net/bugs/1558383>05:17
jamor davecheney ^^06:42
jammeh, wrong channel06:42
mupBug #1558188 changed: during import images boostrap fails with gomaasapi: got error back from server: 400 BAD REQUEST ({"distro_series": ["'trusty' is not a valid distro_series.09:14
mupIt should be one of: '', 'windows/win2012hvr2', 'ubuntu/precise'..."]}) <oil> <MAAS:Triaged> <MAAS 1.9:Triaged> <https://launchpad.net/bugs/1558188>09:14
voidspaceroaksoax: ping10:30
alexlistHi... I am trying to deploy CentOS 7 using the latest stable MAAS 1.9. I am following https://maas.ubuntu.com/docs1.9/os-support.html and have found an image at http://maas.ubuntu.com/images/ephemeral-v2/daily/centos70/amd64/20141129_01/. CentOS 7 shows up under "Generated Images" but I cannot select that for deployment. What am I missing?10:42
alexlistOK, I have switched the boot resources URL to "daily" and see the images. However, when I click "deploy", they are not listed.11:23
nitin_whois nitin12:33
roaksoaxalexlist: did you import them? you have to import the images12:49
=== roaksoax is now known as roaksoax-afk
timellofolks, gm, how does one would backup nodes, cluster, images, etc, configuration for further use?13:03
timelloI see https://code.launchpad.net/~maas-maintainers/maas/backup, but it looks old.13:09
dragnell87Hello everyone15:07
dragnell87Has anyone try maas with vcloud director from VmWare for power management ?15:08
dragnell87any case precedent on this matter ? where access to real hypervisor does not exist and the only thing you have access is to the VMs and the allocation of resources15:13
mupBug #1558635 opened: Trying to assign an IP address statically to a device results in builtins.AttributeError: 'NoneType' object has no attribute 'link_subnet' <MAAS:New> <https://launchpad.net/bugs/1558635>15:45
mupBug #1558640 opened: [2.0a2] Lease notifier not working in LXD container because of apparmor <MAAS:Triaged> <https://launchpad.net/bugs/1558640>15:48
mupBug #1558640 changed: [2.0a2] Lease notifier not working in LXD container because of apparmor <MAAS:Triaged> <https://launchpad.net/bugs/1558640>15:54
mupBug #1558640 opened: [2.0a2] Lease notifier not working in LXD container because of apparmor <MAAS:Triaged> <https://launchpad.net/bugs/1558640>16:06
mupBug #1558640 changed: [2.0a2] Lease notifier not working in LXD container because of apparmor <MAAS:Triaged> <https://launchpad.net/bugs/1558640>16:09
voidspaceroaksoax-afk: you misunderstood this bug https://bugs.launchpad.net/maas/+bug/155745116:12
voidspaceroaksoax-afk: please see my latest comment16:12
voidspaceroaksoax-afk: you may still think it's only medium priority16:12
voidspaceroaksoax-afk: but currently we need to make 2 api calls to work out what version of maas we're running against16:12
voidspaceroaksoax-afk: first hit api/1.0 and if that fails try api/2.016:12
voidspaceroaksoax-afk: because there's no version independent way to find that out16:13
mupBug #1558640 opened: [2.0a2] Lease notifier not working in LXD container because of apparmor <MAAS:Triaged> <https://launchpad.net/bugs/1558640>16:15
roaksoax-afkvoidspace: my understanding is that a user tells jusjut http://<maas-ip>/MAAS17:15
roaksoax-afkvoidspace: then juju automatically adds the /api/1.0 right?17:15
roaksoax-afkvoidspace: my point being was that juju would check /api/1.0 if it returns nill or error, it would assume /api/2.017:15
roaksoax-afkvoidspace: which basically, would be similar to just doing a version check17:15
voidspaceroaksoax-afk: right, but that's two calls just to get the version17:17
voidspaceroaksoax-afk: I'm asking for a version independent endpoint to get that information in one call17:17
voidspaceroaksoax-afk: anyway, we understand each other - so cool17:18
roaksoax-afkvoidspace: to me it is the same. if you check for version first, and then you try to login, then that's two calls. You could simply first try 1.0 firs,t and if that doesn't work, you try 2.017:20
roaksoax-afkvoidspace: either way you look at it, it is 2 calls17:20
jwitkoHey guys, when uninstalling MAAS it asks if I want to keep the database.  Does this database simply contain node information or does it also contain the setup of the MAAS controller?17:22
roaksoax-afkvoidspace: note that I';m only highliting the fact that either way you look at it, you will always have to make 2 requests17:23
roaksoax-afkvoidspace: 1. check for vesion. 2. make requets to api version17:23
roaksoax-afkor17:23
roaksoax-afk1. make request to 1 version 2. make request to another version17:24
roaksoax-afkvoidspace: that being said, it is medium as we are working on other critical issues at the moment, and that wont be addressed immediately17:24
roaksoax-afkvoidspace: i'd guess next week17:24
voidspaceroaksoax-afk: well, not really - we're not going to check for version on *every* api call17:25
voidspaceroaksoax-afk: we'll do it once and cache it!17:25
voidspaceroaksoax-afk: so the question is how many calls we need to do to make that initial determination17:25
voidspaceand currently that's two :-)17:26
voidspaceroaksoax-afk: but I appreciate you guys have a lot on your plate17:26
roaksoax-afkvoidspace: actully, juju is the one who adds /api/2.017:26
roaksoax-afkvoidspace: actully, juju is the one who adds /api/1.017:26
roaksoax-afkvoidspace: not the user17:26
roaksoax-afkvoidspace: so when you tell the user /MAAS, juju adds /api/1.017:27
voidspaceroaksoax-afk: yes17:27
voidspacethe user doesn't tell us the api version17:27
roaksoax-afkvoidspace: so, now if you add /MAAS, juju will 1. check version. 2. make api call to /api/1.0 or 2.017:27
roaksoax-afkvoidspace: my perspective. 1. try /api/1.0 or 1. try /api/1.0 or 2. /api/2.017:27
roaksoax-afkvoidspace: checking for version will always, always always yield one extra call17:28
roaksoax-afkbut hey17:28
roaksoax-afkthat's your code :)17:28
voidspaceroaksoax-afk: yes, but we make *many* api calls17:28
voidspaceroaksoax-afk: so we want to check for version once at the start and cache that17:28
roaksoax-afkvoidspace: yes, but juju would have to store the version right ?17:28
roaksoax-afkvoidspace: exactly, either way you do, yields the same result17:28
voidspaceno17:29
roaksoax-afkvoidspace: 1. you check for version, 2. you cache it. 3. all remainder api calls go to cached version17:29
voidspacewe need to know version there are two possibilities17:29
roaksoax-afkvoidspace: 1. you try /api/1.0 2. it works, you cache it. 3. all remainder api calls go to cached version17:29
voidspace1) there is a version independent api to find it - one call (not currently true)17:29
voidspace2) try 1.0 then 2.0 - two calls17:29
voidspacethen we make the actual api calls we need17:29
voidspaceso not the same17:29
voidspacegotta go17:29
roaksoax-afkvoidspace: it is the same:17:29
roaksoax-afk1. try 1.0, it didn't work17:29
roaksoax-afk2. then assume 2.0, making actual api call17:30
voidspaceroaksoax-afk: hah, well fair enough17:30
roaksoax-afkvoidspace: as in: try to login with 1.0 first, it is not avialable. 2. try to login to 2.0 :)17:30
voidspacewe could just try 1.0 and it succeeds or we're on 2.0 - fair enough17:30
voidspaceor 3.0 ;-)17:30
jwitkoHey guys, when uninstalling MAAS it asks if I want to keep the database.  Does this database simply contain node information or does it also contain the setup of the MAAS controller?17:55
mupBug # changed: 1546475, 1549206, 1549208, 1549230, 155054018:45
mupBug #1558747 opened: [1.9.1] Deployment for IBM S822LC  8335-GTA fails to boot local disk following  curtin install <oil> <curtin:New> <MAAS:New> <https://launchpad.net/bugs/1558747>19:15
=== CyberJacob is now known as zz_CyberJacob
mupBug #1558755 opened: [2.0a2] Deploying machine with primary rack dead fails <MAAS:In Progress by blake-rouse> <https://launchpad.net/bugs/1558755>19:45
mpontillojwitko: I would say most MAAS configuration is in the database, but there is a little bit in /etc as well20:03
mpontillojwitko: what configuration would you like to preserve?20:04
mupBug #1558752 opened: [1.9.1] Failure to get DHCP address during curtin install of IBM S822LC  8335-GTA   <oil> <curtin:New> <MAAS:New> <https://launchpad.net/bugs/1558752>20:18
jwitkompontillo, i just blasted it away,  but thanks20:40
jwitkoDid MAAS get rid of the "Network" menu at the top ?20:40
jwitkowas that replaced with Cluster ?20:40
mpontillojwitko: in 1.9 I think that was replaced with the Fabrics tab, in 2.0 it'll be "Networks" (but be very different)20:43
mpontillojwitko: all network configuration available in the UI is under the clusters tab though20:43
jwitkoty20:43
jwitkohey mpontillo, quick question -  is there any way to easily add a list of macs into maas?20:49
jwitkois the +Add new MAC button for multiple MACs on one machine?  or will that add them as separate servers20:49
mpontillojwitko: that's for a single machine. if you want to add things in bulk, I'd use the API. I can get you an example in a sec20:50
mpontillojwitko: if you haven't used the API client before, first use the "maas login" command, for example "maas login admin http://your-maas-ip:5240/MAAS/ <token>", where <token> is the key from your user preferences page20:53
mpontillojwitko: here are some example commands I use to add a few NUCs and a libvirt-based hypervisor: https://paste.ubuntu.com/15410283/20:54
mpontillo(those examples assume you are using the "admin" profile with the MAAS CLI.)20:55
mpontillojwitko: also, I have a couple scripts to generate those commands from a YAML file, if that's useful to you. see https://code.launchpad.net/~mpontillo/+junk/maas-qa-utils20:57
stormmorethis I like20:59
stormmorenope20:59
mupBug #1558785 opened: [2.0a2] Detected deadlocks in postgres should be handled list a serialization failure <MAAS:In Progress by blake-rouse> <https://launchpad.net/bugs/1558785>21:25
jwitkohey mpontillo that really helped thank you21:44
jwitkothe servers have all installed and booted.21:44
jwitkocouple of follow up questions though21:45
mpontillonp jwitko, good luck (and let us know if you have feedback)21:45
jwitko1)  The secondary interface is not coming up with any sort of configuration except the mtu setting21:45
mpontillojwitko: sure, though I need to go afk for awhile, so replies might be slow21:45
jwitko2) Is there any way to set static IPs to nodes ?21:45
mpontillojwitko: you should be able to change the interface settings (including static IPs) on the node details page; if there are items you cannot change related to networking, please check if you can set them via the command line API21:46
* mpontillo -> afk21:46
jwitkompontillo, it says "auto assign" so I'm guessing I need to turn off DHCP and DNS on the interfaces and turn them into unmanaged?21:50
jwitkoHow will PXE boot requests get DHCP leases then :?21:50
mpontillojwitko: we add a static mapping in the dhcp server (assuming we manage dhcp for that network)21:53
jwitkoSorry?21:54
mpontillojwitko: making the network unmanaged isn't required (nor would that be recommended)21:54
jwitkoby assuming we manage dhcp, do you mean assuming there is an alternative dhcpd providing service ?21:54
jwitkooh21:54
mpontillojwitko: well, you can use your own DHCP server, but that is not recommended21:55
jwitkook, I see i had to power the machines off before reconfiguring their network21:55
jwitkompontillo, so back to the interface that does not get configured21:56
jwitkowhen I get to set the static IP address, it works fine for the first interface21:56
jwitkobut the fabric-2 interface shows no subnets to choose from21:56
jwitkohowever there is a vlan tagged subnet that shows up under "Subnets" tab21:57
mpontillojwitko: I assume that's not a subnet managed by MAAS? You can use the API to add VLANs and subnets to that fabric21:57
jwitkoif i take "eth1" and set it to "fabric-1", the VLAN menu does not allow for a drop-down21:57
jwitkompontillo, it should have been auto configured from maas install?21:58
jwitkoit shows under fabric-1 in the subnets tab, I see the untagged section with no information and then the vlan tagged one with all the correct info21:58
jwitkohowever on the node network section it does not allow me to select the VLAN tagged subnet21:58
jwitkoit should be a subnet managed by maas?21:59
jwitkosorry, i had to add the additional interface on the node drill down22:03
mpontillojwitko: hmm ok, when you commission the node it should run the DHCP client and discover all interfaces available, if it can. but it doesn't check tagged VLANs22:25
mpontillothat would make commissioning take quite awhile, since it would need to check 4094 possibilities ;-)22:26
jwitkompontillo, is there a way to configure the nodes to deploy with a bridged interface set up?22:27
jwitkoinstead of having my eth1 and my vlan tagged eth1.600,  could I create eth1, br1, br1.600 ?22:28
m3talsmithAre there any service providers using MAAS yet?22:28
mpontillojwitko: MAAS does not yet support bridges; we are thinking about doing that for MAAS 2.1. the 1.x philosophy is that bridges are solidly juju's territory22:28
jwitkogot it.  thanks22:28

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