/srv/irclogs.ubuntu.com/2014/10/28/#juju-gui.txt

=== mup_ is now known as mup
hatchrick_h_: currently holding on my branch for kyles to land to hook them all up - is there a card you'd like me to work on?14:25
rick_h_hatch: can you help do any QA on the stuff in review?14:25
hatchhoooooly14:27
hatchyep14:27
rick_h_hatch: ty14:27
lazyPowerhatch: you still looking for me?14:34
lazyPoweri was out on swap when you were pinging for me14:34
hatchlazyPower: hey - yeah I am going to remove the ghost zip from the charm - they are releasing updates too fast to keep the charm up to date14:34
lazyPowerhatch: thats fine, i suggest you add a make target to sync for offline use14:35
hatcha blog offline? :)14:35
lazyPowereg: make offline - wget's the zip into files/ so it supports offline deployment.14:35
lazyPowerits good practice to support offline deployments in your charms, as we dont know the use cases for people. this may go behind someones corp firewall where they cannot reach github14:35
lazyPowersee: prodstack14:35
hatchI suppose14:36
hatchso wouldn't a make target fail then as well?14:36
hatchrick_h_:  looks like qa's are all caught up now14:49
rick_h_hatch: ok thank you14:49
rick_h_hatch: is there anything that can be done then to help out with the added services? Or nothing to do at this time?14:50
rick_h_jujugui call in 10 please kanban14:50
rick_h_hatch: if not, then we need to start looking at the masthead updates in the maint lane14:51
hatchnot really - the canvas stuff can't land without the db updates 14:51
hatchok I can hop on that14:51
rick_h_hatch: I'd hope you and kadams can work together on that a bit, we need to see what the UX team wants, what we can give them, and get it updated as close as we can14:51
hatchwell maybe then I can take over what kadams54 is on and he can go with this masthead stuff?14:52
rick_h_hatch: up to you guys, whatever moves things the fastest to be honest14:52
hatchwould just really like that added services stuff to keep moving forward14:52
rick_h_hatch: understood, I'd like to have it in the release for sure 14:52
hatchuhh yeah heh they moved the search box in the masthead updates14:53
rick_h_hatch: heh looking14:55
frankbanurulama: are you going to Gardaland? 15:20
kadams54rick_h_: On the sports team note… http://imgur.com/a/OVbqs15:20
urulamafrankban: yes! 15:21
urulamafrankban: the helloween one, on 31st :)15:21
rick_h_kadams54: I was going to compliment you on the new do today :)15:21
urulamafrankban: staying there by Sunday15:21
frankbanurulama: nice! It's ages since my last time there, I remember it's really nice!15:22
rick_h_roller coastering urulama ?15:23
hatchbrb grabbing coffee15:23
urulamarick_h_: sure hope so ... 15:23
lazyPowerhatch: the idea is the developer machine has unfettered access to teh internet, regardless if done @ a coffeeshop before they head into the office, or what the case may be15:26
lazyPowerthe failure of the make target is less of a concern to me than the deployment failing15:26
hatchhmm ok I'll see what I can come up with15:48
hatchugh this damn update16:16
hatchit's like it can't handle more than one packet per hour16:16
hatchboy would it be nice if we had css source maps :)16:35
hatchkadams54: do we have a standard border radius mixin?16:47
hatchor a standard radius?16:47
kadams54Yeah: .create-border-radius(@radius)16:47
kadams54In mixins.less16:47
kadams54That said, the only browser that doesn't support just plain old "border-radius" is IE8. Mixins always felt like overkill to me for that.16:49
hatchwell I'm just using it to avoid having to type it all out haha16:49
rick_h_jujugui note that you have two weeks to file swap days from the sprint which are up. Please get those in asap if you want to use them. 16:52
rick_h_jujugui recall that you just have to file them, but can use them any time this year16:53
hatchfor once I don't have any lingering16:53
hatchheh16:53
rick_h_:P16:53
hatchkadams54: so do we have a styleguide - with at least hex codes? Or am I just to guess from what's currently being used lol16:57
rick_h_hatch: it's probably in variables.less16:58
hatchI'm also trying to go off of a compressed image haha16:58
* hatch holds up fingers in a frame shape.......yep that's about right16:59
kadams54Not that I know of on the styleguide. variables.less is the place to go.16:59
kadams54hatch: what are you working on?16:59
hatchnew header styling16:59
kadams54Do they have a prototype anywhere?17:00
kadams54That was the nice thing about added services.17:00
hatchjust a compressed photo17:00
kadams54I didn't have to guess17:00
kadams54That is less than ideal17:00
hatchit's close to done now17:00
hatchsome odd spacing cascades though17:00
lazyPowerrick_h_: who do i poke to get some debugging help with quickstart? i've got a deployment that is recognized but appears to be hung on my juju-gui unit, no machines are being added, and when i re-execute the bundle deployment it just queues on top of the stack.17:07
lazyPoweri dont know what to file here, as its probably working as expected, but this is not the result i'm looking for, so specifics would help when filing the bug.17:07
rick_h_lazyPower: I'd check the normal juju logs and see what's up. 17:08
frankbanlazyPower: juju version?17:08
rick_h_lazyPower: there's a bug out that's fixed in trunk to be aware of17:08
lazyPowerfrankban: 1.20.10-trusty-amd6417:08
hatchoh that's the buggy one17:09
frankbanlazyPower: uhm... so it's not the devel bug17:09
lazyPoweri dropped of the alpha builds when all-state-watcher broked.17:09
hatchoh17:09
hatchlol17:09
lazyPowerthat broke like everything everywhere re: testing17:09
frankbanyeah17:09
frankbanlazyPower: any hint from the gui server logs?17:10
lazyPowerabsolutely nothing in the gui log pertaining to the deployment17:11
lazyPowerin /var/log/juju/juju-gui.log17:12
frankbanlazyPower: in /var/log/upstart/guiserver.log17:12
lazyPowerah, checking there17:12
lazyPowerinteresting17:13
lazyPowersomething about pickling ssl17:13
lazyPowerhttp://pastebin.ubuntu.com/8721706/17:13
frankbanlazyPower: from those logs, it seems the deployments started: [{'Status': 'started', 'Queue': 0, 'DeploymentId': 0, 'Time': 1414515682}]17:16
lazyPowerthats what i'm seeing too - but nothings happening provider side17:16
frankbanlazyPower: what's returned if you go to https://<juju-gui>/gui-server-info ?17:17
lazyPowerno machines are being provisioned, no service squircles on the canvas17:17
lazyPowerfrankban: http://paste.ubuntu.com/8721750/17:17
frankbanlazyPower: didn't you mention that you tried to queue other deployments? I don't see those there17:18
lazyPowerthis is a fresh quickstart 17:18
frankbanlazyPower: no other logs in the guiserver.logs?17:18
lazyPoweri can run it again and you'll see additional deploymetns queue, give me a moment to do that.17:18
frankbanlazyPower: no, that's not helpful, just wondering17:18
frankbanlazyPower: so, from the gui server perspective, that deployment is started, and it's waiting to hear something from the deployer17:19
lazyPowerhttp://paste.ubuntu.com/8721767/17:19
lazyPowerthere's teh follow up, no change in 017:19
hazmatfrankban, please use -S option with deployer17:20
hazmatfrankban, it will speed things up immensely17:20
hazmatie. deployer will config/deploy/relate, and exit17:20
hazmatgui is already displaying status / health17:20
rick_h_hazmat: have that captured from the sprint but haven't updated it yet. http://goo.gl/tUSTK217:21
hazmatcool17:22
frankbanhazmat: yeah, but this seems a different problem, the service blocks are not displayed17:22
frankbanlazyPower: is the deployer running on the gui unit?17:23
lazyPowerits not17:23
lazyPoweri think it bailed due to this 404 error17:23
lazyPowerits looking for a charm it cant find, which is boggling me too17:24
frankbanlazyPower: ps aux | grep python >17:24
lazyPowerall we have running on teh unit through python is the guiserver17:24
lazyPower3 threads17:24
lazyPowerhttp://pastebin.ubuntu.com/8721812/17:24
hazmatfrankban, true not directly related, but it solves the queuing deployments waiting period.17:25
frankbanhazmat: sure17:25
lazyPowerhttp://paste.ubuntu.com/8721825/ -- here's the deployer error, and this is consistent when charmworld doesn't find a charm17:25
lazyPowerso i think this is the core of the issue17:26
lazyPowerdeployer bailed, the gui-server is waiting for deployer to say something17:26
frankbanlazyPower: if the deployer encounters an error the GUI should be aware of that, so this seems to be a bug in the GUI charm17:27
frankbanlazyPower: could you please file it with some steps to dupe and the log in http://paste.ubuntu.com/8721825/ ?17:27
lazyPowerfrankban: surely17:27
frankbanlazyPower: ty17:27
lazyPowerfrankban: thanks for helping me get good info for you - i didn't want to file a bug 'the gui ate my deployment halp'17:28
lazyPoweras thats not helpful17:28
frankbanlazyPower: np, ty17:28
lazyPowerhttp://manage.jujucharms.com/api/2/~lazypower/trusty/logstash-agent-0 - is that the proper resource url for checking namespace charms?17:37
rick_h_lazyPower: should be api/317:38
lazyPowerfor non-promulgated charms, this is of the form17:38
lazyPower~$owner/series/$name(-$revision). - is what i've found in teh charmworld docs, but that appears to be the cause of the problem.17:38
rick_h_lazyPower: api/2 is deprecated a while ago17:38
lazyPowerah ok, i just incremented from 1 based on what was responding.17:38
rick_h_lazyPower: it's missing the /charm I think17:39
rick_h_http://manage.jujucharms.com/api/3/charm/~lazypower/trusty/logstash-agent-017:39
rick_h_lazyPower: ^ is the working call17:39
lazyPowerah ok17:39
lazyPowerthanks 17:39
hatchlunching17:46
lazyPowerrick_h_: question for you re: store api18:27
rick_h_lazyPower: otp but what's up18:27
lazyPowernevermind, i just answered my own question by spelling it out to ask it.18:28
rick_h_cool best questions18:34
lazyPowerpebkac for the win18:41
lazyPowernever assume you know better than the store, it will bite ya every time.18:41
rick_h_as long as it's not my keyboard :)18:41
rick_h_then there's problems!18:41
lazyPoweri thought hive was -13, its -1 in the store18:42
lazyPowernamespace vs promulgated charm woes18:42
rick_h_ah, yea18:42
lazyPowerwhen i double-checked, i realized i was being silly18:42
rick_h_jujugui off to get the boy, I'll be back tonight if anyone needs anything19:26
hatchcyas19:26
rick_h_no kadams?19:27
hatchheh not sure19:30
hatchlooks like he timedout19:30
hatchkadams54: you timed out :)19:52
kadams54Yeah, my wifi's been a bit flaky today. I've had to restart it three times. Not sure what's going on.19:56
stokachurick_h_: you around19:58
stokachuhttps://store.juju.ubuntu.com/charm-info?charms=cs:trusty/landscape-server <- can someone get this pushed out now?19:59
urulamahatch, jcsackett: the ingestion happens on every 15/30min in the existing store, right?20:00
hatchevery 30 I think20:00
jcsacketturulama: it happens every 15 min in charmworld. i don't know about the store.20:00
hatchyep20:00
urulamastokachu: so, ingestion happens every 15min ... when did you push it to LP?20:01
hatchjujugui requesting review and qa for masthead updates https://github.com/juju/juju-gui/pull/62920:01
stokachuurulama: 20m ago20:01
stokachui was just told there are 1000 items in the queue though20:01
hatchit has to pass proof, did it pass proof locally?20:02
hatch(that's what usually fails for me)20:02
hatchkadams54: hey anything I can help with to get your branch done quicker? I'm just finished the one I was one20:03
hatchon*20:03
hatchpre-review or anything heh20:03
kadams54hatch: yeah, I'm going to have you look at a WIP PR for this "service flag percolates down to the unit flag" stuff.20:04
kadams54It feels Rube Goldberg-ish to me.20:04
hatchhaha - sure20:04
kadams54Give me a moment here…20:04
hatchwe can always bench that feature20:05
hatchand just do the service flags20:05
hatchand then fix it in post20:05
kadams54Not really an option.20:12
kadams54The flags need to be set at the unit level for machine view to work.20:12
hatchright - but they are doing that now20:12
hatchalready in tha hander20:12
hatchI guess I'll wait until I see the code20:12
MakyoWhoa, new sit/stand desk from Ikea for a reasonable price http://www.ikea.com/us/en/catalog/products/S19022530/20:30
rick_h_stokachu: what's up?20:30
stokachurick_h_: we got it, was the landscape-server in trusty cs20:31
rick_h_stokachu: ok cool. yea sorry, we don't have manual control. Requires getting IS to touch things. 20:31
rick_h_stokachu: glad it's set then20:31
hatchMakyo: am I blind or does it not say how to adjust it?20:36
Makyohatch, in product info it says "you can adjust the height electrically from 22" to 48""20:37
hatchyup blind20:37
hatchwow quite a deal in that case20:37
hatchnow can I get it in Canada....20:37
MakyoHaha20:37
hatchnope of course not20:38
hatchthat crazy border is just too hard to get compressed paper and steel over20:39
MakyoMust be the new Canada-America wall they're building.20:41
hatchhaha20:42
hatchthat would be one big wall20:42
kadams54hatch: https://github.com/juju/juju-gui/pull/63020:42
hatchcool looking20:42
hatchkadams54: we can hide services?20:43
hatchI thought they just fade lol20:43
kadams54Fade, hide, highlight… They're all in the API.20:43
hatchkadams54: so this doesn't update the master unit list20:50
kadams54Yeah, that's what I thought too.20:51
hatchbut it is?20:51
kadams54But then I added assertions against db.units into the test20:51
kadams54And it still passed20:51
kadams54Take a look at the test code and see if things look legit there20:51
kadams54I'm very puzzled20:51
kadams54I did not expect that to happen.20:51
hatchwhat the heck20:53
hatchOh I see why that's happening20:56
hatchoh boy this is not good20:56
hatchheh20:56
kadams54*sob*20:56
hatchI mean, it is what it is, but no not good20:56
kadams54Is this a Canadian pep talk?20:56
rick_h_hatch: ?20:56
hatchI bet it won't update both if you 'promote' one20:56
hatchsoooo20:57
hatchhmm20:57
hatchthe question is do we rely on this behaviour or not haha20:57
hatchhmm thinking20:57
* rick_h_ doesn't know what's up but is asking 'how does it need to be done to be right?'20:58
kadams54If we don't, then my intention had been to put an event handler (in the DB) for *:change on service.units that applied the same changes in db.units.20:58
hatchthe reason its working is because we add the same 'object' as the model to both lists20:58
hatchand because its pass by reference updates to one update the other20:58
hatchso it'll fall over if one of the models gets 'promoted' to a real model20:59
hatchso does it work now....sure....will it break? ehhhhh maybe?20:59
hatchheh20:59
kadams54Would cloning the object in the test break the reference?21:00
hatchno it's in addUnit21:00
hatchso you could try in addUnit to clone it21:00
hatchsee if it breaks21:00
kadams54Don't really want to change real code21:00
hatchyeah see we add the models to the unit list21:01
hatchwhich returns the units21:01
hatchthen we add those to the service21:01
hatchso they are the same object21:01
kadams54Sorta, except I'm not using the return value from db.addUnit21:01
hatchno it's what's actually being added in addUnit21:01
kadams54Ah yeah, I see21:02
hatchso...21:02
hatchyeah...21:02
hatchhmm21:02
hatchstupid js21:02
hatchlol21:02
kadams54So I actually have unnecessary code in my JS21:02
hatchyeah 21:02
hatchso anyways - I think it'll be ok to rely on this21:03
hatchthe only time it could fall over is if someone promoted a unit model then forgot to free it21:04
kadams54I can make sure we have a test for addUnit that verifies the behavior is in place.21:04
hatchwell that won't make sure it doesn't break later21:04
kadams54Which won't guard against that situation, but will make sure that someone doesn't pull the rug out from under this added services work by changing the addUnit implementation on down the road.21:05
hatchyeah true true21:05
hatchwell I'm not really very happy about this - but right now we'll just have to rely on this 21:05
hatchI don't see any workaround that won't be a bunch of work 21:06
hatchkadams54: I suppose we could guard for it by making sure we explicitly update both21:08
hatchkadams54: but then what I'd do is create an 'updateUnitFlag' method on the db to update both similar to addUnit21:09
hatchthoughts?21:09
kadams54Yeah…21:09
kadams54There are no good options.21:09
kadams54Just lesser evils.21:09
hatchat the point of the handlers we have db right?21:11
kadams54Yeah.21:14
hatchso maybe that last idea is the best21:15
hatchso we'd explicitly update the service in one call adn the units in another21:15
hatchit's a little hand wavy though21:15
hatchif your not in-the-know21:15
kadams54Yeah… I'm defering that whole issue for the moment to get the rest of the stuff wired up. I'll revisit once I have an idea what the rest of the ball 'o wax looks like.21:19
hatchsure thing21:22
hatchrick_h_: is there another card you'd like me onnow?21:22
rick_h_hatch: what's needed to move added services then? /me is trying to cook and keep up convos in two irc channels21:23
hatchhaha - well kadams54 is getting the event handlers to update the models, once that's finished then my branch can hook up with the models and be off to the races21:24
hatchmv currently works as expected21:24
hatchso it's just the canvas stuff21:24
rick_h_hatch: I'd suggest doing a round of QA on the gui and getting ready to remove the flag and prepare for release?21:27
hatchsounds like a plan21:28
hatchkadams54: think you'll be able to get something up befor your eod that I can take over on?21:29
hatchI think thats in 30min21:29
urulamaheh, just read the old man & ubuntu story ... i put ubuntu on my father's laptop. he loved it ... just couldn't live without MS Office :( Had to put win7 back. Thinking of upgrading his RAM and running office in VM ... 21:54
hatchhaha - now with google docs that is coming less and less necessary21:55
urulamabut he also preferred it over Windows or MacOSX21:55
urulamaunfortunately, those are some serious docs with macros and shit ... 21:56
hatchdefinitely prefer it over the mess that is yosemite 21:58
hatch:D21:58
urulamai love yosemite! it works as a charm22:00
hatchnothing I do makes the font not blurry22:00
hatchif I didn't work in Ubuntu this computer would be unusable22:01
hatchbecause I coudln't stare at the font all day22:01
urulamaah, non-retina displays ...22:01
urulamatheir friendly message saying "go get one" :D22:01
hatchurulama: https://www.evernote.com/shard/s219/sh/a14e7c9a-75c1-44ca-9c40-2acf5f8826a4/bd29f4177d13499ae31fb8fe759895cf22:02
hatchit's only marginally better on the laptops real screen22:02
urulamai must say they do look ok on 27" but really bad on an older non-retina 15 and 13" :(22:02
hatchand the new launcher bar is just...icky22:03
hatchI turned transparency off to at least make the fonts tolerable22:03
hatchfor short use heh22:04
urulamai put it on the side, so it's the same :)22:04
hatchexcept that none of the icons were designed for this type of bar22:04
hatchand the bouncy icons just look odd when it's supposed to be contained22:04
hatchit's really a design fail imho22:04
rick_h_they'll fix it and call it the best thing they've ever done :P22:05
rick_h_worthy of a point release in 3mo22:05
hatchlol!!22:05
hatchI thought this new designer guy is supposed to be so amazing 22:06
hatchthere are so many issues that I can find - and I'm clearly not a designer lol22:06
* hatch just wonders who he has to bribe to get real graphics drivers for Ubuntu for this machine ;)22:07
hatchthen I can run it on metal and be done with it22:07
hatchrick_h_: did you see the update to this bug? https://launchpad.net/bugs/1375918 heh quite an oversight :)22:08
mupBug #1375918: units can be created without a service causing cascading failures <juju-gui:Triaged> <https://launchpad.net/bugs/1375918>22:08
rick_h_hatch: yea werent you looking at that?22:09
hatchI did but couldn't figure out the issue22:09
hatchthere is no issue if you never tear down old units and create new ones so their id's overlap :)22:09
rick_h_ah gotcha22:10
hatchit's probably a few days of work to fix 22:10
hatchbecause we need a new id system for units22:10
hatchbleh22:10
hatchthe good news is that the gui is getting stable enough that we only run into wako obscure issues haha22:11
hatchsort of good news?22:11
rick_h_well this is because we remove the 'new'?22:11
rick_h_hah22:11
hatchnew units are never created with 'new' 22:12
rick_h_I have to say, I was liking how really we've not had a GUI release with a major OH CRAP bug that we had to jump out ahead of and such. 22:12
hatchthey are created with serviceName + '/' + unitCount22:12
rick_h_ah, I wonder if we can get what juju thinks the number should be or something22:12
hatchwell I am pretty sure we have to wait for juju to ack back on creation22:12
hatchsimilar to the machine id 22:13
hatchrick_h_:  in some interesting news I think we can build the canvas with react :O dragging and all 22:14
hatchnot that we should22:14
hatchbut it appears to be possible22:14
rick_h_:P22:14
rick_h_I think we've got a lot of react stuff to put into place first before worrying about the canvas22:15
hatchhaha yeah 22:15
hatchthere are also other 'virtual dom' solutions coming out now that react is getting mindshare22:15
hatchso that's good news22:16
hatchMakyo: rocket failed? I thought they just postponed because of a boater22:27
Makyohatch, that was yesterday. They just launched, failed 6 sec after launch.  MAde it 100ft or so, then just stalled.22:28
hatchdamn22:28
* hatch hits up youtubes22:28
rick_h_linky?22:28
hatchnothing yet22:28
hatchdarn22:28
rick_h_we were just talking rocket science in the other room :)22:28
* hatch NEEDS INFORMATIONS22:28
Makyohatch, rick_h_  watching live feed on nasa.gov, pretty soon for youtubes22:28
Makyohttps://twitter.com/11AliveNews/status/527224598384095235/photo/122:29
hatchdamn22:30
hatchso can the ppl on the ISS still last until next launch?22:30
rick_h_oh boom22:30
MakyoStill waiting on that22:30
urulamadamn22:30
urulamawas that the new program?22:30
urulama(getting away from using russian rockets)22:31
MakyoPart of the privatized supply missions, I think22:31
hatchhttp://youtu.be/gY8cngQba58?t=55s22:32
rick_h_hatch: did you get two reviews? /me is looking for your masthead branch but sees it landed22:33
hatchoh crud I totally blanked and shipped it after one22:33
hatchMakyo: did a review and qa22:33
rick_h_hatch: k, two reviews next time please :)22:33
hatchyeah sorry bout that22:34
hatchwow that was a big boom22:34
hatchI can't imagine what that team is feeling22:35
urulamahatch: now, *this* is something scary ... https://twitter.com/heathercmiller/status/526770571728531456/photo/122:37
urulama:)22:37
rick_h_I think it goes something like "ugh...hope our insurance was paid up on that or I'm not getting a paycheck"22:37
rick_h_urulama: love that one22:37
hatchurulama: haha22:38
hatchrick_h_: someone would sell insurance on that? lol22:38
rick_h_yea, I think each launch is insured. http://en.wikipedia.org/wiki/Satellite_insurance22:39
hatchsheesh I bet THEY are sweating too22:39
urulamahave fun all, cu tomorrow22:43
=== urulama is now known as urulama__

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