/srv/irclogs.ubuntu.com/2017/03/13/#cloud-init.txt

=== rangerpbzzzz is now known as rangerpb
powersjhehe "AssertionError: 'HST' not found in 'HDT\n'" silly daylight savings messing with my integration tests15:39
rharperlol15:43
smoserpowersj, i put  a comment on your mp... i may be over thinking things.17:13
powersjsmoser: hmm but won't that change between -0900 and -0800 depending on day light savings?17:28
smoserit should not.17:28
powersjand that command depends on what timezone you are in17:29
powersjwhich is ok, since we are setting17:29
smoserno... we specify the full time with offset -040017:29
powersjyes, but the output changes... here is mine: "Wed, 02 Nov 2016 22:47:00 -0600"17:29
smoser Thu, 03 Nov 2016 00:47:00 -0400 == Wed, 02 Nov 2016 19:47:00 -090017:29
powersjoh... maybe that's what I'm not getting17:30
smoserthe output changes based on the default time zone of the system.17:30
smoser(your default time zone is 0600)17:30
smoserbut the test is testing that we can set the default time zone to US/wierd-timezone17:30
smoserthat must be hawaii ?17:30
powersjit is Hawaii17:30
smoserso .. if we correctly set the timezone17:32
smoserdate will always convert the '--date' to the default timezone of the system.17:32
smoserand so we're checking that dates output was converted to the time zone that we expect to have set the system to17:32
smoserright?17:32
powersjyeah, let me change it and play with it a bit. Never used date like that before, so still grawking it.17:33
smoser:)17:33
rharperalternatively can't we check that /etc/localtime points to the right tz we specified?17:33
powersjah that might be good too, check that symlink17:36
smoserhttp://paste.ubuntu.com/24171815/17:37
smosermaybe that helps ?17:37
smoserwell, the symlink could work, but that is somewhat of an implementation detail.17:39
powersjsmoser: it does, thanks :)17:39
smoserwhere as the other way depends on 'date' behaviing correclty.17:39
smoserpowersj, did you open a bug ?18:35
smoserfor the timezone?18:35
powersjsmoser: no18:35
smoserk18:35
powersjI did wrt the new password change (a 2nd one)18:35
powersjI'll get the timezone merge fixed up here in a bit18:36
smoserhttp://paste.ubuntu.com/24172068/18:38
powersjlol18:39
powersjthank you :)18:39
smoseri'll just take that now. i think the comnments there make it more clear than my explanation before.18:39
powersjsmoser: yes they do and wfm thanks18:40
smoserearly november is probably a really bad time to pick18:40
powersjwhy?18:40
smoseras someone might think that is on the cusp of a time change.18:40
powersjah18:41
smoserbut i'm using it anyway18:41
smoser:)18:41
smoserpowersj, you mentioned something about cloud-init tags and buildilng ?20:31
smoserin your qa report20:31
smosermore info ?20:31
powersjI was trying to understand why we needed the tags when setup.py runs. I had not looked at that file enough to understand how it gets packaged up20:31
powersjSo looked into how you specify an init system and the check that occurs when building cloud-init via tag + version in __init__20:32
smoseryeah, the check can be annoying for sure, but you should always have some tag to base it off of.20:32
powersjI've been played with snap'ing cloud-init as well and the python plugin doesn't take an option so I couldn't specify an init system20:33
powersjEven if it doesn't quite make sense too, it was an interesting lesson :)20:33
smoserpowersj, python plugin doesnt take an option20:36
smoser?20:36
smoseryou mean tryin to get the init system into setup.py ?20:37
powersjyes20:37
powersjso your part would look like this: https://paste.ubuntu.com/24172666/20:38
powersjand we would want a "options: ['--systemd']" or something like that20:38
powersjThis all started because I was looking at https://build.snapcraft.io/20:40
=== rangerpb is now known as rangerpbzzzz

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