[00:10] <anastasiamac_> davecheney: m a bit concerned with the work that you are doing in returning *all* errors that hav previously been logged
[00:10] <anastasiamac_> davecheney: what is the bug that set u on this warpath?
[00:12] <anastasiamac_> davecheney: for example, m not convinced that callback failure that meant to set the status should really fail the whole operation of container creation
[00:13] <anastasiamac_> davecheney: m sure that there are other instances where encounting error should not affect the whole operation. m specifically thinking of simplestreams but thre are others...
[00:21] <davecheney>                 if err != nil {
[00:21] <davecheney>                         logger.Warningf("FIXME: ignoring unexpected CIDR format %q: %v", netConfig.CIDR, err)
[00:21] <davecheney> anastasiamac_: here is my philosophy
[00:22] <davecheney> if an error occurs one of two things happen
[00:22] <davecheney> a. the error means you cannot continue processing because you are missing the requireed data
[00:22] <davecheney> b. the error does not stop processing
[00:22] <davecheney> if a, then we don't want to log the error asynchrnously into a log file, we want to return it to the caller synchronusly
[00:23] <davecheney> if b, then it isn't an error because we can continue
[00:23] <davecheney> anastasiamac_: can you point out a specific part of the change you are talking about
[00:28] <anastasiamac_> davecheney: for example,  container/lxc/lxc.go, line 257... this now means that if u could not successfully callback to set the status, you'd fail container creation
[00:31] <anastasiamac_> davecheney: m looking at what u've committed yesterday... and m a bit puzzled... some of the areas did not seem like they warrented to throw an error... and I recall considerable amount of logic in some areas where it was ok to get an error and continue (ur b)
[00:31] <anastasiamac_> so we'd log error at another level (like warning or info) and keep going..because it's not significant enought to do anything about but might be of interest during debug
[00:33] <davecheney> anastasiamac_: this line ? https://github.com/juju/juju/commit/19f0dbb069916c83007b3f7293e079cb5e450fa4#diff-edf2b984c531037601cf518c0a0b039eL256
[00:33] <davecheney> if we can keep going then it isn't an error
[00:36] <anastasiamac_> davecheney: yes, this line. that's the point.. it's not a show-stopper. it's might be useful for when you are diagnosing a field failure - what has happenned leading to my failure - but it's not signifiant enough to stop the operation...
[00:36] <anastasiamac_> we have millions of places like this
[00:38] <davecheney> yes, and they all need to be fixed
[00:38] <davecheney> here is my rule of thumb
[00:38] <davecheney> no warnings, ever
[00:38] <anastasiamac_> a call to some function may fail but we either have other means of achieving what we want or we don't really care enough
[00:38] <davecheney> it's either something the user needs to know about because they need to fix it, or we don't say anything
[00:38] <davecheney> so, if we don't care if it succeeds or fails,
[00:38] <davecheney> 1. why do we call it
[00:39] <davecheney> 2. why do we log the result
[00:40] <anastasiamac_> logs are not jsut for user.. they are also for diagnosing field failures... warning means "this fails, we may need to worry about it if something else goes worng or at a later stage or <insert condition here>"
[00:41] <davecheney> no, i'm sorry, my policy on warnings is absolute
[00:41] <davecheney> no warnings, ever
[00:41] <davecheney> it's either an error or an info message
[00:41] <anastasiamac_> i do think that this should not be tackled at a global level and cetainly not without further discussion
[00:41] <davecheney> i don't think the ideas of not having warnings is contraversial
[00:41] <davecheney> i'll send a PR to fix lxc/lxc.go
[00:42] <anastasiamac_> sure... m not talking about log levels really \o/ my concern is that you are returning errors where they should not be propagated
[00:42] <anastasiamac_> plz consider all other places where u have started throwing erros too \o/ u'd know best what was touched :D
[00:43] <davecheney> what are you asking ?
[00:43] <davecheney> the code was reviewed, all the tests pass, juju.fail is clear
[00:43] <anastasiamac_> i there are any other places similar to https://github.com/juju/juju/commit/19f0dbb069916c83007b3f7293e079cb5e450fa4#diff-edf2b984c531037601cf518c0a0b039eL256
[00:44] <davecheney> this sounds like fear that something that we don't know about might break because we don't know about it because its scarey adn we don't trust out code review or our tests
[00:44] <anastasiamac_> plz revert them whenevr possible.. (i dunno if there are - i trust u to know) \o/
[00:44] <anastasiamac_> as for log levels, there is a team meeting tonight at our 8pm (well, bne at least)
[00:44] <anastasiamac_> let's discuss it then \o/
[00:45] <anastasiamac_> davecheney: i agree that there mayb some places where we are swallowing errors..but i'd like these to be fixed on a per-need basis, prefereably with a bug backing the need
[00:46] <davecheney> anastasiamac_: https://github.com/juju/juju/pull/5432
[00:58] <anastasiamac_> davecheney: FWIW, all the places where we appear to swallow an error need to have a clear explanation as to why...
[00:59] <davecheney> i agree
[00:59] <anastasiamac_> davecheney: i have seen instances where these are explained in the review comments... but i believe explanantion needs to be in the codebase
[00:59] <anastasiamac_> davecheney: \o/
[00:59] <davecheney> but stil, don't log errors at warning level
[00:59] <anastasiamac_> davecheney: plz come to team meeting - let's talk :D
[01:00] <davecheney> anastasiamac_: all the decision makers will be asleep
[01:00] <davecheney> they are all in the US timezone
[01:01] <anastasiamac_> davecheney: i don't think it requires executive decision :D just ocnsensus and europe will b online
[01:01] <davecheney> why do we need to have a call
[01:01] <anastasiamac_> bleh.. consensus :D
[01:01] <davecheney> can't we just talk about it now
[01:01] <davecheney> or send an email ?
[01:02] <anastasiamac_> email is just as good but f-2f may be more efficient
[01:03] <anastasiamac_> personal preference, for majority of cases - errors should b logged at error-level
[01:03] <anastasiamac_> i just can;t think of a places where it would not need to.. and don;t want to omit someplaces that other ppl mayb aware of :D
[01:05] <davecheney> have a look at the branches i've been landing
[01:05] <davecheney> most of this is s/Warningf/Errorf
[01:06] <davecheney> with the exceptoins where we do something like
[01:06] <davecheney> Warningf("ignore error, carrying on anyway")
[01:06] <davecheney> in whcih case that is debugging information because there is nothing a user can do with this knowledge
[01:06] <davecheney> that's just for us developers
[01:14] <anastasiamac_> well, I think that as long as there is a good explanation in the comment and in the log message as to why an error is ignored, whether it it's logged t Warning or Error level is less important... Explanation is what really matters :D
[01:14] <natefinch> FWIW... I hate errors in logs
[01:15] <natefinch> unless it's a showstopper
[01:15] <anastasiamac_> natefinch: warning might be better as we aer not treating it as an error ;D
[01:15] <anastasiamac_> agreed \o/ all errors proper should be logged at error-level
[01:15] <natefinch> nope, I'm with Dave on that one.  Warnings are dumb.  Debug, Info, Error, and error should almost never be used
[01:17] <natefinch> the problem is that, to anyone who is not the specific developer who wrote that warning/error log... it's impossible to know if an ERROR is really an ERROR, or just "hey, something went wrong, that's ok"
[01:17] <anastasiamac_> yeah :D i bbelieve that all traffic lights should loose yellow - u other stop or u go :)
[01:17] <davecheney> anastasiamac_: there is no need to be facetious
[01:17] <davecheney> here is my rule of thub
[01:17] <natefinch> yellow doesn't mean "maybe it's ok, maybe it's not"
[01:17] <natefinch> but that's what warning is
[01:17] <davecheney> tell the user if there is something they need to do
[01:17] <anastasiamac_> warning-level is like yeelow :D
[01:17] <davecheney> sorry, no, that wasn't right
[01:18] <anastasiamac_> m not being f** :D
[01:18] <davecheney> tell the user if there is something they can do
[01:18] <davecheney> if there is nothing the user can do, then don't tell them
[01:18] <davecheney> either carry on, or the program quits
[01:19] <davecheney> anastasiamac_: for reference, http://dave.cheney.net/2015/11/05/lets-talk-about-logging
[01:19] <anastasiamac_> davecheney: m not convinced that in ideal world user should need to look in the logs (only when something went horribly wrong, the logs should be trotted)
[01:19] <anastasiamac_> user should receive an intelegent feedback..
[01:19] <natefinch> the logs are for developers
[01:19] <natefinch> or extreme power users
[01:20] <anastasiamac_> +100 \o/
[01:20] <davecheney> anastasiamac_: logs are for develoeprs
[01:20] <davecheney> the return value of a function is for the user
[01:21] <anastasiamac_> davecheney: i hope u mean return value of an operation... our functions should not matter to user eaither
[01:21] <davecheney> function/method/opertation, what'ever works for you
[01:22] <anastasiamac_> davecheney: granularity is different
[01:22] <davecheney> i disagree
[01:23] <anastasiamac_> if as auser I want to add a machine, i don't care if u r calling 100 functions underneath (and some of the functions may not make sense to me)
[01:23] <davecheney> i agree
[01:23] <davecheney> that is what I meant
[01:24] <davecheney> an operation either worked or it didn't
[01:24] <davecheney> if it didn't it returns an error
[01:24] <anastasiamac_> \o/ m glad we agree
[01:24] <davecheney> it should not fail, but rturn no error while poopping out some warning messages on the side
[01:25] <davecheney> this is what I am working on fixing at the moment
[01:27] <natefinch> logging at ERROR level is confusing to *developers* though.  Does it mean juju is in a bad state?  What *does* it mean?  If we can ignore it, it must not really be that much of an error.  Warning is just as bad.
[01:27] <natefinch> WARNING juju.worker.uniter upgrade126.go:26 no uniter state file found for unit unit-resource-0, skipping uniter upgrade step
[01:27] <natefinch> is my juju broken? is it a bug?
[01:28] <natefinch> I presume that is actually a perfectly fine state for juju to be in... but I don't know
[01:28] <anastasiamac_> i think it's ok to say "warning: blah blah did not happen, will try bleh".. and as a user m ok to see these go by :D
[01:29] <anastasiamac_> it's kind of like saying "my 1st preference is this but it did not happe, i'll try my 2nd beest"
[01:29] <davecheney> natefinch: exactly
[01:29] <anastasiamac_> (without the typos)
[01:29] <davecheney> anastasiamac_: so in that case that's just debugging information
[01:31] <anastasiamac_> not necessarily dbugging (althou it can be).. it's more of an operation progress :D
[01:33] <a123> I'm seeing something very odd with juju2.0 while installing charms. A day ago, my charms were installing fine, then today one is failing in the cloud-init section when trying to run jujud-machine-xx. After connecting to the machine and running initctl reload-configuration, I can now start the job. Otherwise, the error is 'Unknown job' Any ideas?
[01:35] <davecheney> anastasiamac_: here is my rule of thumb
[01:35] <davecheney> when reading a log file, if you every reach for grep -v to filer out "operating in progress" informational messges
[01:35] <a123> As far as I can see, the logs are identical between the charms which worked(ie. the cloud-init-output.log) and the one that doesn't. It appears upstart doesn't recognize the script.
[01:35] <davecheney> they shouldn't be logged in the first place
[01:35] <davecheney> every single line reported to the user must be something actionable
[01:35] <davecheney> "i'm still working on this" is not actionable
[01:37] <natefinch> man, so much of our logging is utter crap.  I mind it less when it's at debug level, because, well, it can be useful for debugging.  But info should be something at least useful.  important changes to state, etc.
[01:57] <redir> I think warnings are reasonable for broadcasting information such as API deprecation or change when such an API or other such announcements. However, retries (my first pref didn't happen trying second pref) are a functioning codepath and shouldn't be logged to the end user IMO.
[01:57] <davecheney> redir: no, sorry, no warnings ever
[01:57] <mup> Bug #1583274 changed: Openstack base bundle 42 fails to start rabbitmq when deployed with Juju/MAAS 2.0 <cdo-qa> <cdo-qa-blocker> <deploy> <openstack> <juju-core:New> <https://launchpad.net/bugs/1583274>
[01:57] <davecheney> it's either an error or an info
[01:57] <redir> when such an api is called
[01:58] <davecheney> ok, so that's an informational message "attention: this api call is deprecated and will be removed shortly"
[01:58] <redir> well I guess if you could then just have it be an error when the API changes or is removed.
[01:59] <davecheney> you'll get the error for free when the api method is removed :)
[02:00] <redir> I usually suppress info only warn and worse when I care about logs in production
[02:00] <davecheney> redir: precisely
[02:00] <davecheney> which is why I loose my shit when errors are logged at warning level
[02:00] <davecheney> for context: http://dave.cheney.net/2015/11/05/lets-talk-about-logging
[02:00] <redir> I agree 100% errors need to be errors
[02:01] <redir> been there read that
[02:01] <redir> :)
[02:02] <redir> API warnings are probably moot in the context of juju since end users aren't using juju as library and dont' need to know about internal deprecations. So, my bad example.
[03:04] <davecheney> ping, https://github.com/juju/juju/pull/5433
[03:04] <davecheney> this is a simple update to depenedncies.tsv
[03:07] <natefinch> davecheney: ship it
[03:07] <natefinch> honestly, I think that if we're just updating a dependency we wrote, we shouldn't need a review
[03:08] <davecheney> natefinch: thanks nate
[03:11] <davecheney>                 if err != nil {
[03:11] <davecheney>                         logger.Warningf("FIXME: ignoring unexpected CIDR format %q: %v", netConfig.CIDR, err)
[03:11] <davecheney>                         continue
[03:11] <davecheney>                 }
[03:11] <davecheney> ... i don't even know where to begin
[03:11] <natefinch> uh, yeah
[03:14] <davecheney> OH MY GOD
[03:14] <davecheney> we have an apiserver/common package
[03:14] <davecheney> and we have an apiserver/common/networkingcommon package
[03:14] <davecheney> HOW DID THIS HAPPEN !?
[03:14] <natefinch> lol
[03:14] <davecheney> common, but not that common
[03:14] <davecheney> sorta in the in crew, but not really
[03:15] <mup> Bug #1583409 opened: help on status-history is confusing <juju-core:New> <https://launchpad.net/bugs/1583409>
[03:15] <mup> Bug #1583412 opened: status-history doesn't complain about badly formatted names <juju-core:New> <https://launchpad.net/bugs/1583412>
[03:16] <natefinch> is status-history supposed to work?
[03:18] <davecheney> you might have to be flexbile in your definition on work
[03:18] <natefinch> well, mine seems to always just return "ERROR no status history available"
[03:18] <mup> Bug #1583409 changed: help on status-history is confusing <juju-core:New> <https://launchpad.net/bugs/1583409>
[03:18] <mup> Bug #1583412 changed: status-history doesn't complain about badly formatted names <juju-core:New> <https://launchpad.net/bugs/1583412>
[03:27] <natefinch> hmm, just updated my client and now I get ERROR json: cannot unmarshal object into Go value of type names.Tag
[03:27] <mup> Bug #1583409 opened: help on status-history is confusing <juju-core:New> <https://launchpad.net/bugs/1583409>
[03:27] <mup> Bug #1583412 opened: status-history doesn't complain about badly formatted names <juju-core:New> <https://launchpad.net/bugs/1583412>
[03:30] <davecheney> anastasiamac_: natefinch http://reviews.vapour.ws/r/4870/
[03:30] <davecheney> natefinch: urk, how are tags leaking out of the apiserver
[03:31] <mup> Bug #1583409 changed: help on status-history is confusing <juju-core:New> <https://launchpad.net/bugs/1583409>
[03:31] <mup> Bug #1583412 changed: status-history doesn't complain about badly formatted names <juju-core:New> <https://launchpad.net/bugs/1583412>
[03:31] <natefinch> davecheney: lemme rebuild the server and make sure I haven't screwed things up somehow
[03:32] <davecheney>                 logger.Debugf("coercion failed attributes: %#v, checker: %#v, %v", attrs, checker, err)
[03:32] <davecheney>                 return nil, err
[03:32] <davecheney> log an error, at debug, then return a different error
[03:34] <mup> Bug #1583409 opened: help on status-history is confusing <juju-core:New> <https://launchpad.net/bugs/1583409>
[03:34] <mup> Bug #1583412 opened: status-history doesn't complain about badly formatted names <juju-core:New> <https://launchpad.net/bugs/1583412>
[03:41] <natefinch> davecheney: oops: https://github.com/juju/juju/blob/master/apiserver/params/status.go#L138
[03:46] <davecheney> that'll never work
[03:46] <davecheney> good think it's got a unit test
[04:07] <natefinch> oh, there's even more broken there
[04:07] <natefinch> also json related... the request object uses a *time.Time... then checks for nil after deserialization
[04:08] <natefinch> except that it serializes as a zero time and so deserializes as a zero (but non-nil) time
[04:22] <mup> Bug #1583422 opened: status-history is broken <juju-core:New> <https://launchpad.net/bugs/1583422>
[06:04] <mup> Bug #1583443 opened: juju 2.0 doesn't support bundles with 'to: ["service=0"]' placement syntax <juju-core:New> <https://launchpad.net/bugs/1583443>
[06:13] <mup> Bug #1583443 changed: juju 2.0 doesn't support bundles with 'to: ["service=0"]' placement syntax <juju-core:New> <https://launchpad.net/bugs/1583443>
[06:22] <mup> Bug #1583443 opened: juju 2.0 doesn't support bundles with 'to: ["service=0"]' placement syntax <juju-core:Invalid> <https://launchpad.net/bugs/1583443>
[06:31] <mup> Bug #1583443 changed: juju 2.0 doesn't support bundles with 'to: ["service=0"]' placement syntax <juju-core:Invalid> <https://launchpad.net/bugs/1583443>
[08:54] <babbageclunk> dimitern: ping?
[08:55] <dimitern> babbageclunk: pong
[08:57] <babbageclunk> dimitern: So, I think I've found the immediate thing causing these tests to fail (although I don't know what it means or how it happens yet) :).
[08:57] <dimitern> babbageclunk: oh, go on?
[08:57] <babbageclunk> In a successful test I get volumeattachments with volumeids 0, 0/1, 0/2
[08:58] <babbageclunk> but in a failing one they are 0/0, 0/1, 2
[08:59] <dimitern> hmm
[09:00] <babbageclunk> What's the difference between the 0/1 ones and the 0 ones? What does the / indicate?
[09:00] <dimitern> babbageclunk: weird.. what's expeced format of those IDs?
[09:01] <dimitern> babbageclunk: ISTM "0" is the machine ID, whereas "0/1" is the second volume ID on that machine? but might be wrong..
[09:01] <babbageclunk> dimitern: well, they look more cryptic because 0 is the machine id.
[09:01] <babbageclunk> ha ha yup
[09:01] <babbageclunk> oops standup
[09:02] <voidspace> omw
[09:02] <dimitern> me 2
[09:02] <babbageclunk> oh no - nothing until 11
[09:02] <dimitern> technically we don't have scheduled standup today
[09:03] <dimitern> we can still do it with yesterday's slot if you like?
[09:03] <babbageclunk> yeah, sure - would be helpful for me!
[09:26] <dimitern> babbageclunk: that comment in names/volume.go explains it: Volumes may be bound to a machine, meaning that the volume cannot exist without that machine. We encode this in the tag to allow
[09:27] <dimitern> so "0" and "0/1" are both valid volume tags
[09:32] <dimitern> babbageclunk: also looking at TestWatchMachineVolumes ISTM the watcher is only started after adding the service, initial unit, and the following addUnit()
[09:33] <dimitern> babbageclunk: are you stopping all watchers before resetting the DB
[09:34] <dimitern> babbageclunk: it looks like if the watcher keeps going while the DB reset happens, it will still report the initial events *before* it was supposed to start at line 351 in state/volumes_test.go
[09:39] <babbageclunk> dimitern: No, that's probably it - thanks!
[09:58] <voidspace> dimitern: heh, so I have three places marked with XXX and no failing tests
[09:58] <voidspace> dimitern: moar tests
[09:58] <voidspace> dimitern: to be fair - I don't think those tests were needed before, so it's not really a lack of coverage
[09:59] <dimitern> voidspace: moar tests == good :)
[09:59] <voidspace> dimitern: well, so long as they're not flaky...
[10:00] <dimitern> voidspace: oh yeah
[10:02] <voidspace> dimitern: mtg?
[10:02] <dimitern> omw
[10:04] <anastasiamac_> davecheney: call?
[10:58] <babbageclunk> fwereade: re: logging context, I really liked the distinction between spans and baggage in http://opentracing.io/spec/
[11:24] <fwereade> babbageclunk, so baggage is effectively high-level task context, and spans correspond to the various different components that might happen to be doing stuff in response?
[11:24] <fwereade> babbageclunk, if so, yeah -- I'm currently thinking spans mainly, but baggage would be a fantastic addition
[11:25] <fwereade> katco, worth considering in the context of audit? ^^
[11:27] <babbageclunk> fwereade: yeah, that's right. At the stock exchange there was a component that stamped every message flowing through the system with an id that let you follow the flow for that message through all of the logs across lots of different subsystems.
[11:27] <babbageclunk> fwereade: Was absolutely essential for tracking stuff down.
[11:34] <fwereade> babbageclunk, I have some concerns about how far we can meaningfully take it in juju, because at a certain point everything is happening because of everything else
[11:34] <fwereade> babbageclunk, but the useful 80% would be relatively cheap and easy, I think
[11:35] <fwereade> babbageclunk, (that point is once you get down to relation settings changes, basically)
[11:38] <fwereade> babbageclunk, (and we don't have any useful insight into what relation changes *actually* cause things to happen -- you could probably do something probabilistic with a suitably overarching view of the system, but that's a bit scope-creepy ;p)
[11:38] <babbageclunk> fwereade: :)
[11:41] <babbageclunk> fwereade: Yeah, that system was a lot less dynamic than juju - adding a machine or process while the system running was a rare, scary, fiddly task, where here it's kind of the point.
[11:53] <mup> Bug #1583564 opened: failed to download URL for lxc images <landscape> <juju-core:New> <https://launchpad.net/bugs/1583564>
[11:56] <mup> Bug #1583564 changed: failed to download URL for lxc images <landscape> <juju-core:New> <https://launchpad.net/bugs/1583564>
[12:02] <mup> Bug #1583564 opened: failed to download URL for lxc images <landscape> <juju-core:New> <https://launchpad.net/bugs/1583564>
[13:39] <dimitern> voidspace, babbageclunk: please take a look at http://reviews.vapour.ws/r/4871/, which fixes bug 1574844
[13:39] <mup> Bug #1574844: juju2 gives ipv6 address for one lxd, rabbit doesn't appreciate it. <conjure> <juju-release-support> <landscape> <lxd-provider> <juju-core:In Progress by dimitern> <rabbitmq-server (Juju Charms Collection):New> <https://launchpad.net/bugs/1574844>
[13:39] <dimitern> (I still need to add a few extra unit tests, but otherwise it won't change much)
[13:40]  * dimitern steps out for ~30m
[13:48] <mup> Bug #1583564 changed: failed to download URL for lxc images <landscape> <juju-core:New> <https://launchpad.net/bugs/1583564>
[13:54] <babbageclunk> dimitern: Why have duplicate attributes and methods for IPv6 and IPv4 addresses? Why not pass in a type (or use the address.Type() where approro
[13:54] <babbageclunk> Oopp
[13:54] <babbageclunk> Gah. ...where appropriate?
[13:59] <dimitern> babbageclunk: because of the way address selection works, you can't rely on addr.Type == network.IPv6Address when trying to set the preferred IPv6 address (e.g. when only IPv4 addresses are available)
[13:59] <dimitern> babbageclunk: I'd appreciate suggestions on the review :)
[14:00] <dimitern> babbageclunk: like what's unclear and possibly the need for extra comments, etc.
[14:00] <dimitern> now I'm really afk for a while..
[14:00] <babbageclunk> dimitern: Was doing that, but wanted to make sure I wasn't going off half-cocked.
[14:01] <katco> babbageclunk: fwereade: thanks, i'll give it a read over
[14:02] <voidspace> dimitern: why not just have the preferred address algorithms prefer IPv4?
[14:03] <voidspace> dimitern: I don't see a need for all these extra methods
[14:59] <dimitern> voidspace: because the whole point of the preferred addresses is that they don't change once set
[15:01] <dimitern> voidspace: and if providerAddresses = ["public:fc00:123::/64"] the very first time SetProviderAddresses is called, both the preferred public and private IPv4 and IPv6 will be the same and they cannot change if later SetProviderAddresses is called with e.g. ["public:8.8.8.8", "public:fc00:123::/64", "local-cloud:10.0.1.2", "local-cloud:fe80::/64"]
[15:02] <dimitern> that's essentially what the bug is about
[15:03] <dimitern> voidspace: that's why preferred IPv4 and preferred IPv6 need to be stored separately
[15:04] <voidspace> dimitern: hmmm...
[15:04] <katco> natefinch: standup time
[15:05] <voidspace> dimitern: you still don't need two *setters* as preferred ipv4 and ipv6 can be determined from the type of the input to SetPreferredAddresses
[15:05] <dimitern> voidspace: you mean for migrations?
[15:06] <voidspace> dimitern: I mean you don't need SetPreferredIPv4Addresses and SetPreferredIPv6Addresses
[15:06] <dimitern> voidspace: that's for migtations only
[15:06] <voidspace> dimitern: migration of what/
[15:06] <voidspace> what?
[15:07] <dimitern> voidspace: SetPreferredIPv4Addresses is a method of description.Machine interface in core/descriptiob
[15:07] <dimitern> description
[15:07] <voidspace> dimitern: I don't think it needs to be
[15:07] <natefinch> you certainly don't need the word "Addresses" in there, at the very least.  This isn't java.
[15:07] <voidspace> dimitern: you can SetPreferredAddresses twice, once with ipv4 addresses and once with ipv6
[15:08] <voidspace> dimitern: and if there's a type switch internally it will "do the right thing" without needing two methods
[15:08] <katco> ericsnow: natefinch: redir_afk: my hangouts has frozen
[15:08]  * katco waits for it to unstick
[15:09] <dimitern> voidspace: which SetPreferredIPv4Addresses method are you talking about/
[15:09] <dimitern> ?
[15:11] <voidspace> dimitern: machine
[15:11] <voidspace> dimitern: and of course the interface in core descriptions
[15:11] <voidspace> dimitern: have SetPreferredAddresses sort the addresses it is given by type and set both ipv4 and ipv6 preferred addresses
[15:12] <voidspace> dimitern: and if it is called twice, once with ipv4 only and once with ipv6 only, it will still "do the right thing"
[15:12] <dimitern> voidspace: I don't mind changing the description.Machine methods - they are less relevant anyway and will be likely called with all 4 preferred set
[15:12] <dimitern> voidspace: there's no SetPreferredIPv4Addresses on state.Machine (or anything like that)
[15:13] <voidspace> dimitern: ah, it's core/description/machine
[15:13] <voidspace> dimitern: I care less about extra methods there I guess
[15:13] <dimitern> voidspace: yeah :)
[15:13] <dimitern> voidspace: my point exactly :) also I was following the pattern for existing migrations interface methods
[15:13] <voidspace> dimitern: ok
[15:13] <dimitern> sorry, brb again
[15:27] <lazyPower> is anyone available to help troubleshoot a 1.25 controller stuck in an erroneous "upgrade", the user apparently didn't request the upgrade, but rebooted the host controller and its stuck doing an upgrade.
[15:27] <lazyPower> they're over in #juju if anyone has a moment to lend a hand. i'm out of my depth on this one, i'm directing them to aggregate logs and file a proper bug
[15:42] <natefinch> lazyPower: I noticed he said this was a case study and would get published.... sigh.  bad day for all the managers to be at a sprint
[15:42] <natefinch> rick_h_: you around?
[15:43] <lazyPower> agreed :/
[15:50] <katco> i also need a volunteer to tal @ bug 1537585. this is blocking the landscape team from releasing.
[15:50] <mup> Bug #1537585: machine agent failed to register IP addresses, borks agent <2.0-count> <blocker> <landscape> <network> <juju-core:Triaged by dooferlad> <juju-core 1.25:Triaged by dooferlad> <https://launchpad.net/bugs/1537585>
[15:51] <katco> natefinch: you're the only one without feature work atm. are you looking at this other customer-facing issue in #juju?
[15:51] <katco> perrito666: what are you up to?
[15:52] <natefinch> katco: was just trying to figure out if I should help the guy in #juju... I've gotten flack for doing that in the past, so was hesitant this time.
[15:55] <katco> natefinch: i was thinking the same thing. we have paid support for that reason
[15:56] <katco> natefinch: i would say pick up this bug if you can. it will unblock landscape and make all of juju better
[15:56] <natefinch> katco: before or after I fix status-history?
[15:57] <katco> natefinch: how long do you think it will be for that fix?
[15:57] <natefinch> katco: just an hour or so to tweak the tests to pass
[15:57] <katco> natefinch: i'd say wrap that up first then
[15:57] <natefinch> katco: yeah, my thought as well. Cool.
[15:57] <natefinch> katco: then I'll hop on the landscape one
[15:58] <katco> natefinch: you are a bug fixing machine
[16:08] <perrito666> katco: I was in bed until about now, I am trying to wrap up the restore work that ian inherited me
[16:08] <katco> perrito666: ok, ta. hope you're feeling better :(
[16:08] <perrito666> katco: nope, but bed is driving me crazy so I get up and work every now and then
[16:09] <katco> perrito666: sorry to hear that
[16:09] <perrito666> katco: you know how these things are, you just have to wait and eat chicken soup
[16:09] <katco> perrito666: yeah. i'm not a good sick person.
[16:24] <mup> Bug #1583683 opened: juju thinks it is upgrading after a reboot <juju-core:New> <https://launchpad.net/bugs/1583683>
[16:30] <mup> Bug #1583683 changed: juju thinks it is upgrading after a reboot <juju-core:New> <https://launchpad.net/bugs/1583683>
[16:43] <mup> Bug #1583683 opened: juju thinks it is upgrading after a reboot <juju-core:New> <https://launchpad.net/bugs/1583683>
[16:57] <lazyPower> kat/nate - is there anyone in particular i should ping with the bug dweaver submit for their issue? (the #juju casestudy user)
[16:57] <lazyPower> katco natefinch ^  - sorry pinging you directly as you made mention. I want to route this appropriately
[16:58] <katco> lazyPower: i pinged cheryl, alexis, and rick_h_
[16:58] <lazyPower> ok, bugs right up there ^
[16:58] <katco> lazyPower: ta
[16:59] <lazyPower> thanks for the handoff
[16:59] <katco> lazyPower: just want to be crystal clear: we haven't committed to investigating this yet
[17:00] <lazyPower> ok, if it gets dropped it gets dropped. Theres very little i can do about it, and i know we're on a tight schedule/deadline.
[17:00] <lazyPower> we've done what we can
[17:01] <katco> lazyPower: curious if they can hang on until next week? half our resources are sprinting atm
[17:02] <lazyPower> i made that clear that we were short handed due to a planning sprint.  Their response: [11:59:18] dweaver: lazyPower, yes, willing to be patient, thanks.  I'll ping you with a bug ID once it is submitted with all the info.  Will be most appreciative thanks.
[17:02] <katco> lazyPower: awesome, ta chuck
[17:03] <lazyPower> np np, good hustle
[17:50] <katco> alexisb: are we still doing our 1:1? figured you were busy with sprint
[17:50] <alexisb> katco, we are not
[17:50] <alexisb> how are things?
[17:50] <katco> alexisb: things going fine
[18:24] <perrito666> did someone forget a couple of machines running in our ec2 since apirl 14?
[18:24]  * perrito666 is about to pull the trigger
[18:26] <alexisb> natefinch, ping
[18:28] <natefinch> alexisb: pong
[18:29] <alexisb> hey natefinch what are you up to?
[18:30] <natefinch> alexisb: fixing status-history, which I figured out last night is completely broken
[18:30] <alexisb> natefinch, how long will you be working those bugs?
[18:31] <natefinch> alexisb: well, wrapping up status-history soon.  There was a bug reported by landscape guys that I was going to work on next, but what's up?
[18:32] <alexisb> natefinch, please continue
[18:32] <alexisb> natefinch, katco thanks
[18:45] <redir> ericsnow: got a minute?
[18:45] <ericsnow> redir: sure
[18:45] <redir> moonstone?
[18:46] <ericsnow> redir: yep
[19:54] <katco> redir: spec updated
[19:57] <natefinch> perrito666: you around?
[19:57] <natefinch> perrito666: http://reviews.vapour.ws/r/4872/
[19:59] <perrito666> natefinch: looking
[20:01] <perrito666> natefinch: ship it
[20:01] <perrito666> natefinch: and incidentally I think I opened a "we should not use *time.Time" bug some time ago which you just partially addressed
[20:02] <natefinch> perrito666: I actually undid my addressing of it... it just propagated out too far. I was going down a rat hole and just wanted this thing fixed.
[20:02] <natefinch> perrito666: it wouldn't be that hard to fix, it just touches a lot of files
[20:02] <perrito666> oh, I thought you where doing that, then I noticed you didnt :)
[20:02] <perrito666> i might do it in the trip to the sprint
[20:13] <mup> Bug #1583771 opened: RunnerSuite.TestOneWorkerStartWhenStopping timed out <ci> <intermittent-failure> <race-condition> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1583771>
[20:13] <mup> Bug #1583772 opened: MachineSuite.TestDyingModelCleanedUp state.Life dead not alive <ci> <ppc64el> <regression> <s390x> <test-failure> <unit-tests> <windows> <juju-core:Triaged> <https://launchpad.net/bugs/1583772>
[20:33] <natefinch> I wish we had juju add-container... I can never remember the invocation to add a container to an existing machine
[20:34] <natefinch> also wish juju add-machine lxc:0 -n 2 worked :/
[20:34] <natefinch> cannot use -n when specifying a placement directive.... why the hell not?
[20:52] <mup> Bug #1583787 opened: get-* CLI commands should be called show-* <juju-core:New> <https://launchpad.net/bugs/1583787>
[20:52] <mup> Bug #1583789 opened: juju uses wrong gpg for validating images on streams.canonical.com <centos> <ci> <simplestreams> <juju-core:Triaged> <https://launchpad.net/bugs/1583789>
[20:53] <redir> katco: tx
[21:45] <redir> fwereade: yt?
[22:08] <katco> anastasiamac_: i'm in the hangout when you're ready
[22:13]  * redir stuck