/srv/irclogs.ubuntu.com/2016/06/21/#juju.txt

=== Spads_ is now known as Spads
kjackalHey marcoceppi, how are you? All cool? I want to bug you about adding me to charmers group. I was told you hold the keys to paradise!10:46
magicaltrouthttp://goo.gl/zZXHZO I think of it more like this10:48
kjackalmagicaltrout: oups!10:48
Raj__I am connecting to mariadb from remote machine, I am getting error: ERROR 2005 (HY000): Unknown MySQL server host12:39
=== dpm_ is now known as dpm
Raj__any configuration changes I need to do on Mariadb for connecting from remote machine12:40
magicaltrouthow you trying to connect Raj__ ?12:40
magicaltroutdon't forget the juju unit names don't exist in real world DNS12:41
Raj__mysql -h db_host -u root -p mypassword12:43
magicaltroutyeah but is db_host an ip, a juju unit, something else?12:43
magicaltroutit looks like a standard dns issue more than anything juju specific12:44
Raj__db_host is of mariadb12:44
magicaltroutyeah i appreciate that.12:44
magicaltroutokay if you do12:44
magicaltroutping db_host12:44
magicaltroutwhat happens?12:45
Raj__let me try that12:45
Raj__ping is working to db_host12:47
Raj__64 bytes from 10.0.3.46: icmp_seq=1 ttl=64 time=0.102 ms 64 bytes from 10.0.3.46: icmp_seq=2 ttl=64 time=0.068 ms12:47
magicaltroutweird12:48
magicaltroutokay so if you do12:48
magicaltroutmysql -h 10.0.3.46 -u root -p mypassword12:48
magicaltroutwhat happens?12:48
magicaltroutalso if you need to "juju expose"12:48
magicaltroutalthough the mysql error looks different to what i'd expect for a closed port12:48
magicaltroutalso standard stuff like, are you pinging from the same box you're trying to run the mysql client from? ;)12:49
Raj__yes mysql client is installed12:50
Raj__if I connect to container and execute :mysql -h 10.0.3.46 -u root -p mypassword  it connects but same command from script has this error12:51
magicaltroutin your script are you injecting some variables as the hostname or something?12:52
magicaltroutsomething smells off12:52
Raj__yes , variable captured host name12:53
magicaltroutokay, I'd echo that or something to make 100% sure you're trying to connect to the correct place12:53
magicaltroutor just hard code the ip to test12:53
magicaltroutif you replace the var with 10.0.3.46 in the script12:54
magicaltroutyou'd know if your addressing was screwy or something12:54
Raj__ok, I will try that, anything about error: ERROR 2005 (HY000): Unknown MySQL server host12:57
magicaltroutthat "Unknown MySQL server host" error is 99.9% of the time because it can't resolve the hostname you're passing on -h parameter12:58
magicaltroutI can't think of a time when that wouldn't be the error12:58
Raj__ok,  I will try12:59
coreycbhas anyone had 2.0 bootstraps fail with "missing CloudCredential not valid"?  seems as if that would mean creds are invalid but my creds look fine to me.13:38
=== CyberJacob is now known as zz_CyberJacob
magicaltrouthttps://www.crowdsupply.com/lime-micro/limesdr bought some ubuntu snappy based SDR thing today14:11
magicaltroutinteresting bit of kit!14:12
magicaltroutthey're actually based in the same office building as us, i might go and annoy them14:13
admcleodmagicaltrout: hows things? when're you going to space?14:16
magicaltroutlol14:16
magicaltroutbusy away admcleod, i'm trying to get Saiku 3.9 released, the guys working on Saiku 4, exit from Meteorite, negotiate contracts with NASA, work in various bits of NASA shit that are supposed to be at GA mid next month but way behind schedule......14:17
magicaltroutyou know14:17
magicaltroutthe usual ;)14:17
magicaltroutfire fighting like the best14:17
admcleodas long as you're enjoying it14:18
magicaltrouti'll enjoy it when i renew my golf membership and disappear for a few afternoons :P14:18
admcleodis there sun there?14:18
magicaltroutpissed it down yesterday14:19
admcleod32 here14:19
magicaltrout21 C and sunshine today14:19
magicaltroutusual british weather14:19
admcleodi expect itll be dark and stormy on the 23rd14:19
magicaltroutlol14:19
admcleod*fingers crossed i dont get kicked out of the eu*14:19
magicaltroutit's gonna be shit if we leave14:20
magicaltroutI might join you and get a bunch of passports14:20
magicaltroutjust in case ;)14:20
magicaltroutproblem is I don't want to agree with Dave14:20
magicaltroutthe big forheaded t*at14:20
magicaltrout+e14:20
magicaltroutbe nice if dave swapped to the leave side14:21
admcleodhaha14:21
admcleodnot sure how much use my other passport is in terms of living in places. great for holidays...14:21
magicaltroutBoris is amusing, but I'd hate to see him as PM14:22
magicaltroutcrazy git14:22
magicaltrouthe'd just smoke lots of dope14:22
magicaltrouttake some class A's14:22
magicaltroutif him and Trump win, i'm using my NASA status to put them both on the ISS14:23
admcleodjust flag the aliens14:26
admcleod"its time"14:26
magicaltrouthehe14:26
admcleodim thinking boris vs trump boxing match14:26
magicaltrouttrump would suck14:26
magicaltroutyou would get to see him without his wig though14:30
magicaltroutthat would be an awful sight14:30
bdxelastic-stack-devs: xenial-kibana -> https://jujucharms.com/u/jamesbeedy/kibana/6. I'm working on a two actions that will create and remove httpd user and password, as well as some tests but it should be g2g14:49
valeechrunning juju 2.0 beta 9. I have successfully bootstrap’d a maas environment. I would like run juju in ha. When I issue enable-ha command, it fails and says I need to create new controller machines using juju add-machines. Am I misunderstanding something? I thought the enable-ha command would try to spin up new machines on maas to act as juju controllers.15:02
cholcombedid the juju 2 status set command change?  I think the answer is no but I want to double check16:07
shruthimahi Kwmonroe, i want to discuss regarding IBM-IM issue16:20
kwmonroesure shruthima - i did see your most recent note about deploying ibm-im, but haven't tried juju attach yet..16:25
shruthima oh k .After checking in all ways i feel there is some issue in code if iam not wrong,  because as resource is getting downloaded but it is not going to unzip part in the code16:26
kwmonroei'll try that now.  unfortunately, that error isn't very helpful :(  i suspect there's something wrong in the fixpack handler16:26
kwmonroeshruthima: i'll also look for ways to be more verbose than simply "install-ibm-im-fixpack' returned non-zero exit status 1"16:27
shruthimakwmonroe: ok thanks kevin16:31
=== scuttlemonkey is now known as scuttle|afk
=== frankban is now known as frankban|afk
=== scuttle|afk is now known as scuttlemonkey
kwmonroeyo petevg, i had some beef with https://github.com/juju-solutions/bigtop/pull/15 and the status we're showing.  lmk if you'd like more deats on what i think good status looks like.. i don't mind whipping up a PR if you're in a hurry to get this charm +1'd.16:46
petevgkwmonroe: thanks for the feedback. I'm not in a hurry to get stuff +1ed -- I just want to make sure that the charm looks like we want it to look when we submit it upstream :-)16:48
shruthimakwmonroe : il be logging out from chat now,if any solution for IBM-IM issue, Could you please email us ..16:52
petevgkwmonroe: I update the status messages, and argued with you about the quorum messaging (with the non automated restarts, I think that the check gets to be too complicated -- I'd like to add it back after we add back the automated restarts, though).16:54
kwmonroeyup shruthima - will do16:55
shruthimathanks you kevin :)16:55
Prabakaranhi lazypower .. is it possible for me to get apt.<package-name>.installed state in bash if i use options in layer.yaml16:56
Prabakarani have written some piece of code http://pastebin.ubuntu.com/17651116/ ... here i am installing mysql-client using options in layer.yaml16:59
Prabakaranhere is it possible for me to get the state  apt.mysql-client.installed' ?17:00
marcoceppibdx: there's a layer for kibana, iir17:00
marcoceppiPrabakaran: no, mysql-client, when defined as part of the layer options will always be installed before the layer runs17:01
marcoceppiapt.mysql-client.installed is set from the apt layer, where you may need to dynamically install deps17:01
Prabakaranso i can remove this state  'apt.mysql-client.installed' in this code .. because it will be installed before only17:02
Prabakaranhttp://pastebin.ubuntu.com/17651116/17:02
Prabakaranmarcoceppi17:04
Prabakaranso i can remove this state  'apt.mysql-client.installed' in this code http://pastebin.ubuntu.com/17651116/ .. because it will be installed before only17:05
kwmonroecorrect Prabakaran17:06
PrabakaranThanks kevin for the confirmation17:06
Prabakaran:)17:06
kwmonroenp Prabakaran -- you've got a bigger problem in that pastebin though17:10
kwmonroePrabakaran: line 3 here: http://pastebin.ubuntu.com/17651116/.  bash reactive doesn't support the concept of a 'mysql' object in the same way that python does17:10
kwmonroeso you can't use a mysql object like you're doing on line 1617:10
Prabakarani was typing this question to you....17:10
Prabakarani just got this answer17:11
Prabakaran:)17:11
kwmonroe:)  so instead, do something like:17:11
kwmonroemy_host=`relation_call --state 'mysql.available' 'host'`17:11
kwmonroeand then use $my_host in your mysqlshow -h command17:12
kwmonroesimilarly, my_port=`relation_call --state 'mysql.available' 'port', etc, etc17:12
Prabakarancool <kwmonroe> .. let me just replace those lines17:15
Prabakaran<kwmonroe>i dont need to worry about ssh exchange between containers if i use mysql-client apt package right?17:18
kwmonroecorrect Prabakaran - db consumers can talk to the mysql host with the mysql-client utilty17:19
kwmonroePrabakaran: fyi, the settings you can get from the relation are defined here: http://bazaar.launchpad.net/~charmers/charms/trusty/mysql/trunk/view/head:/hooks/db-relation-joined#L8117:19
kwmonroeso host, database, user, and password will give you relevant info, but it doesn't look like 'port' is an option on the relation.  looks like that is always hard coded to 3306.17:22
Prabakarannow i got all these.. Thanks kevin <kwmonroe> .... you made me clear on this..17:26
bdxmarcoceppi: yea, I was just indicating that it supports xenial now :-)17:34
bdxbig-data: aside from tests and the httpd auth bit, how is https://jujucharms.com/u/jamesbeedy/kibana/7 looking to you guys17:36
bdxI'm going to put some finishing touches on it and submit to the RQ17:39
bdxjust wanted to get some prelim feedback17:39
kwmonroebdx: i haven't been paying much attention on the kibana front, so others may have better feedback.. but how close is yours to the ~containers version (https://jujucharms.com/u/containers/kibana/)?  i'm assuming it's the xenial support..17:57
kwmonroeand if that's it, is the plan to merge those and have 1 maintained kibana?  or is there some reason we might need two?17:57
bdxkwmonroe: mine is the reactive re-write18:02
bdx+ xenial18:02
kwmonroeoh snap bdx!  that's how much i don't know about kibana :/  i didn't realize the ~containers version wasn't reactive.18:04
kwmonroewell bdx, +1 on making it reactive, -2 for your readme skills.  i like that the ~containers readme talks about deployment and dashboards.  would you consider copying the relevant bits from their readme into yours?18:06
bdxkwmonroe: entirely, I haven't given any cycles to the readme yet thats for sure :-018:17
bdxbut yea, totaly down for a swap out18:17
=== scuttlemonkey is now known as scuttle|afk
=== scuttle|afk is now known as scuttlemonkey
bdxthere are a few new dashboard bits I might need to commandeer 4 sure18:18
bdxcharmers: what is the prefered method of mitigating the AUTHORS file between layers ?18:26
bdxcharmers: I feel like the AUTHORS file should be generated on charm build by pulling the maintainers out of the top layer?18:27
marcoceppibdx: we've talked about that18:27
marcoceppibdx: one way would be to generate a copyright file using the debian copyright format18:28
bdxmarcoceppi: and just rm the authors file before pushing?18:29
marcoceppibdx: well, instead of authors, it'd be a copyright file18:29
bdxtotally18:29
marcoceppibut basically, yeah18:29
marcoceppiit'd look something like this: https://github.com/juju/charm-tools/issues/13618:31
marcoceppibdx: ^^18:31
marcoceppifeel free to pitch in on that issue18:31
marcoceppiit's a bit stalled atm18:32
bdxI see ... hmmm, seeing as each AUTHOR is represented in their respective layer, can charm build exclude the AUTHORS file, and just have a flag to pull down and include the desired copyright to point at the maintainer from metadata.yaml?18:36
bdxpossibly the AUTHORS parsing doesn't need to be as complicated as the actual merging of the layers ...?18:37
bdxbc it could just boil down to just not merging any AUTHORS and just generating the desired copyright18:38
bdxI'm probably way out in left field here, but it seems reasonable18:39
=== zz_CyberJacob is now known as CyberJacob
=== redir is now known as redir_afk
aisraeltvansteenburgh: Do you have an eta on bundletester compatibility with beta 9 (in light of the push to clear the queue)?20:02
tvansteenburghaisrael: no. there is a chain of things to fix. jujuclient -> deployer -> amulet -> bundletester20:03
tvansteenburghaisrael: i'll probably get it all working just in time for beta10 to break it again20:03
magicaltrouthehe /o\20:04
tvansteenburghaisrael: strongly suggest you just use beta8 for now20:04
magicaltroutaisrael: lets face it... the queue will never be clear! ;)20:04
magicaltroutbe honest with yourselves :P20:04
aisraeltvansteenburgh: lol, beta 8 it is20:05
aisraelmagicaltrout: A boy can hope!20:05
magicaltrouthehe20:05
petevgI wound up rolling back to beta7, because apt was having a hard time finding beta8. That may just be weak package manager fu on my part, though.20:06
petevgIn any case ... yeah: going to wade into the queue with a slightly outdated beta. I've done worse things :-)20:07
aisraelAnd I autoremoved recently, so I don't have a backup of beta 820:08
jhobbsi'm trying to bootstrap juju2 against an openstack cloud and getting errors, probably doing something wrong. Can someone have a look and see if it's something obvious? https://bugs.launchpad.net/juju-core/+bug/159495820:19
mupBug #1594958: Bootstrapping on OpenStack fails with juju 2 <juju-core:New> <https://launchpad.net/bugs/1594958>20:19
kwmonroejhobbs: i don't have much exp with openstack clouds, but in my ~/.local/share/juju/credentials.yaml, my default-region is set to $OS_REGION_NAME and my tenant-name is set to $OS_TENANT_NAME.  is your OS_REGION_NAME 'RegionKVM' and is your OS_TENANT_NAME 'admin'?20:28
kwmonroeand when i say "my X is set to $ENV", i mean it's set to the actual value, not the string "$OS_X_NAME"20:29
jhobbskwmonroe: i used add-credential without using a credentials.yaml - the tenant is correct but it didn't ask for a region name there. The region name is set in my clouds.yaml when I added my cloud, that value is correct, but I have two regions, wonder if that could be related20:31
jhobbsdefault-region isn't an accepted value (at least for openstack) in credentials.yaml - it rejects that20:31
jhobbssorry, only one region in this deployment, so that's not related20:34
kwmonroehmph, not sure if i can be any help, but "index file has no data for cloud {RegionKVM <endpoint>} not found" feels like there's some disconnect between the region and the endpoint.  you sure it's port 5000 there?20:38
jhobbsyeah - it is; i tested it with keystone client.  I think it's trying to find a set of images for that cloud in the list of images here http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson20:41
jhobbsThere are some docs on how to setup a private cloud here, but they haven't been updated for 2.0 https://jujucharms.com/docs/devel/howto-privatecloud20:42
=== redir_afk is now known as redir
kwmonroecory_fu: in bash reactive, is the right way to make an explicit @hook handler?21:10
kwmonroe@hook 'upgrade-charm'21:10
kwmonroefunction check-fixpack(){21:10
cory_fuYep21:11
cory_fuThough I don't think "check-fixpack" is a valid identifier21:11
cory_fukwmonroe: ^21:11
kwmonroewhatchu talkin bout willis?21:12
magicaltroutthe use of a - in a function name... i believe21:13
kwmonroei think you're all nuts21:13
cory_fuHrm.  Apparently it's fine for function names but not variables21:13
kwmonroehey - i didn't even know it was a thing.. apparently ksh/bash/zsh are cool, but ash/dash/csh are not.21:14
kwmonroeunderscores ftw21:14
magicaltroutjesus f**cking christ... there's some idiots on the news tonight21:15
magicaltroutits like Im watching Fox or CNN21:15
kwmonroemagicaltrout: i think you mean "there *are* some idiots on the news tonight"21:16
magicaltroutthat might be true! :P21:17
magicaltroutadmcleod: i might ship all the vote leave's down your way21:17
magicaltrouti hear the costa del sol is nice for british people looking for an alternative home21:17
bdxjhobbs: I put some heat on that bug for you21:36
jhobbsbdx: cool thanks21:37
jhobbsanastasiamac: I updated bug #1594958, sorry, must have posted the wrong pastebin22:45
mupBug #1594958: Bootstrapping on OpenStack fails with juju 2 <v-pil> <juju-core:New> <https://launchpad.net/bugs/1594958>22:45
anastasiamacjhobbs: tyvm. looking :)22:46
anastasiamacjhobbs: do u still have a complete log from this run? if it was at trace-level would be stunning \o/22:47
jhobbsbdx: i got juju 1.25 to work against openstack - I had to specify both metadata-source to bootstrap (as a filesystem path) and image-metadata-url (as an http url) in environments.yaml22:47
jhobbsanastasiamac: how do i set it at trace level?22:47
anastasiamacjhobbs: https://github.com/juju/juju/wiki/Juju-Logging22:47
anastasiamacjhobbs: could you please also kindly update the bug to say that it works for 1.25? :) otherwise I'll mark it as invalid for 1.25 :D22:48
jhobbsanastasiamac: i updated the bug WRT to 1.25; Is there somewhere to find a log for this other than the juju bootstrap itself?22:51
jhobbs*the output of juju bootstrap22:52
anastasiamacjhobbs: if u set the environment variable and re-run bootstrap command as u were (with debug-log on) i *think* i'll get enoguh info22:53
anastasiamacjhobbs: at this stage, the command that i see u run does not have --metadata-source...22:53
jhobbsuhh22:54
jhobbsweird22:54
jhobbsanastasiamac: http://paste.ubuntu.com/17668083/22:54
jhobbsanastasiamac: i did the set-envs there and it didn't seem to change the output at all22:54
jhobbssorry, set-model-config in this case22:55
anastasiamacjhobbs: yeah, i can see in this output and now in mine (bootstrapped) that --metadtaa-source is not registering... i'll investigate further \o/22:56
anastasiamacjhobbs: thank you for input and pain ;)22:56
jhobbsanastasiamac: np, thanks for your patience on the logs and for looking into it22:57
anastasiamacjhobbs: \o/22:57
bdxjhobbs: no WAY! nice!!!!23:08
bdxjhobbs: was that documented anywhere?23:09
jhobbsno23:12
jhobbsbdx: well kind of - the juju output from metadata generate-images says to do one or the other, but you need to do both to get it to work23:12
=== CyberJacob is now known as zz_CyberJacob
bdxjhobbs: sad, did you file a bug for that specifically?23:35
valeechin juju 2.0 is there a way to specify the default series and an admin-secret when bootstrapping a maas 2.0 environment?23:38
jhobbsbdx: yeah bug #159497723:40
mupBug #1594977: juju-1 bootstrap forgets about  metadata-source argument <v-pil> <juju-core:New> <https://launchpad.net/bugs/1594977>23:40

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