/srv/irclogs.ubuntu.com/2015/02/04/#juju.txt

=== zerick_ is now known as zerick
=== kadams54 is now known as kadams54-away
=== zz_CyberJacob is now known as CyberJacob
=== CyberJacob is now known as zz_CyberJacob
bloodearnestit there a bug open for better formatting of the stdouts of a multi-unit juju run? Because it's unreadable at the minute09:47
lazyPowerbloodearnest: not that i found on a quick search09:53
bloodearnestlazyPower, yeah me neither, just wanted to check here before I filed one09:58
lazyPowerbloodearnest: you made mention you wanted to use the slides i dropped on speakerdeck. do you want the impress template?10:22
bloodearnestlazyPower, yeah, that'd be sweet, thanks10:25
lazyPowerhttps://www.dropbox.com/s/pxapq90ma326nw3/service-orchestration.odp?dl=010:25
bloodearnestlazyPower, sounds like you had fun :)10:25
lazyPowerbloodearnest: it was intense. one man show, 8 speaking events, 3 weeks notice. I was dancing, non stop :)10:25
lazyPowerwell i had prior notice, but nothing was confirmed prior to 3 weeks before the conf.10:26
hazmatlazyPower, intense12:20
lazyPowerhazmat: \o/13:08
lazyPowerhazmat: signs of life! i thought you were going to be MIA for a while13:09
hazmatlazyPower, i am for most of the day, restricted networks13:09
lazyPoweroi13:09
lazyPowerhazmat: did you have a chance to follow any of the slide work i published?13:11
lazyPoweri'm curious to get your take on what i put out there13:11
hazmatlazyPower, checking13:12
hazmatlazyPower, pretty solid13:15
lazyPowerhazmat: thanks for the review. Means quite a bit that you stamp it with approval :D13:16
* lazyPower hat tips13:16
jcastrohatch, ping14:44
hatchjcastro: hey14:45
jcastrohey so check this out14:45
jcastrohttps://jujucharms.com/ceph/14:45
jcastroone revision behind, but james and crew pushed a new version on thursday14:45
hatchdid their version pass proof?14:45
marcoceppi-sasthttps://store.juju.ubuntu.com/charm-info?charms=cs:trusty/ceph14:45
jcastroaha!14:47
hatch:)14:47
jcastroE: Unknown relation field in relation nrpe-external-master - (gets)14:47
jcastroyeah, got it, thanks!14:47
hatchjcastro: np - we should probably have some indicator somewhere of something somehow for this :)14:47
* hatch intentionally leaves that very open ended :D14:48
hatchjcastro: typically if your charm doesn't show up in under an hour something went wrong :) it's on a 30min loop so depending on when you catch that loop...14:50
jcastroack14:50
=== Guest17528 is now known as rcj
jcastrohatch, would it make sense to autofile a bug on the charm if it fails?14:51
=== rcj is now known as Guest81467
hatchjcastro: tbh I'd like to see some kind of a status page somewhere where you could check14:52
jcastrowell, not for me14:52
jcastrofor people who push and have no idea why it didn't show up14:52
hatchright - it would be in the docs "go here for charm ingestion status"14:52
hatchthat could even possibly be linked by the page on jujucharms.com14:53
hatchI'm totally just throwing out an idea here14:53
jcastroiirc the original plan was to have the "status lights" on the charm's actual page14:54
hatchyeah I think that filing a bug would be hard - I'm not sure that the proper people would see it for promulgated charms14:55
hatchI don't think I see bugs filed for Ghost if it's on the promulgated charm?14:55
jcastrohatch, found the problem, charm tools is returning 014:56
jcastroso the ceph guys lint check, it's just returning(!) zero14:56
lazyPowerhatch: couple things about that14:56
lazyPower1) we already have the review queue - why not attach diagnostic messages like that to the review item?14:56
hazinhelljcastro: the new store should have some events support .. ie if you use juju publish it should give you feedback14:56
lazyPower2) Why am i checking a page when you have the maintainer field in metadata and can contact the maintainer?14:56
jcastrohazinhell, oh awesome, that sounds great.14:57
hatchlazyPower: people can push to their own namespace (it'll still fail if proof fails) and it doesn't touch the review queue14:57
hatchand the maintainer field isn't always accurate14:57
hazinhelljcastro: its been supported for a few years fwiw (re events and juju publish for store feedback).. haven't tried it with the new store impl that's extant but it should work14:58
jcastroright so instead we just say `juju publish fail, please run charm proof and fix your stuff14:58
=== cmars` is now known as cmars
=== kadams54 is now known as kadams54-away
hatchis it normal for the debug-hooks command to not dump you into the hooks context on the 'start' hook?17:49
hazinhellhatch: yes it dumps you into a empty window, and the others pop up in response to hooks executing, but if there is no active hook you won't be in a hook context17:50
hatchahh that's probably what's happening17:50
hatchI wish I didn't have to spam debug-hooks after deploy17:50
hazinhellhatch: there's some arcana involved but if you want to poke around at the unit context, you can use juju-run on the unit to examine its state.17:51
hazinhellhatch: cory_fu made some nice debugging tools to avoid having to do the double poke (debug and resolved --retry)17:51
hatchis there a reason why we don't say 'ok you asked for debug-hook, but the unit isn't up yet, so we'll wait till it is'17:51
hazinhellhatch: no, there is no reason.. feel free to file it as a cli ux bug, there's a few like that17:53
hatchWill do! thanks17:54
hatchlooks like there is already a bug :) https://bugs.launchpad.net/juju-core/+bug/127883117:57
mupBug #1278831: debugging first run of install hook is not straight forward <debug-hooks> <juju-core:Triaged> <https://launchpad.net/bugs/1278831>17:57
hatchnow to figure out how to use tmux in a tmux :)17:58
hazinhellhatch: its easy.. rebind control key on the outer one ;-)18:09
hazinhellhatch: that requires forethought.. the other way if they match on controls is to double hit the control char18:10
hatchyeah there was definitely no forethought here :P18:16
=== mmcc` is now known as mmcc
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== kadams54 is now known as kadams54-away
dbartmbruzek: ping22:12
mbruzekhello dbart22:12
mbruzekWhat can I do for you?22:12
dbartmbruzek: hey there! I was working with lazyPower on the MariaDB charm22:13
mbruzekdbart: Yes I heard that22:13
dbartwe had an issue with the charm on P8, but I think I've just solved it22:13
mbruzekdbart: OK great news!22:14
dbartMariaDB on P8 is built with IBM's Advanced Toolchain, and without the runtime package, MariaDB won't install22:14
dbartso the issue was how to get the runtime22:14
mbruzekdbart:  "was" so you solved it?22:15
dbartso what I've done is added the package to our MariaDB repository, so now when the charm goes to install mariadb-server it sees and pulls in the runtime package22:15
mbruzekdbart:  what is the package name?22:15
dbartadvance-toolchain-at8.0-runtime22:16
dbartour packages (correctly) depend on it, but on the test box lazyPower was testing on the package wasn't in any of the configured repos, so apt-get failed22:17
mbruzek$ apt-cache search advance-toolchain-at8.0-runtime22:17
mbruzekI see no results for that dbart when I search on a power 8 system.22:17
dbartexactly, it's generally found in a separate IBM repository22:18
dbartso by adding it to our P8 repo when you try to install mariadb-server apt can find it22:18
mbruzekdbart: This conversation seems familiar.  Have we talked about this before?  Does MariaDB need to be built with that package?22:19
dbartIBM really wants us to build with it, it's not absoultely required, but performance is better when it's used22:19
mbruzekdbart: It is my understanding that the advanced toolchain was needed for people who build with older kernels, and this was a way to get the new compiler to older level of kernels.  My understanding is if you use modern kernels and compilers they are often newer than advanced toolchain.22:20
mbruzekdbart: If the performance is better then I am not arguing22:20
mbruzekdbart: From the conversations I have had it was obsolete and no advantage.22:21
mbruzekto have the toolchain.22:21
dbartok, I don't know about all that, I just know that our devs are still building with it...22:21
dbartI could ask them about it22:21
kwmonroenegative mbruzek - AT brings cpu flags to the table that gcc hasn't brought yet22:25
mbruzekdbart: I don't want to conflate the issue, if you have a fix that is great!  I just was telling you what my understanding was of the advanced toolchain.  Because we (Canoncial) asked about using advanced toolchain for other instances and I seem to remember that it was not needed.22:25
mbruzekkwmonroe: ahh very good, thank you for correcting me.22:25
dbartok, understood :)22:25
kwmonroeevent based branching comes to mind.. as a power8 cpu feature that's not in gcc, but is available for AT22:25
kwmonroehardware transactional memory is another.. why buy a p8 if you're not gonna STEP UP TO THE POWAHHHHH?!?!22:26
dbartmbruzek: so just a few minutes ago, with the runtime package in the repo, I was able to install MariaDB on the test instance lazyPower gave me access to22:27
mbruzekdbart: it seems my memory is not as good as it used to be.  Disregard my earlier statements about AT.22:27
dbart:)22:27
mbruzekdbart: how can I help?22:28
dbartI'm going to be going afk now, and I don't know what else there is that needs to be done... lazyPower was working on testing the charm, but hit the repo issue22:28
dbartso now that the repo issue is solved (and MariaDB can actually be installed) I assume testing can be resumed, but I don't know what lazyPower was going to do next on that22:29
mbruzekdbart: what is your branch?22:30
dbarthttps://code.launchpad.net/~dbart/charms/trusty/mariadb/trunk22:32
mbruzekdbart so let me see if I understand, your install hook now installs the toolchain that was needed for mariadb to pass on ppc64le?22:33
dbartthere's an issue with the amulet tests (they don't account for the enterprise instructions in the README)22:33
mbruzekdbart can you give me a hint?22:34
dbartyou basically need to create a ent.yaml file that has the correct information in order for the enterprise repo to work (which is where the P8 packages are)22:35
dbartI don't know how lazyPower was doing the tests (since the amulet tests, out of the box, don't work)22:35
mbruzekdbart: passing the amulet tests are something that are required for a charm to go into the recommended section of the charm store.22:36
mbruzekdbart: Do you know what is needed to make them work?22:36
dbartyes, so those need to be fixed, that's probably the next step22:36
kwmonroei know mbruzek.. the ./tests/10-deploy test is trying to install the "normal" maria packages first.  that adds a repo and does an apt-get install mariadb.  that's great, except the repo doesn't have a ppc64le arch.. so 10-deploy fails right off the bat when testing locally.22:37
dbartkwmonroe: yup, that's it in a nutshell22:38
kwmonroeon an arch that *does* exist in the mariadb repo, the next setp in 10-deploy is to "upgrade" the repo to use the secret enterprise url.  but running the test natively on power, we can't get past step 1 to get to step 2.22:38
dbartby using an ent.yaml file and passing that to deploy, you can set it up right of the bat22:38
kwmonroeyup - just like the readme tells ya to do ;)22:39
kwmonroeso mbruzek, the problem is making the amulet test do what the readme says.22:39
dbartwe really need a better solution for those that want to use the Enterprise repo, but what's outlined in the readme is all I've got at the moment22:40
dbartlazyPower was working on updating the tests I think, but I don't know how far he got22:40
mbruzekdbart: Can you refactor the amulet test to do that?  I haven't seen or used mariadb in quite some time, a bit out of the loop22:40
kwmonroei think it gets even stickier dbart.. if you want to test the enterprise repo (which is the only option for p8), you need to expose a user:password in the amulet test.22:40
dbartyup, that's the other issue22:40
dbartI've been complaining to our team about removing the login requirement (nothing but trouble IMO), but as of today it's still needed22:42
dbarttomorrow I can look into refactoring the test22:42
kwmonroedbart: is there perhaps an x-day trial user/pass?22:42
dbartperhaps, I'd need to look into it22:42
dbartanyway, I've got to go now, but I'll work on the tests (and see if lazyPower got anywhere with them) tomorrow22:44
dbartthanks all22:44
kwmonroesure dbart - i'll help you manana in case you're sick of mbruzek22:44
kwmonroe;)22:44
dbartthanks!22:44
dbart:)22:44
mbruzekdbart lazyPower is traveling across the ocean so I doubt he will be working on them22:44
dbartoh yeah, he mentioned that... :-)22:45
mbruzekdbart see you tomorrow let kwmonroe know if you need help refactoring the tests22:45
* mbruzek ducks22:46

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