/srv/irclogs.ubuntu.com/2015/10/23/#juju.txt

=== zz_CyberJacob is now known as CyberJacob
=== CyberJacob is now known as Guest43720
=== Guest43720 is now known as zz_Guest43720
=== ming is now known as Guest66148
=== plars_ is now known as plars
=== \b is now known as benonsoftware
=== zz_Guest43720 is now known as CyberJacob
=== CyberJacob is now known as Guest68261
=== Guest68261 is now known as cyberjacob
gennadiyhi all, i'm going to publish my bundle to juju charm store to user namespace. i pushed it to launchad repo. waited 1 hr but it haven't appeared in charm store yet10:25
gennadiymy repo - https://code.launchpad.net/~tads2015dataart/charms/bundles/tads2015-demo/bundle10:25
gennadiydo i need to wait for any review?10:26
=== JoshStrobl is now known as JoshStrobl|AFK
gennadiyhi all, i'm going to publish my bundle to juju charm store to user namespace. i pushed it to launchad repo. waited 1 hr but it haven't appeared in charm store yet. should i wait for any review?11:20
rick_h__gennadiy: give it one more hour please11:41
rick_h__gennadiy: oh looks like you did11:41
rick_h__gennadiy: lokoing11:41
rick_h__errr looking11:41
gennadiyi made some changes in bundle. i have added quotes for gui position attributes11:41
rick_h__gennadiy: ah, you're caught in our corner case atm. sec I'll get you a quick instruction to work around it11:42
rick_h__gennadiy: ok, so you've got a file named 'bundle.yaml' but your bundle is in the older format. so please rename that file 'bundles.yaml' with an (s) and you should be good11:44
gennadiy@rick_h___ also i have question about juju-gui service in bundle. my charm depends on this service and i need to add relation between them. but juju bundle proof return error if bndle contains juju-gui service11:44
rick_h__gennadiy: yes, bundles are deployed through the gui, so it has to exist first to send the bundle to be deployed.11:45
rick_h__gennadiy: so if there's a conflict it'll error there11:45
rick_h__gennadiy: you can try renaming it to smoething else. juju-gui-2 or the like, but not sure if that works.11:46
rick_h__gennadiy: there's WIP to remove that restriction and deploy bundles straight from the juju cli, but it's not ready yet.11:46
gennadiynot sure that it's correct way to rename service. in this case we will have 2 different juju-gui :)11:47
rick_h__gennadiy: yes, I'm trying to think of a way around it. Because the user finds the bundle in the store and hits deploy, they've alreaday got a GUI11:47
gennadiyit will not be a problem11:48
rick_h__gennadiy: unfortunately I don't see any way around it at the moment.11:48
rick_h__no one's related to the GUI before so it's just not come up heh11:48
rick_h__gennadiy: what does it do with the gui that it's related to it? /me is curious11:48
gennadiyanother question: if i push bundle with with `juju bundle proof` error - will be it published to store?11:49
gennadiywe are trying to implenet autoscale. and we use juju api to increase count of units11:50
gennadiyso i need to know ip address of juju api11:50
rick_h__gennadiy: no, it will fail to ingest11:50
gennadiyone more question: do we have some page with review errors? i see http://review.juju.solutions/ in the head of page. but i can't find my charms/bundles there11:53
rick_h__gennadiy: for the juju api endpoint can you send an email to the juju mailing list about wanting to do that?11:53
rick_h__gennadiy: long ago another wanted to do this and there were lots of ideas as to how it might be done in the charm's hook context.11:53
rick_h__gennadiy: but I'm having trouble finding it in gmail atm.11:53
rick_h__gennadiy: so that's the review queue to be reviewed and a recommended charm. You have to follow manual steps to go through that and meet stricter requirements.11:54
rick_h__gennadiy: see https://jujucharms.com/docs/stable/authors-charm-store#recommended-charms11:54
gennadiyclear11:55
gennadiyi will be good to have some page with automatic review result too.11:56
gennadiybecause today i have some issues with charm updates11:57
rick_h__gennadiy: yes, we're moving to a new model for the charms/bundles that removes the pulling from launchpad and allows users to directly upload to the store11:57
rick_h__gennadiy: so you'd get immediate feedback on issues and not have to wait for automated machinery to come around and pick things up11:57
gennadiycool11:57
rick_h__gennadiy: we've currently got an 'older' deprecated system that's going to EOL in Dec that's causing most of the current delays11:58
rick_h__as the two systems (old and new) have to try to keep in sync so they wait for each other and such11:58
gennadiydo you have posibility to check  the state of latest commit of this charm - https://code.launchpad.net/~tads2015dataart/charms/trusty/telscale-restcomm/trunk?11:58
rick_h__so come Dec we'll kill the old system and hopefully have new tools for direct uploads11:58
rick_h__gennadiy: sure thing, looking11:58
gennadiystore shows 2 revisions only - https://jujucharms.com/u/tads2015dataart/telscale-restcomm/trusty11:59
gennadiyalso do i need to change revision number manually before publishing?12:00
rick_h__gennadiy: it takes about 2hrs for both systems to get into sync. Looks like that was updated 1hr ago. Give it a bit more and watch the file here to see your new config and you'll know it's pulled in. https://api.jujucharms.com/charmstore/v4/~tads2015dataart/trusty/telscale-restcomm-1/archive/config.yaml12:01
rick_h__gennadiy: the charm should come in fine though, no issues I can see.12:01
gennadiyclear, i will wait 2 hrs in the future12:02
gennadiythanks alot for your help12:02
rick_h__gennadiy: very sorry, it's painful12:02
rick_h__gennadiy: the folks are working on the new stuff as fast as they can so when we can kill the old system it'll be a ton better.12:03
rick_h__lazypower: <3 the video and blog post. you're my hero man. That's awesome stuff. great work katco wwitzel3 natefinch ericsnow http://blog.dasroot.net/2015-charming-2-point-oh.html13:24
lazypower:) Happy to help13:24
lazypowerall the credit goes to the people who did the work, i just blog about it13:25
rick_h__lazypower: pulls together nicely13:25
=== gmeszaros_ is now known as gmeszaros
Iceyis there a way to get juju to deploy SSD EBS backed AMIs instead of traditional EBS backed?13:39
Iceyon AWS13:39
Iceyin essence, can I specify the AMI ID to deploy?13:41
Iceyoh god, apparently the AMI we're deploying should be an SSD EBS backed instance but we're deploying it with a standard type EBS volume13:42
urulamahey, any pointers on how to set private simplestream, i'm getting:13:50
urulamaread metadata index at "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson"13:50
urulama2015-10-23 12:45:26 DEBUG juju.environs.simplestreams simplestreams.go:433 skipping index "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson" because of missing information: index file has no data for cloud {RegionOne http://10.5.0.195:5000/v2.0} not found13:50
rick_h__Icey: I think the 1.25 release with storage support lets you do that. see https://jujucharms.com/docs/master/storage and search for ebs-ssd14:01
rick_h__Icey: the 1.25 pending release I should say14:01
Iceythanks14:01
IceyI'm so looking forward to the storage stuff but it isn't really what I'm talking about, I mean the root disk stuff, not added storage14:02
Iceylike: '--constraints "root-disk=250G cpu-cores=2 root-disk-type=ssd"'14:02
IceyI now root-disk-type doesn't exist14:03
Iceybut illustrates what I'm wanting14:03
Iceyknow*14:03
=== JoshStrobl|AFK is now known as JoshStrobl
rick_h__Icey: is there an instance type that's ssd backed? maybe have to go that route. I'm not sure if there's another work around. Might be worth an email to the juju list to see if anyone's got a trick up their sleeve14:50
Iceythe AMI we're using _should_ be using an SSD backed EBS for the root drive14:50
Iceysomehow, we're initializing it with a standard EBS14:50
Iceyrick_h__,14:50
rick_h__Icey: oh, really not sure then :/14:51
Iceyhow hard is it to setup an aws environment that will let you colocate charms? For example I may want a cache host that runs redis and memcached on the same host instead of two separate hosts15:19
marcoceppi_Icey: juju deploy --to lxc:<machine-#>15:19
marcoceppi_well,15:20
Iceyand if I wanted to do something like that with a bundle :) ?15:20
marcoceppi_Icey: you can15:20
Iceyspread a bundle around on x machines with LXC?15:20
marcoceppi_yup15:20
* marcoceppi_ gets example15:20
rick_h__Icey: marcoceppi_ https://jujucharms.com/docs/1.24/charms-bundles#service-constraints-in-a-bundle shows the lxc bit15:23
rick_h__sorry this one https://jujucharms.com/docs/1.24/charms-bundles#bundle-placement-directives15:23
marcoceppi_Icey: https://gist.github.com/marcoceppi/58a5598f038fda5fc8cd15:24
Iceymore broadly, say I wanted to deploy an existing bundle with colocated services: https://jujucharms.com/rails-example-scalable/615:24
marcoceppi_Icey: so, that's something you can do in the GUI, which allows you to modify placement before execution15:24
marcoceppi_Icey: so, bundle -> gui, modify placement, commit, then you can export the new bundle15:25
Iceygotcha15:25
marcoceppi_rick_h__: correct me if I'm wrong, placment and pre-commit bundles exist in gui now, right?15:25
rick_h__marcoceppi_: yes15:28
marcoceppi_\o/15:28
narinderguptaarosales: jamespage: Nuage marked their charms as fix committed. But i think they need to create a new charm for neutron-api. I have send an email copy to let Nuage and me know in case thats not the case.15:31
gennadiy_@rick_h__ are you still here? my bundle is still not visible in charm store - https://code.launchpad.net/~tads2015dataart/charms/bundles/tads2015-demo/bundle , my page in charmstore - https://jujucharms.com/u/tads2015dataart/15:58
rick_h__urulama_: can someone help gennadiy_ please? ^16:02
urulamagennadiy_: hey16:03
gennadiy_hi16:03
gennadiy_i have publiched my bundle 3 hrs ago16:03
gennadiy_but it's still not visible in charm store. seems something wrong with it.16:03
urulamagennadiy_: bundles are publish quicker, if they pass validation16:04
gennadiy_but i checked it with juju bundle proof. everything was ok16:04
urulamagennadiy_: ok, let me check16:04
urulamagennadiy_: yes, only {"Id":"cs:~tads2015dataart/trusty/telscale-restcomm-2","PublishTime":"2015-10-23T12:16:21.185Z"},{"Id":"cs:~tads2015dataart/trusty/monitor-server-1","PublishTime":"2015-10-23T10:46:30.363Z"} were published16:05
urulamagennadiy_: i'll have to check the logs16:05
=== jam1 is now known as jam
jrwrengennadiy_: : bundle verification failed: ["service \"calls-consumer\" is subordinate but has non-zero num_units","service \"conference-call\" is subordinate but has non-zero num_units","service \"monitor-agent-mesos\" is subordinate but has non-zero num_units","service \"monitor-agent-mesos-master\" is subordinate but has non-zero num_units","service \"sms-feedback\" is subordinate but has non-zero num_units"16:13
jrwren]16:13
jrwrengennadiy_: subordinates should have num_units: 0, or not that property at all.16:13
arosalesnarindergupta: so should we wait for the neutron-api charm before we review the Nuage charm?16:58
narinderguptaarosales: James mentioned in PM that not needed.  So you can go ahead to review.17:01
narinderguptaarosales: he mentioned no need to follow new design currently as they already integrated few sdns into neutron-api  as well like calico17:02
arosalesnarindergupta: thanks for the ping17:15
Iceycan somebody help me out with an interface? I'm writing a new simple interface but my charm doesn't seem to want to use it?17:19
jrwrenIcey: have it listed in metadata.yaml ?17:19
Iceyaye (I think?)17:19
Iceyhttps://gist.github.com/ChrisMacNaughton/12fe21abab4ddc3a880d17:20
jrwrenIcey: i assume you mean relation interface?17:20
IceyI'm writing the reactive interface for influxdb17:20
Iceyor at least, I'm trying to17:20
jrwrenIcey: and some influxdb charm provides influxdb interface?17:20
Iceyhttps://jujucharms.com/u/chris.macnaughton/influxdb17:21
Iceyneed to change my name in the charm17:21
Iceybut 'm trying to build an interface like:http://interfaces.juju.solutions/17:21
jrwrenoh that kind of interface. i don't know about those. sorry17:22
Iceyyeah, trying to avoid any actual hooks in this charm, since it's literally just dropping some html under apache17:22
Iceybut it needs the config for that database17:22
marcoceppi_Icey: I can try to help you out17:24
Iceywant to do a hangout for a min?17:25
marcoceppi_Icey: sure17:25
Iceyhttps://plus.google.com/hangouts/_/canonical.com/can-i-make-a-name-for-this-hangout-that-is-longer-than-the-one-marcoceppi-made-earlier-to-talk-about-ceph-benchmarking-things-so-we-can-figure-out-interfaces17:26
Iceyhyphens do make that name easier to read :)17:26
Iceycury_fu if I want to embed a tgz in a charm using the apache-php layer instead of having it install from a remote source?17:44
bdxhey whats going on everyone? Can I get a review or two on the MR's associated with https://bugs.launchpad.net/charms/+source/nova-compute/+bug/150926718:30
mupBug #1509267: Ceph-relation-joined hook error <ceph> <nova-compute> <openstack> <storage> <nova-compute (Juju Charms Collection):New> <https://launchpad.net/bugs/1509267>18:30
bdxthanks18:30
* GQWER slaps Zetas around a bit with a large fishbot18:42
* GQWER slaps X-Rob around a bit with a large fishbot18:43
marcoceppi_cory_fu bcsaller any ideas on this? http://paste.ubuntu.com/12905838/19:19
marcoceppi_ugh, nvm. Apparently, 'layer: basic' is not the same as 'layer:basic'19:19
marcoceppi_is that a bug or a feature?19:19
bcsallersame as  cs:foo vs cs: foo19:20
marcoceppi_bcsaller: makes sense, thanks19:20
* marcoceppi_ can imagine adding lint rules to charm proof for layers19:20
ejatmarcoceppi_: http://paste.ubuntu.com/12906168/19:43
ejatbtw .. how r ya ?19:43
ejati've try using juju resolved19:44
ejatretry .. but nothing ... :(19:44
marcoceppi_ejat: I'm not sure about that, but try cory_fu kwmonroe and admcleod-19:46
marcoceppi_they may be able to help19:46
ejative tried : juju resolved yarn-master/0 --retry19:47
ejatbut its not retry ...19:47
kwmonroeejat: can you paste the output from 'juju debug-log -i yarn-master/0 -n 100'19:48
kwmonroe*pastebin19:48
ejathttp://paste.ubuntu.com/12906269/19:50
kwmonroehm.. a problem importing jujuresources.. gimme a sec19:56
ejatkwmonroe: ok19:58
kwmonroeejat: let's go back farther.. pastebin the output from 'juju debug-log -i yarn-master/0 -n 1000 | grep jujuresources' to see if we can see jujuresources getting installed19:59
ejathttp://paste.ubuntu.com/12906441/20:02
cory_fukwmonroe: Probably should have used --replay instead of -n 100020:03
cory_fuejat: I take it you ran `juju resolved` several times?20:04
ejati try click at juju-gui20:04
ejat:(20:04
ejatmy bad20:04
ejatcli 2 times20:04
cory_fuejat: No worries.  But we do need the first error from the log.  Can you look through `juju debug-log --replay -i yarn-master/0 | less` and get us the very first traceback error?20:05
cory_fumarcoceppi_: Whatever happened to that "juju share" or "juju mate" project, or whatever it was called?20:06
cory_fuWould be very useful heree.  :)20:06
cory_fuejat: I don't suppose you've used the dhx plugin before, have you?20:07
ejathttp://paste.ubuntu.com/12906522/20:07
ejatcory_fu: havent use dhx before yet20:09
ejatu want me to install the plugin ?20:09
cory_fuejat: That's definitely the right error.  There ought to be a few lines above that that give info about what caused the apt-get install to fail.20:10
ejatu want the line before the traceback20:11
cory_fuMaybe 5 lines before, yeah20:11
ejathttp://paste.ubuntu.com/12906609/20:13
cory_fuI've never seen that "packages cannot be authenticated" before.20:15
kwmonroemarcoceppi_: are we back in your wheelhouse yet?20:15
kwmonroeejat: can you try "juju ssh yarn-master/0 'sudo apt-get -y install python-pip'"20:18
kwmonroeand see if you get the same unauthenticated pkgs warning20:18
ejatE: There are problems and -y was used without --force-yes20:19
kwmonroeejat: are you using any http or apt proxies in your environment?20:20
ejatnope20:21
ejatmy environment at Azure20:21
cory_fuFrom this http://ubuntuforums.org/showthread.php?p=7001019#7001019 it seems like it might be an issue with the debian-keyring.20:21
cory_fuNo idea what might have caused it, though20:22
kwmonroeejat: paste output from this: juju ssh yarn-master/0 'apt-key list'20:23
kwmonroeand we'll compare keys20:23
ejathttp://paste.ubuntu.com/12906786/20:24
Iceycan I check the current state (eg: 'database.available') from within debug-hooks for a charm?20:24
cory_fuIcey: Yes.  You can use the charms.reactive CLI tool and call get_states20:24
cory_fuIcey: $CHARM_DIR/bin/charms.reactive get_states20:25
cory_fuI think that's the right syntax20:25
Icey$CHARM_DIR is the location of my current charm, which has no charms;reactive (the charm itself is in python), do I need to grab charms.reactive to look at state in bash?20:26
cory_fuIcey: If you're using the basic layer, it should include charms.reactive by default20:26
ejatis the key differ?20:27
kwmonroeejat: those are the same keys i have.. i was hoping they'd be different (though i'm not sure how they would be)20:27
cory_fuIcey: Oh, there was a bug in charm-tools that it didn't include the CLI tools20:27
ejat:(20:27
kwmonroeejat: long shot, but try this:  juju ssh yarn-master/0 'sudo apt-key update && sudo apt-get update && sudo apt-get install -y python-pip'20:27
Icey-_- cory_fu20:27
kwmonroeejat: and see if you still get the "E: There are problems" message20:28
cory_fuIcey: If you do a manual `pip install charm.reactive` then you'll get the CLI tool20:28
cory_fuSorry, charms.reactive20:28
kwmonroeit's a long shot because i don't think "apt-key update" is gonna do anything, but worth a try i think20:28
ejatits installing \0/20:29
Iceythanks cory_fu20:30
cory_fuejat, kwmonroe: My guess is some sort of transient network error causing the packages to be corrupted.  And once the apt-get failed, it was just trying to use pip which wasn't installed20:30
ejatshould i rerun resolved?20:30
kwmonroehmph.. weird.  yeah ejat:  juju resolved -r yarn-master/020:30
cory_fuejat: Actually, you still need to get jujuresources installed20:31
cory_fuejat: I'd recommend doing this: juju run --unit yarn-master/0 'hooks/install'20:31
marcoceppi_kwmonroe cory_fu unauthenticated packages means somethings up with apt. Should just be able to run sudo apt-get update on the node to sort it out20:31
cory_fuI think that will redo the important bit and get jujuresources installed20:31
cory_fumarcoceppi_: If only you'd said that 20 minutes ago20:32
ejathttp://paste.ubuntu.com/12907066/20:42
ejat?20:46
ejaterror installing the hook20:47
cory_fuejat: I think that's a difference in the PATH or something between `juju run` and a proper hook context.  It looks like it got past the pre_setup bit that I was concerned about.  You should be able now to use `juju resolved --retry` on the unit, I think20:50
ejathttp://paste.ubuntu.com/12907214/20:52
ejat\0/20:53
ejathttps://jujucharms.com/apache-flume-twitter/trusty/3#revisions20:54
ejati cant test20:54
cory_fuWhat do you mean, you can't test?20:56
ejatTo verify this charm is working as intended, SSH to the flume-hdfs unit, locate an event, and cat it:21:00
cory_fuAre you saying that you cannot ssh into flume-hdfs?  Or that no files are showing up in HDFS?21:05
ejatcan ssh21:05
ejatno file/directory21:05
cory_fuejat: I assume you set your twitter access credentials on the flume-twitter service?21:06
ejatsecret.yaml21:07
ejatyes21:07
kwmonroeejat: assuming your creds are set, you can "juju ssh flume-twitter/0" and have a look through /var/log/flume-twitter logs21:07
kwmonroedont' pastebin those because i'm not sure if they expose your twitter creds or not21:07
cory_fuejat: And if you do `juju get flume-twitter` you see the correct credentials?21:08
ejathdfs dfs -ls /user/flume/events  # <-- find a date21:08
ejat?21:16
kwmonroeejat: how about "hdfs dfs -ls /user/flume"21:16
kwmonroedo you see a 'flume-twitter' subdir in there?21:18
ejathttp://paste.ubuntu.com/12907539/21:20
kwmonroeok ejat, "hdfs dfs -ls -R /user/flume/flume-twitter"21:21
kwmonroelooks like the readme incorrectly points to an 'events' subdir for the test, vs 'flume-twitter'21:22
ejat:)21:23
=== wolsen_ is now known as wolsen
kwmonroeejat: i'm about to EOW, but wanted to make sure you have tweets in hdfs.. things looking ok?22:15

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