/srv/irclogs.ubuntu.com/2016/02/24/#maas.txt

=== LoRez_ is now known as l
=== l is now known as Rez
=== Rez is now known as LoRez
mupBug #1549174 opened: Spurious failure in TestDNSDynamicIPAddresses.test_bind_configuration_includes_dynamic_ips_of_deployed_nodes <tests> <MAAS:Triaged> <https://launchpad.net/bugs/1549174>08:55
mupBug #1549174 changed: Spurious failure in TestDNSDynamicIPAddresses.test_bind_configuration_includes_dynamic_ips_of_deployed_nodes <tests> <MAAS:Triaged> <https://launchpad.net/bugs/1549174>09:07
mupBug #1549174 opened: Spurious failure in TestDNSDynamicIPAddresses.test_bind_configuration_includes_dynamic_ips_of_deployed_nodes <tests> <MAAS:Triaged> <https://launchpad.net/bugs/1549174>09:13
imranhi'm pretty sure the openstack installer has just hung09:27
imranhoh, so doing ^c then looking at commands.log helps09:33
mupBug #1549206 opened: Spurious failure in TestDNSConfigModifications.test_add_node_updates_zone <tests> <MAAS:Triaged> <https://launchpad.net/bugs/1549206>09:52
mupBug #1549208 opened: Spurious failure in TestDNSConfigModifications.test_change_node_hostname_updates_zone <tests> <MAAS:Triaged> <https://launchpad.net/bugs/1549208>10:04
mupBug #1549210 opened: bin/test.region: BlockingIOError: [Errno 11] write could not complete without blocking <tests> <MAAS:Triaged> <https://launchpad.net/bugs/1549210>10:04
mupBug #1549230 opened: Spurious failures in DNS configuration tests <tests> <MAAS:Triaged> <https://launchpad.net/bugs/1549230>11:04
imranhHow long should bootstrapping juju take in the openstack installer because I'm about to hit 30 minutes...13:08
imranhso syslog is full of error (network unreachable) resolving 'streams.canonical.com/AAAA/IN': 2001:503:ba3e::2:30#5313:17
kikoimranh, it should take 5 minutes longer than provisioning the machine in MAAS13:35
imranhkiko: ok so something is wrong13:38
kikoimranh, yes, but I'm not sure that error matters unless you are on an IPv6-only network13:39
kikoimranh, if you want to kill the bootstrap and re-run with a --debug it will give us better insight13:39
kikoimranh, has maas actually provisioned the bootstrap node?13:39
imranhkiko: I'm not, i'm on a ipv4 only network here13:39
kikook13:39
imranhI've been running the OS installer with "DEBUG_JUJU_BOOTSTRAP=1 openstack-install"13:40
imranhah13:40
imranhit did soemthing13:40
roaksoaximranh: juju can't access to streams.canonical.com ? MAAS at no point tries to access streams.canonical.com. That's probably juju trying to access their own streams and failing13:40
imranhmulti.py:206] Failed to get ip directly: [Errno -2] Name or service not known13:41
roaksoaximranh: yeah that's what it seems to be13:41
kikoroaksoax, well, but that's an IPv6 query13:41
imranhok13:41
imranhso i disabled ipv6 completely inbetween saying i saw those errors in ssylog and it seems to be working now13:42
roaksoaxkiko: so my understanding with the squid bug is that if it finds a link local address, it iwll try ipv6 first. If the other endpoint has 10+ IPv6 addresses, then squid will fail as it will attempt 10 retires13:42
roaksoaxkiko: if the endpoint were to have 9 IPv6 and 1 IPv4, the request would go through just fine13:42
roaksoaxkiko: maybe that's the issue here13:43
kikooh how interesting13:43
kikoit's actually a bug?13:43
roaksoaxkiko: the issue with squid, yes. Because, I guess that squid3 should never try to reach the internet with ipv6 if the machine where it is running only has link local13:44
roaksoaxkiko: and even if it does, and fails, it never tries IPv4 if the other endpoint has 10+ Ipv6 addresses13:44
imranhmulti.py:165] Finished MAAS step, now deploying Landscape.13:45
imranhwoop13:45
imranhprogress13:45
kikonow we're talking!13:45
kikoroaksoax, should we ship our squid with ipv6 disabled?13:45
kikoroaksoax, and release note that if you are on ipv6 enable it?13:46
roaksoaxkiko: no, we should ship it ipv6 enabled, but we could default to ipv4 first. However, the issue is being fixed on squid so when the fix lands, the work around won't really matter much13:51
kikoah13:51
kikogotcha13:52
kikois it easy to default to ipv4?13:52
roaksoaxkiko: yes, just a config option, that would need to get tested first though13:58
imranhgui.py:267] A fatal error has occurred: 'NoneType' object has no attribute 'info_message'13:59
imranh:(13:59
imranhtask.py:71] ran off end of task list, can't start Bootstrapping Juju14:00
kikohmm14:01
kikoimranh, what version of juju?14:01
imranhkiko: should be the latest for 14.04 one sec14:01
imranhjuju-core 1.25.314:02
imranhtrying it all again...14:04
kikoimranh, that looks like an honest bug.. in landscape?14:07
kikoimranh, I'd like to know what happens before that?14:07
imranhkiko: well it ran the landscape configure command with my details that I had entered, then the openstack ui crapped itself (for lack of better phrasing) and i saw those lines in the commands.log file14:08
imranhs/openstack ui/the openstack installer ui/14:09
imranhI'm trying again now14:10
imranhif it happens I'll report a bug14:10
kikohmm14:10
imranhBut i kinda need to get this setup14:10
imranhhere we go14:17
mupBug #1549303 opened: DeprecationWarning: twisted.internet.task.LoopingCall.deferred  <MAAS:Triaged> <https://launchpad.net/bugs/1549303>14:23
mag009any maintainer online ?14:29
kikoyes14:30
kikoimranh, it worked? what changed?14:30
imranhkiko: just got to the point where it error'd last time14:31
imranhSUCESS14:31
imranh:D14:32
kikoheh14:32
imranhSorry it didn't error again, it'd love to help debug the error i got14:33
imranhonce i have this setup I might try and reproduce it in a VM14:34
mag009question for you kiko , how do I create a partition in curtin to use all the space without specifying a size of a partition14:34
kikoimranh, and nothing changed? mm14:34
kikomag009, once you commission you do know the size of the drive14:35
mag009how do I pass it to curtin in a variable?14:35
kikomag009, but smoser will know the answer to that question (as might blake_r)14:35
kikoit's a good question14:35
imranhkiko: I changed nothing apart from wiping the .cloud-install dir after running openstack-install -u14:35
mag009from my understanding it's only a template that you hardcode the value which is not dynamic at all.14:36
mag009unless i'm missing something14:36
smosermag009, you're wanting to do that with curtin rather than with maas ?14:36
kikosmoser, I think so14:36
mag009well the device vda from server to server change14:37
mag009I'm trying to setup a generic template lvm for all my baremetal14:37
mag009sda to be the os in lvm ideally I'd like to be able to use : /dev/sda -> lvm14:37
smoserthis is maas 1.9 ? or 1.814:37
mag009but as I can see you are not doing a pvcreate14:38
mag009so you expect a partition in order to call vgcreate directly14:38
mag009It wouldn't be hard tho to add a pvcreate function..14:38
mag009it'd like to mention that this is for a custom image :)14:39
mag009maas does not support custom image yet for partitioning if I'm not mistaken14:39
mag009so thats why I'm using curtin14:40
kikomag009, what do you mean by "custom image for partitioning"?14:44
mag009smoser, do you get my idea ?14:44
smosermag009, i do want to have curtin able to do the sorts of things you're after, but at the moment it isn't really well suited for it.14:45
smoserwhat i'd suggest you do is provide curtin config that overrides the 'partitioning' stage, and does whatever you want14:46
smoseryou can then script that with sgdisk or sfdisk or parted or whatever.14:46
smoserthis is also not well documented. :-(14:46
smoserthese are things i'd like to fix, and patches are certainly welcome.14:46
smoserbut its just not there yet.14:46
mag009if I may propose a simple solution :14:47
mag009this "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py"14:47
mag009just before the vgcreate14:47
mag009I'd like to call a pvcreate14:47
mag009in this particular case I can use the device in my volume vg14:48
roaksoax/in/win 414:57
mag009@smoser this is maas 1.9 ? or 1.8 i'm using maas 1.1015:24
smoser:)15:26
smoserso with the storage config you shoudl be able to acheive what you want15:27
mag009not really15:27
mag009I'm looking at it and I must specify a size of my partition15:27
smoserit is painful probably, but you can go to each node and use that ui to cofigure as you'd like.15:27
mag009but again I'm using a custom image..15:28
mag009which is not supported by the ui15:28
mag009right ?15:28
roaksoaxmag009: custom image deployment od not get storage/network config no15:31
mag009here's my problem that I have : size: 0B if I set the size to zero which is what I want to pass to sgdisk15:34
mag009'sgdisk', '--new', '1:2048:2047', '--typecode=1:8300', '/dev/vda'15:34
mag009I want to have 1:2048:015:34
mupBug #1549331 opened: Spurious failure in TestPXEConfigAPI.test_pxeconfig_returns_json <tests> <MAAS:Triaged> <https://launchpad.net/bugs/1549331>15:35
mag009I'd like to have your input I can submit a patch but if you can tell me if its okay with you15:38
mag009i'd like to do an exception : if you enter a size of : 0B  = use all the device space15:39
mag009and skip the following : length_sectors + offset_sectors15:39
kikosmoser, ^^ mag00916:18
mag009?16:19
mag009i tested my patch and it does work16:20
smoserroaksoax, custom image deployment really should still get sotrage config16:21
smoserwhether or not it applies it should be beyond maas's care.16:22
smosermag009, oh. i see.l16:22
roaksoaxsmoser: is there code in curtin to ensure that the config does not apply ?16:23
smoseri dont like '0' there being the size. we really should support some way of doing that.16:23
smoserbut i dont knwo that 0 is right.16:23
mag009how you want to exclude it :)16:23
mag009100% ?16:24
mag009size: 100%16:24
mag009i dont understand why you chose to use sgdisk vs parted16:24
mag009cause in the case of parted we could of used the percentage straight into the size value16:24
roaksoaxsmoser: since if we send the storage config, curtin will apply it regardless of the machine. So MAAS doesn't send it to ensure that curtin does things the old way16:24
smoseri do want to support % at some point in some way.16:25
smoserroaksoax, yeah. but then it woudl be possible for the image you provide dto have curthooks that would actuallyw ork16:25
smoserand by not sending it you're explicitly dis-allowing that.16:25
mag009I just need how you want that.. so my patch get approved..16:27
mag009lol16:27
roaksoaxsmoser: right, but if we send the config, curtin will still try to partition. Either way, MAAS does not support doing custom partitioning/networking for custom images, nor other OS's16:27
smoserbut you (or we) shoudl have implemented that better.16:28
smosermag009, you can proposed the change to curtin if you want. it wil make us think about it.16:28
mag009my problem is it's a core feature required by our environment16:28
mag009and i believe it won't happen quickly if I propose something ;)16:29
mag009I dont mind coding that part if I know what you guys have in mind for that.16:30
kikomag009, I think what smoser is saying is a) do the patch b) put it in the bug and c) we'll look at it for inclusion, possibly proposing a slight change in the config16:38
kikomag009, so you should be unblocked for now -- smoser can roll out a new curtin release easily once that's done16:38
mag009yes Its what I concluded thx16:41
mag009finally I got a debian install with lvm partition like I wanted17:15
mag009:D17:15
kikomag009, rook17:22
mupBug #1549397 opened: Spurious failure in TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_returns_raw_ttl <tests> <MAAS:Triaged> <https://launchpad.net/bugs/1549397>17:35
mag009is it possible to migrate one maas to another ?18:03
mag009is there a script to do that?18:03
mag009maas v 1.9 -> 1.1018:03
roaksoaxmag009: you mean upgrade from 1.9 to 1.10 ? you can do that if you wanted to upgrade to xenial18:07
roaksoaxmag009: 1.10 is just basically maas 1.9, but running with django 1.8 and python318:07
mag009i have 2 maas installation18:09
mag009I want to import from my other maas instance which is v1.918:09
mag009to my new one 1.1018:09
roaksoaxmag009: ah, so we dont have a migration script because we support upgrade path18:09
dbainbriusing 1.8.0, attempting to update the 'name' of a node-group via REST using the maasclient Python module. the put is returning 200 OK, by the name is not being updated? nothing in the logs, thoughts?19:52
kikoroaksoax, isn't that a known problem ^^20:09
roaksoaxkiko: no, but there amy be related to it updating the dns name instead ?20:13
kikohmm20:14
mupBug #1549478 opened: DNS Forwarders not being added to bind configuration <dns> <forwarders> <maas> <named.conf.options> <MAAS:New> <https://launchpad.net/bugs/1549478>21:15
nagyzroaksoax, is it possible to configure bond0 without configuring any subnet on it, and then have just vlan interfaces under?21:43
roaksoaxnagyz: you should be able to have this for example:21:59
roaksoax bond0 fabric0 untagged subnet1 Unconfigured21:59
roaksoaxbond0.1 fabric0 vlan1 subnet2  AutoAssign21:59
nagyzgenerally or via the GUI as well?22:07
nagyzah I see I need to configure subnet1 on it - that's where the confusion is coming from22:08
nagyzon a trunk interface it doesn't make sense for a bond interface to belong to a subnet22:08
nagyzespecially if I want subnet1 to be on bond0.122:08
roaksoaxnagyz: yeah22:16
roaksoaxnagyz: right, but it will still be unconfigured, but you could also put bond0.122:17
roaksoaxnagyz: if you set the subnet as unconfigured, it does not allow you to create a bond ?22:17
roaksoaxerr a vlan interface22:17
nagyzhmm, I could have sworn that it doesn't let me22:20
nagyzbut just tried it, and it works.22:20
nagyzone more question: in some cases we see a node that we wanted to redeploy (after a release) booting into the previously deployed OS instead of doing a proper PXE boot22:21
nagyzand going into the BIOS tells us that the order didn't change22:21
nagyzshould release reset the bios disk order?22:21
nagyzalso it seems kinda redundant to select a VLAN then a subnet22:30
nagyzwhile the subnet is tied to vlan...22:30
nagyzright now I cannot put the same interface both untagged and tagged to different nodes, even though they would be the same subnet, can I, roaksoax ?22:31
renukahelp23:50
renukaThe nodes leaving behind in the power error state after the nodes are commissioned and changed to ready state.23:50

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