/srv/irclogs.ubuntu.com/2014/11/21/#juju.txt

=== thumper is now known as thumper-sushi-ru
=== thumper-sushi-ru is now known as thumper-sushirun
=== thumper-sushirun is now known as thumper
=== Spads_ is now known as Spads
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== fuzzy is now known as Ponyo
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
stubI have banged out Python3 support for charm-helpers, https://code.launchpad.net/~stub/charm-helpers/py3/+merge/24246009:17
stubI've love a review ASAP since branches like this will grow conflicts with every landing09:17
=== kadams54 is now known as kadams54-away
erkulesahoi, what platforms are supported by juju?11:51
tvansteenburghstub: thanks for the py3 charmhelpers branch! gonna review that now13:55
stubtvansteenburgh: ta.13:56
darknet_lazypower_: hi how are you?13:57
darknet_lazypower_: I've re-install everything using the guide published of Marco Ceppi (http://marcoceppi.com/2014/06/deploying-openstack-with-just-two-machines/). But the result is the always the same when I try to open the horizon I see just a white page!!!13:59
darknet_someone can help me, please?14:04
darknet_and from host machine a can ping that using either IP address or FQDN.14:13
=== jcsackett_ is now known as jcsackett
bloodearnesthm, how does one use t2.micro instance-type on amazon?14:22
bloodearnestah. https://bugs.launchpad.net/juju-core/+bug/133647314:24
mupBug #1336473: Support new t2 instance types on AWS <ec2-provider> <juju-core:Triaged> <https://launchpad.net/bugs/1336473>14:24
bloodearnestbummer14:24
darknet_anyone can help me???14:49
marcoceppidarknet_: I'm about to follow my directions again to see if I can reproduce the issue14:58
darknet_marcoceppi_: hi Marco, thanks a lot for your reply. I also send y a private message about that issue.15:01
darknet_ marcoceppi_: I've re-install everything and I've the same issue...a white page15:02
lazyPowergreetings darknet_15:06
lazyPowerhave you confirmed no further relationships are running in your environment? ran juju debug-log and saw no chatter amongst units reporting they are still doing anything?15:06
lazyPowercan i get a quick pair of eyes on https://code.launchpad.net/~bigdata-dev/charms/trusty/hdp-hadoop/trunk/+merge/242414 ?  I need to get this landed for CTS today15:32
dpb1lazyPower: looking15:33
lazyPowerthanks dpb115:33
marcoceppilazyPower: why are you removing usr/bin/env?15:34
dpb1lazyPower: what kind of testing have you done?15:34
lazyPoweri didnt catch that marcoceppi - but a quick push will fix that15:34
lazyPowerdpb1: deployed on canonistack, and hpcloud leveraging the tests in the charm suite - HDFS DFSADMIN report yields a good cluster, and terragen/sort smoke tests15:35
marcoceppilazyPower: why do you have amir's branch in the bundle? wouldn't you want amulet to use the CWD charm?15:35
lazyPowermarcoceppi: that was inhereted from amirs branch - when i ran the tests i pointed it at ~bigdata-dev15:37
marcoceppilazyPower: just drop all that in general15:38
lazyPowerwhen i push this from bigdata-dev i'll update to use the cs resource - however in bundles whats the proper format for calling CWD?15:38
marcoceppiand put charm: hdp-hadoop15:38
lazyPowermarcoceppi: when i ran that it deployed cs:trusty/hdp-hadoop15:38
marcoceppiamulet will see that the charm its testing is that and use the directory the test is launched from15:38
marcoceppihow did you test?15:38
lazyPowerwith JUJU_REPOSITORY set, it didnt deploy that, it picked the CS resource over local15:38
lazyPowerbundletester and executing the script directly15:38
lazyPowereg: tests/10_deploy15:39
marcoceppiidontbelieveyou.gif one second15:39
marcoceppiso, I don't know if bundletester sets JUJU_TEST_CHARM15:40
marcoceppibut if you set that to hdp-hadoop15:40
marcoceppiit will work15:40
lazyPowerok, so you want me to nuke the branch bits and export that env var and re-test?15:41
marcoceppiwait15:41
marcoceppitvansteenburgh ^?15:42
tvansteenburgh?15:42
* tvansteenburgh reads scrollback15:43
tvansteenburghif the the charm name matches the local dirname amulet will deploy the local charm15:45
lazyPowerthats not consistent with what i saw lastnight but i'm running another test on it now15:46
lazyPoweri know thats the case when the service is declared in the test itself - but the bundle was consistently picking cs:trusty/hdp-hadoop15:46
tvansteenburghis the bundle file being loaded by amulet15:47
tvansteenburgh?15:47
tvansteenburghor just picked up implicitly by bundletester15:48
lazyPowerits being loaded by amulet15:48
lazyPowerself.d.load(yaml.safe_load(bun))15:48
tvansteenburghok15:49
lazyPoweri see there's an open file descriptor in the test :S might as well fix that while i'm in here15:49
darknet_marcoceppi_: re-open the URL without /horizon I don't see neither the apache's page15:52
lazyPowerdarknet_: are you getting a no response or an empty reponse?15:53
marcoceppitvansteenburgh: is it because the service naem doesn't match the charm name?15:59
marcoceppias in the service is being aliased in the bundle file15:59
darknet_marcoceppi_: I tried to ping the node from host (my PC) using both IP add. and FQDN and it works correctly..16:00
tvansteenburghmarcoceppi: i haven't seen the bundle file16:00
tvansteenburghis anything actually broken? i was waiting to hear the results of lazyPower's test run16:01
lazyPowertvansteenburgh: spinning up vagrant to run again - took me a minute to clean up and re-import the box.  I'm in the middle of another test on canonistack so my env is a bit occupied16:01
tvansteenburghd.load() just calls d.add() for every service in the bundle, so it determine the charm-under-test in the same way16:02
tvansteenburgh*should*16:02
lazyPoweri'll know as soon as the vm is booted - i'll ping ya with the results tvansteenburgh16:05
tvansteenburghroger16:05
dpb1lazyPower: I'm progressively submitting diff comments16:09
lazyPowerawesome. feedback much appreciated16:13
dpb1lazyPower: ok, I'm done, marked needs fixing16:32
dpb1caught one bug, most of the others are just really egregious style errors16:33
lazyPowerdpb1: solid - i'll get these banged out and pushed within the hour. Cheers for the review16:33
dpb1np16:40
lazyPowermarcoceppi tvansteenburgh whit: standup17:01
=== psivaa-holiday is now known as psivaa
themonkjose, hi17:44
themonkjose, can we PM now?17:44
themonklazyPower, hi17:53
lazyPowerHello themonk17:53
themonklazyPower, sorry for late replay18:01
lazyPowerno worries themonk18:01
lazyPowertvansteenburgh: appears nothings broken18:02
tvansteenburgh\o/18:02
lazyPowertvansteenburgh: i did however export the env var implicitly18:02
lazyPowerthat may or may not have been the magic sauce18:02
tvansteenburghwell yeah that'll work too18:03
tvansteenburghalthough should work w/o it18:03
lazyPoweryeah i had a variable in there i didnt think to isolate18:06
lazyPowernext time around. but i'd say its safe to assume it was PEBKAC18:06
=== kadams54 is now known as kadams54-away
themonklazyPower, i have a script.py which is not idempotent, i am passing properties values to config-change using juju set, and because setup.py is not reconfigurable i am setting a lock so that it(setup.py) can not run second time, and mention it in readme, my question is will it be a blocker in charm review?18:13
lazyPowerthemonk: its quite dependent on the context of the immutable configuration - in some scenarios it is neccessary to prevent dataloss for example.18:14
lazyPowerCan you give some context as to why  the setting is immutable?18:14
themonklazyPower, the context is it creates certs and insert it in jks and creates DS data which is immutable and many other things which i dont know all :)18:22
themonklazyPower, may be it not complex to make it mutable, but right now its immutable.18:24
lazyPowerthemonk: that seems like a candidate for consideration - its going to be up to the reviewer that looks at the code18:24
lazyPowerif there is a sane and viable way to make it mutable - we would perfer that be the case18:25
lazyPowerthemonk: i suggest you push it to a namespace branch and get a proper code review - otherwise its a bit too subjective to make a proper response.18:25
themonklazyPower, hmm, agreed :) doing it, thanks18:26
lazyPoweranytime themonk - good luck on the review18:27
themonklazyPower, :)18:27
jcastroYou can now configure 'apt-mirror' in environments.yaml to specify the18:32
jcastromirror used by all the machines provisioned in the environment.18:32
jcastro    apt-mirror: http://my.archive.ubuntu.com18:32
=== kadams54-away is now known as kadams54
jcastro\o/18:32
jcastromy fave feature so far18:32
lazyPowerdpb1: fixes are up - running tests now18:38
jcastrojose, lazyPower, marcoceppi: let's fire it up in like 5 more minutes?19:43
josesounds good to me19:43
lazyPowerSounds like a plan19:43
=== CyberJacob|Away is now known as CyberJacob
jcastrojose, ok let's do this!19:50
joseyep, it's starting19:50
jcastrojose, post the youtube link too for people who just want to listen19:51
josegot it19:51
rick_h_jcastro: jose marcoceppi mbruzek1 lazyPower working on an initial readme for hte bugs for jujucharms.com, please feel free to suggest updates. https://github.com/CanonicalLtd/jujucharms.com20:01
=== roadmr is now known as roadmr_afk
joserick_h_: thanks! will take a look once we're done with the Charm School20:03
rick_h_jose: all good ty much20:03
jcastrowwitzel3, around?20:06
jrwrenawe man, I'm missing charm school?20:11
jcastroyeah20:13
jcastrojose, youtube link pls20:14
joseubuntuonair.com20:14
josesec checking analytics20:14
joseor youtube.com/watch?v=NjERFuBs2S820:16
cory_fuhttps://github.com/juju/plugins/20:20
wwitzel3jcastro: yepo20:22
jcastrohttps://plus.google.com/hangouts/_/g4roaheffd55jqc2tofvieb42ya?hl=en20:23
jcastrowant to join our charm school to explain your new retry hotness?20:23
=== roadmr_afk is now known as roadmr
cory_fuhttps://github.com/nojhan/liquidprompt20:30
sarnoldcory_fu: wow20:32
lazyPowersarnold: you following along at home on the charm school?20:33
sarnoldlazyPower: no :/20:34
lazyPowersarnold: cory_fu wrote a pretty intense juju plugin20:36
lazyPowerjuju dhx20:36
cory_fuOh, I thought you were impressed by my dhx plugin.  :)20:36
cory_fuwwitzel3: Please check out the middle / end of the Charm School video we just finished.  I'd like to get your feedback on my dhx plugin20:37
sarnoldoh :) well, maybe I would be, let me go looking for it :)20:37
sarnoldyup, looks pretty cool :)20:39
=== kadams54 is now known as kadams54-away
cory_fuwwitzel3: https://www.youtube.com/watch?v=NjERFuBs2S8#t=105920:44
wwitzel3cory_fu: thank you20:44
wwitzel3jcastro: sorry, I didn't respond earlier, I'm neck deep in trying to get something reviewed and landed before I go on vacation for 2-weeks20:45
cory_fuwwitzel3: Oh, then the plugin review isn't urgent enough to block your vacation.  :)  Just was curious on your feedback vis what of those features might make sense in core down the road.20:50
=== kadams54-away is now known as kadams54
darknet_Someone can help me? I've reported a problem with Openstack that was deployed by Juju.. All relations between charms are ok (green) but if I try to open horizon, I receive an error page like that " This webpage is not available".  I tried also to ping the vm node from my host using either its IP address or FQDN and it works!!. I followed this guide http://marcoceppi.com/2014/06/deploying-openstack-with-just-two-machines/. B.R.21:14
darknet_darknet21:14
jrwrenI have an open bug on this, and I'm looking for ideas for work arounds. https://bugs.launchpad.net/juju-core/+bug/139278621:19
mupBug #1392786: charm has no way to report error state <charms> <feature> <hooks> <juju-core:Triaged> <https://launchpad.net/bugs/1392786>21:19
jrwrenwhat to do when a charm has an error, if I'm actively avoiding error states?21:20
jrwrene.g. right now my charm takes a source PPA as config option. If you type that wrong then the isntall hook errors. I can catch the exception and let the hook complete without error. Question is, should I?21:21
darknet_anyone can help me?21:24
cory_fudarknet_: Is the openstack-dashboard service exposed?  (Does it say "exposed: true" in `juju status openstack-dashboard`?)21:33
darknet_cory_fu_: yes all services are exposed21:34
cory_fudarknet_: And port 80 is open (listed under ports)?21:35
darknet_cory_fu_: let me check21:36
cory_fujrwren: There is a discussion underway for a feature to allow charms to report information, including more detailed statuses and messages, back to the user.  The semantics haven't been finalized yet, though, so it will be a while before it's available.  I'm definitely hoping it comes sooner rather than later.21:37
cory_fujrwren: For the time being, how you handle it very much comes down to your specific needs.  I would lean toward failing into error state if the user enters an invalid value, since there isn't really a way to inform them that their selection is being ignored21:40
cory_fuBut, depending on your specific scenario, it may be acceptable to fall back to a default value21:40
darknet_cory_fu_: i don't know what happened but not i see the openstack's dashboard....i don't have any idea why21:43
cory_fuE.g., something like an invalid PPA should probably be an error, because otherwise they'd be running the incorrect version / code without realizing it, but something like setting the domain to be used when generating URLs could be defaulted to a valid domain if you detect something completely wrong21:44
jrwrencory_fu: thanks. I'm going to go ahead and fail.21:44
cory_fudarknet_: It's possible the machine failed to provision.  Try looking through the full output of `juju status` to see if there are any errors that you missed21:45
=== kadams54 is now known as kadams54-away
cory_fujrwren: Yeah, it's definitely not ideal, but we don't have a better option (yet!)21:45
tvansteenburghlol, jrwren qotw21:45
cory_fulol21:46
jrwrentvansteenburgh: tis my life motto.21:46
sarnoldawesome :)21:46
darknet_cory_fu: this is a paste of juju status http://paste.ubuntu.com/9157090/21:48
darknet_ cory_fu_: I don't see any error!!!21:49
marcoceppidarknet_: is apache2 running on openstack-dashboard?21:49
darknet_yes21:50
cory_fudarknet_: And listening properly on 80 & 443 (netstate -tnl)?  If so, I guess check the Apache logs, unless marcoceppi has a better suggestion21:51
* cory_fu tags out, because he just reached the end of his depth.21:52
darknet_cory_fu_: after to run the command "juju set keystone admin-password="test01" and try the login openstack gave me "Something went wrong! An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator."22:05
cory_fudarknet_: Sorry, I stepped away.  Honestly, I haven't done anything with that openstack deployment.  You'd really need marcoceppi to help you, I'm afraid22:31
darknet_cory_fu:_ anyway thanks a lot for your support i'll try to ask that to marco22:31
cory_fuGood luck.22:32
=== CyberJacob is now known as CyberJacob|Away
darknet_cory_fu_: this is strange I've reboot all node and now I can open horizon, same error "This webpage is not available"....why?why?23:07
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away

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