/srv/irclogs.ubuntu.com/2016/05/24/#juju.txt

=== scuttle`` is now known as scuttle|afk
=== thumper is now known as thumper-dogwalk
=== redir is now known as redir_afk
=== thumper-dogwalk is now known as thumper
=== benonsoftware is now known as Guest30663
=== \b is now known as benonsoftware
jamespagegnuoy, https://review.openstack.org/#/c/319790/ if you please :-)08:20
jamespagegnuoy, beisner: we really need to start putting series in metadata09:02
jamespagemeans min version is 1.25.5 for folks not deploying via the charm store but I'm willing to faceup to that09:02
leon324hello!09:29
leon324I am having trouble here09:29
neiljerramMorning.09:29
leon324:)09:29
neiljerramWith charms?09:30
leon324with juju installation09:30
leon324I have installed maas and I want to install juju on one node09:30
neiljerramJuju 1 or Juju 2?09:30
leon3241.2509:31
neiljerram(By the way, I'm just another user - but I may be able to help.)09:31
leon324my server runs ubuntu 1409:31
leon324ok09:31
leon324i got this error always "but I always get his error "bootstrap instance started but did not change to Deployed state: instance""09:31
neiljerramOK, so what's the problem?09:31
leon324and I have found tons of references on google but I cannot find a solution09:31
leon324when i run "juju bootstrap"09:32
leon324I got failed deployment on maas09:32
neiljerramRight.09:32
neiljerramSo that's probably a MAAS issue, not Juju.09:32
leon324no i dont think so09:33
neiljerramCan you use MAAS on its own to deploy Ubuntu Trusty onto one of your MAAS-managed nodes?09:33
leon324the nodes behave as they expect on other things09:33
leon324yes they are on ready state09:33
leon324its where they supposed to be09:33
neiljerramSo if you go into the MAAS web UI, and deploy Ubuntu Trusty on one of the nodes, does that work?09:34
leon324i am not sure I understand you right09:35
leon324they have deployed Ubuntu Trusty because they have pass the commission state09:36
neiljerramCommission is not the same as deploy, I believe.09:36
leon324the nodes pxe boot found maas and have deployed on them ubuntu and now they are on ready state09:36
neiljerram'Ready' means that MAAS knows about the hardware specs of the target node, but that there isn't any OS installed on it.09:37
leon324I think the nodes are ok I have done this before but I made a format and now I got stuck here ;/09:37
leon324yeah09:38
neiljerramWhen there is an OS installed, the state should be 'Deployed'09:38
leon324aaa09:38
leon324ok then09:38
neiljerramYou need to click the Action button, select Deploy, select Ubuntu Trusty as the OS, then Go ... and see if that works.09:39
neiljerramjamespage, or other Juju experts, could I trouble you with some general questions, about charms for Trusty vs charms for Xenial...?09:42
jamespageneiljerram, hello09:42
* jamespage reads backscroll09:42
neiljerramjamespage, no need for backscroll, this is a new question.09:43
jamespageoh ok09:43
* jamespage stops reading 09:43
neiljerramApart from the upstart to systemd transition, I believe there's not really any general reason for charms to differ between Trusty and Xenial - is that right?09:44
neiljerramAnd yet, (1) charm URLs explicitly encode the series, and (2) I think there are lots of charms that exist for Trusty that haven't yet been made available for Xenial.09:45
neiljerramSo I wonder if I'm misunderstanding something.  It seems to be that it would be a better overall design for charms not to be series-specific by default.09:46
leon324where is this awesome Action button to install ubuntu on maas :D09:46
neiljerramleon324, if I remember correctly, it's at the top right of the page for a Node09:47
neiljerram*It seems to me ....09:48
neiljerramjamespage, Would appreciate your thoughts/comments on those trusty vs xenial points.09:49
jamespageneiljerram, you are quite right in that there is not a huge diff between trusty and xenial charms - all of the 26 core openstack charms support all series right back to 12.04 as well09:50
jamespage1) yes charm URL's do encode series - however it is possible to embed the series supported by a charm in the metadata as of 1.25.509:50
jamespagewell 2.0 actually but 1.25.5 will not bork on them09:50
jamespageseries:09:50
jamespage  - trusty09:50
jamespage  - xenial09:50
jamespagefor example09:50
jamespagewhen a charm that declares this is published to the store using charm push/publish, the store will sort out all of the series oriented URL's for backwards compatibility with 1.25.5 etc..09:51
neiljerramAh, nice.  And in the charm store, does the charm then get a series-independent URL?  Or does 'charm push' create two URLs, one for each series?09:51
jamespage2) yes that's quite true - a number of charms are on trusty but not xenial as yet - its really up to the maintainers of the charms to sort that out09:52
jamespageneiljerram, I think the charmstore creates the URL's on the fly for different series, but there is also a series independent URL as well09:52
jamespageneiljerram, the openstack charms don't do the series in metadata just yet but will do soon09:53
neiljerramjamespage, Could you give me an example of a series-independent URL?09:53
jamespageneiljerram, https://jujucharms.com/u/james-page/aodh/909:55
neiljerramjamespage, Thanks, this has been really helpful.09:55
jamespageneiljerram, np09:56
magicaltroutif you kid pulls the keys off your keyboard, you buy replacements, get them shipped from the US and they are the wrong type12:29
magicaltroutis it then acceptable just to throw the laptop in the bin and buy a new one?12:29
stuba new kid?12:30
magicaltroutlol12:31
magicaltroutboth12:31
jamespagegnuoy, sparkiegeek does not like my changes to the unit tests on https://review.openstack.org/#/c/31979013:06
jamespagedosaboy, I still don't like the fact that rmq actively manages its /etc/hosts file with peer IP/host information, but it just saved my bacon fixing things up for Juju 2.013:24
lazyPowerjamespage - a lot of erlang/java apps need the hostname hacks :/13:24
jamespagelazyPower, indeed - but I don't think it unreasonable that Juju should provide a minimum viable environment for this type of thing13:25
lazyPowerits unfortunate that we dont always get FQDN, resolveable hostnames, etc.  - seems like such an oversight on any given cloud, but its more prevalent than i care to admit.13:25
jamespagelike the hostname of each unit should always be resolvable13:25
lazyPowerright, there was talk about folding DNS into juju13:25
jamespagefor example13:25
jamespagedosaboy, gnuoy: https://review.openstack.org/#/c/320450/13:25
lazyPoweri would assume hostname would be part of that13:25
jamespagebdx, ^^ you'll need that one as well13:26
jamespagelazyPower, I really hope so13:26
lazyPowerjamespage - ready for the real fun bits? GCE generates hostnames > 64 characters and tanks just about any java service thats not running a java-8 jre13:26
lazyPower\o/ yay13:26
jamespagelazyPower, lol13:26
jamespagelazyPower, wait - who's not running on java-8?13:26
jamespage;)13:27
jamespageoh yeah - everyone...13:27
lazyPoweranyone deploying java5-7?13:27
lazyPowerwhich as you said, is everyone13:27
stublazyPower, jamespage : I get the impression juju-core thinks /etc/hosts is the responsibility of cloud-init, and vice versa (Cassandra is bitten by this too, so add Java to the list)13:28
jamespagemaybe I'll email list about this13:28
jamespagestub, point is that juju control's cloud-init right?13:28
jamespagestub, oh yeah the ol 127.0.1.1 java problem13:28
jamespageI remember that welll13:28
tinwoodgnuoy, jamespage the new charms.openstack module is now (temporarily) at https://github.com/ajkavanagh/charms.openstack along with the barbican layered charm that uses it at: https://github.com/ajkavanagh/charm-barbican -- please take a look and see what you think when you get a moment?13:28
stubI would think juju, as it also needs to handle the ip address changing13:29
gennadiyhello everyone, time to time juju-gui is stuck and doesn't display new changes in env. some relation are missed some services too. how to restart it?13:48
rick_h_gennadiy: just reload the page13:51
rick_h_gennadiy: hatch or kadams54 might be able to help if it's more than that ^13:51
hatchHello13:51
hatchgennadiy: hae you tried refreshing the page?13:51
gennadiyyes. i tried13:52
gennadiycan we restart process?13:52
hatchwhat version of Juju?13:52
gennadiy2.013:52
hatchhmm13:53
gennadiyalso it doesn't display icons of local charms13:53
hatchthat is a known issue13:53
gennadiyas i remember previously we have posibility to restart service13:54
hatchgennadiy: can you open the browser console to see if there are any errors? ctrl+shift+i and then refresh13:54
hatchgennadiy: also are you using the gui charm or the gui which ships with juju 2? `juju gui`13:54
gennadiya lot of13:54
gennadiycharm13:54
gennadiydoes juju 2 has own?13:55
hatchcan you paste an example of what one of the errors are?13:55
hatchgennadiy: yes simply run `juju gui` from the CLI :)13:55
gennadiycombo?app/assets/javascripts/yui/datatype-date-format/datatype-date-format-min.js&app/views/utils-m…:40 Unknown delta type: actionInfodefaultHandler @ combo?app/assets/javascripts/yui/datatype-date-format/datatype-date-format-min.js&app/views/utils-m…:40(anonymous function) @ combo?app/assets/javascripts/yui/promise/promise-min.js&app/models/models-min.js&app/store/endpoint…:5onDelta @ combo?app/assets/javascripts/yui/promise/promise-min.js&app/models/13:55
gennadiycharms:1 GET https://user-admin:b9827e013d95a78059cb80be4c3471c1@10.9.8.246/juju-core/charms?url=local:trusty/ixia-load-module-1&file=icon.svg 500 (Internal Server Error)13:55
gennadiyseen the last - it's icon issue13:56
hatchahh13:57
hatchhmm13:57
hatchgennadiy: can you try the version of the gui that ships with Juju? To see if it's working, I believe this might be a regression13:57
hatchI'm just investigating right now13:57
hatchgennadiy: I'm assuming that this issue happened after you either a) deployed a charm with an action or b) performed an action on an active service - can you confirm either of these?13:59
gennadiyi think we have charms with actions.14:04
hatchgennadiy: yeah, judging from that error message you do. :)14:05
gennadiythe same result with embedded juju gui14:06
hatchgennadiy: ok thanks, this is a regression and we'll have to get on working on a fix right away14:06
hatchgennadiy: would you be able to create an issue on our GitHub repository? https://github.com/juju/juju-gui/issues/new That way you will be notified as we work on it?14:07
gennadiymay i fix it locally?14:07
gennadiyi think i can edit js script on juju-gui server manually14:08
hatchgennadiy: I'm actually still investigating - are there any other console errors that aren't what you've already pasted?14:10
gennadiyno, only these14:10
hatchgennadiy: both of those errors should have been able to self-recover from so I'm looking for other places in which an issue may have been introduced14:15
stubmarcoceppi: So how do I get from cs:~postgresql-charmers/postgresql to cs:postgresql now days?14:15
marcoceppistub: it needs to be promulgated, which is a new process, is postgresql ready to be updated to this?14:21
marcoceppistub: ie, does it upgrade cleanly, etc?14:21
jamespagegnuoy, revised - https://review.openstack.org/#/c/319790/214:22
jamespagetinwood, looking14:22
gnuoyjamespage, happy to +2 post-smoketest14:24
jamespagegnuoy, okies14:24
gnuoyjamespage, well, Jenkins lint + unit is enough14:25
jamespagegnuoy, probably :-)14:25
=== skay is now known as skay_
stubmarcoceppi: yes, this is the best version.14:29
stubmarcoceppi: it has upgrade tests, is being used internally by several teams, and is what we are using to deploy production servers (the SSO uses this charm)14:30
jamespagetinwood, https://github.com/openstack-charmers/charms.openstack forked from your repository14:31
marcoceppistub: cool, didn't doubt just wanted to double check14:31
jamespagetinwood, setup.py has some deadwood from whereever you copied it from :-)14:31
marcoceppistub: so, going to pm14:31
tinwoodthanks jamespage; re setup.py -- oh yes, so it does!  I'll fix that.14:32
tinwoodThat's one a wrote a while ago ...14:32
jamespagetinwood, https://github.com/openstack-charmers/charms.openstack/pull/114:34
jamespagetinwood, I think that brings us inline with charms.reactive and oslo.*14:35
tinwoodjamespage, yes, that looks right.  just to check my heads on right; that changes the import from 'import charms_openstack' -> 'import charms.openstack', or does it?14:37
* tinwood is getting confused.14:37
jamespagetinwood, no pe14:38
jamespagenope rather14:38
jamespagetinwood, example: https://github.com/openstack/oslo.messaging14:38
jamespageimport oslo_messaging14:38
jamespagemodule name is oslo.messaging14:38
tinwoodjamespage, so the change only alters the name in pypi, and setup, pip, etc.14:40
jamespagetinwood, yes that's correct14:40
tinwoodconfusing as hell.  It explains why I've always kept them the same in the past.14:40
sgHi, Can any one please tell me when config.changed.<option> of basic layer will be set true? because i'm not setting any config option using 'juju set' command but also this state is set as true and triggering the decorated function.14:43
tinwoodjamespage, https://github.com/openstack-charmers/charms.openstack/pull/2 touché :)14:44
sgI have given some default values in config.yaml and i'm not changing that value using 'juju set' command14:47
gennadiyone more issue with juju - if it can't create machine it will not allow to remove service at all. i deployed service with wrong constraints value and now i can't delete it. " cannot assign unit "sipp/0" to machine: cannot assign unit "sipp/0" to new machine or container: cannot assign unit "sipp/0" to new machine: invalid constraint value: instance-type=m3.medium valid values are: [m1.tiny m1.small m1.medium m1.large m1.xlarge m1.t_tiny m1.t_small m1.demo]"14:59
lazyPowergennadiy : juju remove-machine --force  is an option15:02
gennadiymachine is removed15:02
lazyPowerand with no "machines" backing a service it should be trivial to juju destroy-service foo15:02
sgwhen config.changed.<option> reactive state of basic layer will be set true? because I'm changing any of the default config values using 'juju set' command but also this state is set as true and triggering decorated function.15:04
lazyPowersg - i believe that state will be true on the first-run of the charm. I may be incorrect.  The backing code managing those states can be found here: https://github.com/juju-solutions/layer-basic/blob/master/lib/charms/layer/basic.py#L12615:05
sgI'm not understanding when exactly config.changed.<option> state will set as true15:05
lazyPowersg - so it appears to me that on first execution, those states will trigger true, then if the value is != '', it will toggle the .set state, and if the value has changed from a prior context run, it toggles the .changed state15:08
cory_fusg: lazyPower is correct.  config.changed.<option> is always set during the first hook execution and thereafter only if the option changes from the previous value.  config.set.<option> is set as long as the value is non-empty and not false, even if that non-empty or true value is the default value.15:11
lazyPowercory_fu - why/how does this work? https://github.com/juju-solutions/layer-basic/blob/master/lib/charms/layer/basic.py#L144 it seems to me that it should be guarded by an if statement checking if the value is none/empty and if its already doing that, its not-obvious15:13
cory_fulazyPower: config.get(opt) will return None if the value doesn't exist, or the value otherwise.  The value is then treated as a bool and if "truthy", the state will be set, otherwise it will be removed15:15
lazyPowerah ok15:15
=== Oer is now known as OerHeks
lazyPoweri figured there was some magic going on there15:15
cory_fubool(None) is False, bool('') is False, bool(False) is False obviously15:15
cory_fubool(0) is False15:15
lazyPowerso the toggle is a bit of a misnomer as its toggle_if_true()15:15
cory_fuEverything else is True15:16
lazyPowers/misnomer/potentially-misleading-me-because-i-dont-know-better/15:16
cory_fuIf you leave off the second arg, then it does a toggle.15:16
lazyPoweryeah15:16
lazyPowerok, cool!15:16
lazyPowerthe more you know15:16
cory_fulazyPower: Actually, that's wrong.  The second arg to toggle_state is actually required15:17
sgcory_fu, Then if we provide default value for config.option and if we chnage that default value using 'juju set' command then only config.set.<option> state will be true right?15:18
cory_fusg: config.changed.<option> will be set for a single hook execution, just after it's changed.  config.set.<option> will be set indefinitely, just as long as the value is True-ish15:20
cory_fuBut if the default is True, and you change it to False, then config.set.<option> will *not* be set15:21
cory_fuI considered adding a config.default.<option> that would just tell you if it's non-default15:21
lazyPowerblahdeblah   ^15:21
cory_fuWould that be useful?15:21
lazyPowerblahdeblah - you'll want the last 15 minutes of scrollback, as this is directly proportional to your discovery the other night15:21
cory_fulazyPower: proportional?15:22
lazyPoweryeah, we were riffing over these states on sunday evening15:22
lazyPoweri was 80% right15:22
lazyPowerthat last 20% though... i'd rather correct my oversights with evidence of the truth than leave it incorrect.15:22
cory_fulazyPower: http://www.prdaily.com/Uploads/Public/i-do-not-think-it-means-what-you-think-it-means.jpg15:22
cory_fu;)15:22
tvansteenburghlol, knew that was coming15:22
lazyPower> corresponding in size or amount to something else. - mirriam webster tells me it means what i thought it meant15:23
cory_futvansteenburgh knows me so well.15:23
sgok cory_fu, If I want to check the value other than default value I should use config.default.<option> state right?15:25
cory_fuOh hey, that state is already there, even.  sg: Yes, it sounds like you want the config.default.<option> state15:26
sgI'm bit confused of these config states.15:30
sgcory_fu: yes, I want the function to trigger when default value changed to some other value and even that value changes.15:30
jcastrolazyPower: anyword on those fixes for that bundle for kibana?15:31
lazyPowerjcastro - ah charms have been revv'd, cory_fu  revv'd the bundle yesterday i do believe15:31
lazyPowerwrt the big d bundle15:31
lazyPoweri still need ot rev the beats-core bundle, as i space that off until you just drew my attention to it15:32
cory_fusg: So, config.default.<option> will be set as long as the value is the default value.  You can use @when_not('config.default.<option>') to trigger when the value is something other than the default.  But be aware that the state will be set / removed for *every* hook based on the value.  If you only want to trigger a handler once and only when the value is non-default, you can use something like this: http://pastebin.ubuntu.com/16657316/15:34
cory_fulazyPower: I rev'ed the big data bundle, but not the belk stack bundle15:35
cory_fujcastro: https://jujucharms.com/apache-processing-spark/ is up to date15:35
cory_fukwmonroe: I updated the apache-bigtop-base PR with the corrected patch15:37
kwmonroeack cory_fu - gracias15:38
sgok thanks cory_fu and lazypower.15:43
lazyPowercory_fu https://github.com/juju-solutions/bundle-beats-core/pull/115:44
cory_fulazyPower: No pretty picture?  :(15:45
lazyPoweroo 1 sec15:45
lazyPoweri forgot all about that15:45
cory_fu:)15:45
cory_fuIt actually can be useful, because it can catch a charm rev that doesn't exist (though not an out-of-date charm rev, unfortunately)15:45
cory_fuPlus it looks really neat.  :p15:46
lazyPowercory_fu - refresh the comments and *bam*15:46
cory_fuHrm.  Your circles overlap15:47
cory_fuIs that intentional?15:47
lazyPowerare you nit picking the svg?15:47
lazyPowerreally?15:47
lazyPowerhang on i'll add anotehr 50 px to the annotations15:47
cory_fuThis is how your bundle will look in the store.  Don't you want it to look nice?15:48
lazyPowerI'm the reason we cant have nice things15:48
cory_fu:)15:49
lazyPowercory_fu give it another whirl?15:49
cory_fuLooks really nice15:50
cory_fu+115:50
lazyPowerta15:50
DavidRamahello, is it possible to use juju + lxd with a bridge that is directly connected to my local lan (ie no private LAN + NAT) ?15:50
cory_fuDavidRama: I'm afraid I don't really know anything about lxd bridging.  Can you perhaps explain more about your use-case?16:00
=== redir_afk is now known as redir
jamespagegnuoy, thedac: could either of you take a look at https://review.openstack.org/#/q/topic:bug/157257516:38
mupBug #1572575: Charm looks for JUJU_ENV_UUID but that does not exist in juju 2 models <bug-squad> <canonical-bootstack> <juju-2.0-api> <landscape-client-charm:Triaged> <landscape-client (Juju Charms Collection):Triaged> <swift-proxy (Juju Charms Collection):Fix Committed by james-page>16:38
mup<swift-storage (Juju Charms Collection):Fix Committed by james-page> <https://launchpad.net/bugs/1572575>16:38
jamespage(the open ones)16:38
thedacjamespage: will do16:39
jamespagethey both pass smoke and I don't really think a full recheck is worth the CPU time16:39
thedacjamespage: done16:44
jamespagethedac, ta16:45
=== bruno is now known as Guest6887
stokachuso im trying to update my dokuwiki layer and running into this issue: https://paste.ubuntu.com/16660726/17:24
stokachuusing charm-tools 2.1.217:25
stokachudo i still have to export all the LAYER_PATHS etc?17:25
stokachulazyPower: ^?17:26
lazyPowerstokachu - right, if your trying to build with a layer that doesn't exist in the registry, you'll need to ensure you have $LAYER_PATH and $INTERFACE_PATH set17:27
stokachulazyPower: ok17:27
stokachulazyPower: so i set them all and still same error17:28
stokachuheres the latest https://paste.ubuntu.com/16660929/17:29
lazyPowerstokachu - looks like thats bubbling up from the installer tactic, aka pip install directives/ package install directives17:31
lazyPowerlink / paste to your layer.yaml?17:31
stokachuhttps://github.com/battlemidget/juju-charm-dokuwiki/blob/master/layer.yaml17:32
stokachuin the process of upgrading this layer17:32
stokachuwell charm i mean17:32
lazyPowerweird, none of the layers define extra packages than i can see17:32
lazyPowerstokachu - i'm not certain, can you file a bug against charm-tools?17:33
stokachusure17:33
cory_fukjackal: You asked if we would have a bundle that included both Spark and Hadoop, in particular for the Bigtop charms.  I think we will; it'll probably be something like the current realtime-syslog-analytics bundle, though I think we were thinking about renaming that (kwmonroe?)18:08
cory_fukwmonroe: Also, I assume we want to rename the apache-bigtop-spark charm to bigtop-spark to match the Hadoop charms?18:11
kwmonroeyeah cory_fu kjackal, for the spark bundle, we should consider whether we want spark workers or nodemangers.  i'm assuming workers with no yarn at all.. so maybe 'spark-processing-hdfs' for a reference bundle, or something that more closes matches whatever it is that bundle does.18:15
cory_fuWouldn't something like bigtop-processing-spark-hdfs better match our current convention?18:16
kwmonroeour current convention is hadoop-processing18:16
kwmonroehttp://jujucharms.com/hadoop-processing18:16
cory_fuOh, right18:17
kwmonroehow about engine-pillar[-storage] where engine: {hadoop, spark, flink}, pillar: {ingestion, processing, visualization}, storage: {None (implied), cassandra, s3, etc}18:19
kwmonroemy shed is too red for this right now.  mull on it, we can vote later.18:20
cory_fu:)18:20
hatchhow do I deploy a namespaced bundle from the CLI?18:24
kwmonroehatch: pretty sure it's juju deploy cs:~<user>/bundle/<name>18:26
hatchahhh18:26
hatchdidn't try that format18:26
hatchthat was the one18:26
kwmonroecool18:26
hatchtried all the others I guess18:26
hatchhaha18:26
hatchthanks!18:27
kwmonroenp18:27
kwmonroecory_fu: new bigtoppers looking good with that updated patch.  lots of "2.6 GB of 2.1 GB virtual memory used", but not cry babies.18:45
cory_fukwmonroe: Nice.18:51
kwmonroecory_fu: todos are then to merge the base layer, build/push/publish the charms, update bundle with revnos, build/push/publish the bundle, and then fixup PR 108?18:54
cory_fuSounds  right18:55
kwmonroecory_fu: https://github.com/juju-solutions/layer-apache-bigtop-base/pull/1019:00
cory_fuYou want me to click Merge?  :)19:01
cory_fuDone19:02
cory_fukwmonroe: Oh, I need to create a JIRA for that patch, too19:06
kwmonroeyeah cory_fu, and you may want to split the patch.. one for datanode ip reg and one for nodemgr vmem.  up2you if you think they'll enforce a 1-fix-per-jira policy.19:07
cory_fuI think it would be good to split them19:08
kwmonroei think it would be good for you to split them as well19:08
cory_fukwmonroe: Can you walk me through how you created the patch JIRA?19:09
kwmonroeof course cory_fu!  it's your birthday19:09
cory_fu:)19:09
kwmonroedbd HO?19:09
cory_fuYeah man19:10
jcastrolazyPower: http://paste.ubuntu.com/16663827/19:18
jcastroso pretty19:18
lazyPowerYeahhhh buddy19:18
lazyPowerThat looks great. awesome work cory_fu and team19:18
lazyPowerjcastro - and thats deployed on the lxd provider right?19:19
jcastroyeah19:20
jcastroI did a pagerank action on spark, 10.6 seconds is my score19:20
lazyPowernot bad brobama19:22
jamespagethedac, if you have a moment - https://review.openstack.org/#/c/319779/19:23
thedacjamespage: I'll take look20:04
mpjettaanyone know if the openstack-charmers hang out somewhere on irc?20:42
jcastroin here20:42
mpjettaahh ok, thanks20:42
jcastrothough a few are on holiday, so the list might get you a faster response, depends20:42
mpjettaty20:42
magicaltroutand time of day, more seem to be around earlier20:45
magicaltroutmarcoceppi: when i messed up my lp username a while ago you said I could create an organisation and push charms to that, was that correct?20:48
magicaltroutor jcastro or someone who might know20:48
jcastroyou should be able to yeah20:49
jcastrocharms can live anywhere now20:49
magicaltroutyeah but charm publish will still need a namespace in LP somewhere even if they live in github or somewhere, I believe?20:50
mpjettaI’ve been trying to get https://jujucharms.com/u/openstack-charmers-next/openstack-base-xenial-mitaka/bundle/4 working for a few days now. I can bootstrap juju and get the openstack services UP and talking to eachother. However, I can’t seem to properly create the internal and ext_net networks. I see from the description of the charm that the ext_net should be on the maas’ nodes’ eth1 interface but don’t see the mappings or config to actually20:52
mpjettathat network on the NIC20:52
lazyPowermagicaltrout - only if you wish your charms to be owned by a group in launchpad, vs your personal namespace20:55
magicaltroutyeah lazyPower thats pretty much the idea20:55
lazyPoweroh i just read the supporting lines to that question/statement20:55
lazyPoweryeah you're on point.20:55
magicaltroutthat said i can't find how to create an org20:55
magicaltrouteven google fails me :(20:55
lazyPower1 sec i'll send you a link20:55
lazyPowermagicaltrout https://launchpad.net/people/+newteam20:56
magicaltroutta20:56
lazyPowernp, its hidden on "http://launchpad.net" as "register a new team"20:57
lazyPowerjust fyi if you need to do this in the future20:57
magicaltroutthanks20:58
magicaltroutI need to start pushing some Apache stuff, so I wanted an org/team as a holder that was outside of my namespace to try and make it more inclusive20:59
lazyPowermakes sense20:59
magicaltroutso we now have /apachefoundation for some charms we're working on20:59
petevgcory_fu, kjackal, kwmonroe: I'm thinking of adding a README.md to layer-apache-bigtop-base, noting that the layer will run Bigtop.install for you, and then you want to run Bigtop.render_site_yaml and Bigtop.trigger_puppet explicitly in your own layer, to make it do its magic.21:25
petevgDo we have any docs that I can base the rest of the README off of?21:25
petevgOr should I just drop in my current understanding, based on the code that I've read today, and push it for review so y'all can tell me all of the things that I got wrong?21:26
magicaltroutfrom an outsiders point of view, this is one of the better readmes https://github.com/juju-solutions/layer-hadoop-client/blob/master/README.md21:26
petevgmagicaltrout: Cool. I will give that a read-through, and steal its good ideas :-)21:27
cory_fu+1 to magicaltrout's suggestion.21:27
magicaltroutlazyPower: charm push . cs:~apachefoundation/trusty/joshua-full21:33
magicaltroutERROR cannot post archive: unauthorized: access denied for user21:34
magicaltroutgot any clue?21:34
magicaltroutworks when i push to my local namespace21:34
magicaltroutoh hold on21:36
magicaltroutgood old google and aisrael https://github.com/juju/docs/issues/99321:36
magicaltrouthmm no difference21:37
lazyPowerjrwren halp21:38
lazyPoweroh wait21:39
lazyPowermagicaltrout - try doing a charm whoami to refresh your groups and try again21:39
lazyPoweri dont know why this would work, but stranger things have happened21:39
lazyPowermainly i want to verify you have apachefoundation in your user groups21:39
magicaltroutyeah doesn't make a difference https://github.com/juju/charmstore-client/issues/33 i've landed here21:39
magicaltroutso I'll dig up an update if there is one21:39
magicaltroutsee if it makes a difference21:40
cory_fuaisrael: I'm not sure that issue is valid.  We have no trouble pushing to ~bigdata-charmers which is restricted21:40
lazyPowermagicaltrout - that says log out / log in and it should be fixed21:40
lazyPowerits due to SSO handing over the membership details, and it didnt exist at the time of initial login21:40
magicaltroutyeah its a lie21:41
magicaltroutlogout does nowt21:41
lazyPowercrap :/21:41
lazyPowerherrings of redness abound21:41
magicaltrouthehe21:41
magicaltrouthow does one go about upgrading charm tools21:41
* magicaltrout heads over to his favourite search engine21:41
magicaltroutthere's ppa's and stuff for this now, right?21:41
lazyPoweri was told never to reveal teh secrets21:41
lazyPowereveryone and anyone should be installing from archive per marcoceppi21:42
magicaltroutlast time i did any major juju installation it was from trunk, but i'm on a fresh-ish xenial install and just apt-got it ages ago21:42
lazyPowerbut between you and i, if you fire up a virtualenv, you can rev charm-tools in that venv safely without polluting your environ.21:42
lazyPoweryou'll have to pip install ./ from the charm-tools tree... but we dont recommend that *notice*21:43
magicaltrouthmm21:45
magicaltroutwell marcoceppi says in that gh issue that 2.1.2 has the fixes and james can see the group21:46
magicaltroutso something else is messed up as well21:46
magicaltroutwhere does charm tools cache its login and stuff?21:46
magicaltroutcan I flush it?21:46
lazyPoweri think thats in .go-cookies21:46
lazyPowerits using a token-based auth mechanism21:46
magicaltroutoh hold on, there's a major/major logout21:46
magicaltroutnot just a charm logout21:46
magicaltroutbleh I've logged out of everything and i'm still not in my own group21:49
magicaltrouteven though i'm an owner21:49
magicaltroutokay, so here's another angle22:02
magicaltroutas a lowly user22:02
magicaltroutif I login to the jujucharmstore.com22:02
magicaltroutshould it work?22:02
magicaltroutjrwren says in that ticket that charm tools gets the groups from the charm store22:02
magicaltrout"Sorry for the inconvenience, please pop back soon."22:03
arosalesmagicaltrout: what charm tool version are you on?22:15
magicaltroutarosales:22:15
magicaltroutbugg@tomsdevbox:~/charms/trusty/joshua-full$ charm version22:15
magicaltroutcharm 2.1.1-0ubuntu122:15
magicaltroutcharm-tools 2.1.222:15
magicaltroutlatest afaik22:15
arosalesyup, that looks like the latest and what I have on my machine22:16
arosalesmagicaltrout: and reading the backscroll sounds like you can't put to a group22:16
arosaless/put/push/22:16
magicaltroutyeah, but I also can't login to jujucharms.com (I don't know if users are supposed to or not)22:17
magicaltroutso I'm wondering if they are related22:17
arosalesmagicaltrout: you should be able to login to jujucharms.com22:17
magicaltroutoh in that case my account is screwed up somewhere22:17
arosalesits via openid22:18
magicaltroutyeah, i changed my id22:18
magicaltrouti suspect jujucharms.com can't cope22:18
magicaltroutwoop22:18
arosalesmagicaltrout: so https://jujucharms.com/login/ does not work for you?22:18
magicaltroutno it tells me to pop back soon22:19
arosales:-/22:19
magicaltroutthe USSO login works22:19
magicaltroutis post auth22:19
arosaleshttps://help.launchpad.net/YourAccount/OpenID?action=show&redirect=OpenID22:19
magicaltroutso I guess charm tools can't grep my groups because it will also get redirected under the hood22:19
arosalesunder "Can I change my OpenID"22:19
arosalesmagicaltrout: did you change our lp id recently?22:20
magicaltroutmonths ago22:20
magicaltroutprobably 622:20
arosaleshmm well that should have only affected sites you were already logged into22:20
magicaltroutbut i've only ever pushed stuff to my namespace and never logged into jujucharms.com22:21
arosalesand sounds like you have tried to log in/out a couple of times22:21
magicaltroutyeah 2 different browsers, 2 servers with charm tools installed22:22
magicaltroutsame result22:22
arosalesgiven jujucharms.com/login does not work for you it feels like an OpenID issue22:22
magicaltroutwell openid works on LP22:23
magicaltroutso I know it works in some domains22:23
arosalesgood data point22:23
magicaltroutactually arosales, full disclosure, a while ago some devs' hacked my account around on jujucharms.com because of my LP name change, so it may be that whilst the oauth stuff works on the push side to my namespace, its finding multiple users with the same ID or something22:25
arosalesmagicaltrout: possibly22:26
arosalesmagicaltrout: lets open an issue to track this22:26
arosalesmagicaltrout: can you collect the error you see when pushing22:26
arosalesalong with charm whoami22:26
magicaltroutsure, where do you want me to file it?22:26
arosales@ https://github.com/juju/charm-tools/issues22:27
magicaltroutta22:27
arosalesmagicaltrout: if you add me to a ~apachefoundation I can try to replicate the problem22:28
arosalesbut I am guessing its on the auth/SSO side22:28
arosalesmagicaltrout: also be sure to mention you have done charm login/logout22:28
arosalesand jujucharms.com/login also fails for you22:28
magicaltroutyup22:28
magicaltroutadded, i'm sure you'll have more success than me22:29
arosalesmagicaltrout: and we should also ping in #canonical-sysadmin and see if they have any insights22:29
arosalesmagicaltrout: https://launchpad.net/~arosales528 isn't me22:29
magicaltroutoh well22:29
magicaltrouti shall remove that imposter22:30
arosalesbut https://launchpad.net/~arosales is  :-)22:30
magicaltrouthow dare someone share a similar name22:30
arosalesI know, right22:30
magicaltroutalright i submitted #21122:33
arosalesmagicaltrout: interesting whoami doesn't show apachefoundation for me atm22:37
arosalesI wonder if I push  . . .22:37
arosaleswhat to push though22:38
arosalesmagicaltrout: interesting . . .22:45
arosales$  charm push . cs:~apachefoundation/trusty/apache-boilerplate22:45
arosalesERROR cannot post archive: unauthorized: access denied for user "arosales"22:45
magicaltrouthmm22:46
magicaltroutand whoami doesn't show you in it?22:46
* arosales will try login/logout since it was a new addition to the team22:46
arosalesmagicaltrout: correct whoami hasn't shown me to be in apachefoundation group yet22:46
arosalesmagicaltrout: still no luck on my side with pushing to that group, or seeing it my list of groups via whoami22:49
magicaltroutweird22:49
arosalesmagicaltrout: I don't see it in your whoami either22:49
magicaltroutnope22:49
magicaltroutall in all, i think i can safely say its not working :)22:50
arosalesalas, yes :-/22:50
magicaltroutoh well, i'll leave the ticket lurking and see what someone says22:52
magicaltroutthanks for validating it though arosales22:52
magicaltroutits a bad day when a canonical employee can't do something on LP ;)22:53
arosalesmagicaltrout: I created https://launchpad.net/~ai-charmers22:54
arosalesand I don't see that in my group list22:55
arosalesso this may be an issue of groups being updated.22:55
arosalesI'll update the issue with this22:55
magicaltroutta22:55
arosalesbut its a good day when I see stuff like "cs:~apachefoundation/trusty/joshua-full" :-)22:55
arosalesjust super  frustrating you can't share it :-(22:56
magicaltrouthehe, well its no big rush, its not completely done, but i did want to push it to a development branch so I could demonstrate it to the guys on the project. That said, there's no huge rush, so I'll just sit it out.22:57
magicaltroutI'm suppoesd to be talking to Alejandra at the end of the week about the apache page as well22:59
magicaltroutwhich is good22:59
arosalesmagicaltrout: sorry about the issue, I did add a comment to https://github.com/juju/charm-tools/issues/21123:04
magicaltroutyeah its no problem arosales thanks for looking into it23:04
arosalesmagicaltrout: ya ale mentioned that today, be great to get a nice landing page for apache projects23:05
magicaltrouti'll file a ticket on GH jujucharms.com about my login as, even if the group suddenly appears, I should be able to login to the website23:08
arosalesmagicaltrout: correct, I didn't see that issue23:08
arosalesI am able to login to jujucharms.com23:08
magicaltroutyeah, i'm sure that must be LP nameswitch/devs hacking the database for me/ related23:09
arosalesbut mainly we need to get folks to easily create an lp team and then start pushing to it23:10
arosalesmagicaltrout: we should see a reply on the list when folks in the UK come back online during normal business hours23:11
arosalesnot magicaltrout 24 hours :-)23:11
magicaltroutbleh. And on that note, I'm off for at least 5 hours :P23:13
magicaltroutthanks again arosales23:14
arosalesgood night magicaltrout23:20

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