/srv/irclogs.ubuntu.com/2013/07/25/#juju.txt

=== defunctzombie is now known as defunctzombie_zz
chancedoes juju-core take pull requests on github? or can someone point me in the right direction?03:03
=== tim is now known as thumper
=== defunctzombie_zz is now known as defunctzombie
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== defunctzombie is now known as defunctzombie_zz
den_shelehHi. I have a little problem. Juju 1.11.4 should work with LXC. But when I try bootstrap environment I go a error : "error: no reachable servers". What is wrong ?09:14
jamespageden_sheleh, do you have the mongodb-server package installed?09:32
jamespageand which Ubuntu release are you running on?09:32
jamespageraring+ is good for mongodb-server - for 12.04/12.10 you need to use a PPA right now09:32
jamespagejcastro, fyi - http://javacruft.wordpress.com/2013/07/25/juju-put-it-there-please/09:32
den_shelehUbuntu 12.04 LTS09:36
jamespageden_sheleh, ok - lemme dig out the PPA09:39
jamespagethe 12.04 LTS mongodb-server does not support SSL09:39
jamespageden_sheleh, https://launchpad.net/~juju/+archive/experimental09:40
jamespageden_sheleh, I'm working on getting that into official backports in Ubuntu itself09:40
den_shelehThank's a lot09:46
den_shelehThank You? James =)09:49
=== teknico1 is now known as teknico
gotwighey there13:29
gotwigis there a need for a charm deploying to meteor?13:29
privateStackI am looking on help with bootstrapping juju 1.11.4-raring-amd64 on a private Grizzly OpenStack install13:40
marcoceppiprivateStack: what's your question?13:41
privateStackHi marcoceppi13:41
privateStackI get an error, which I think you have even commented on in the boards13:41
marcoceppihi!13:41
privateStackerror: cannot start bootstrap instance: no "precise" images in RegionOne with arches [amd64 i386]13:41
privateStackI have created the public container and have it configured13:42
marcoceppiprivateStack: okay. there is an answer for this. one second13:42
privateStackthat would be amazing13:42
privateStackbanging head on wall for a few days13:42
marcoceppiprivateStack: you mean t the image data container?13:42
marcoceppierr bucket13:43
privateStackI have a control bucket "juju-control" which is not public13:43
privateStackI also have a public bucket "juju-fist"13:43
privateStackjuju-dist that is13:43
marcoceppiwhat does the content of that bucket look like? juju dist13:44
privateStackOn network captures I can see juju hitting the juju-control first, then hitting juju-dist/streams/v1/index.sjson, next it hits juju-dist/streams/v1/index.json13:44
gotwighow can I use JuJu with local support13:45
privateStackthe process finally dies when juju tried to pull status 30 times from the control bucket13:45
sidneimarcoceppi: i think he needs to sync simplestreams or something?13:45
marcoceppigotwig I have a blog post on it. one sec I'll dog it up13:45
gotwigmarcoceppi: the new juju?13:45
privateStackI have not configured keystone for any simplestreams13:46
marcoceppisidnei: I think so to. which is why I wonder what the contents of the bucket is13:46
marcoceppigotwig: http://marcoceppi.com/2013/07/compiling-juju-and-the-local-provider/13:47
gotwigyeah, thx13:47
gotwig*compiling* oh noes ;P13:47
privateStacksorry.  the public bucket, juju-dist contains files I generated with juju metadata command.  /juju-dist/streams/v1/index.json and /juju-dist/streams/v1/imagemetadata.json13:47
marcoceppino no! you don't need to compile. is a dual post gotwig13:47
gotwigok13:48
gotwigmarcoceppi: nice blog, btw13:48
marcoceppiprivateStack: could you patebin those files?13:48
privateStacksure. give me a sec to figure out how13:49
gotwigmarcoceppi: so all this can be found in the devel ppA?13:49
marcoceppigotwig: yup!13:50
gotwigmarcoceppi: some dude should update the getting started juju post for sure!!13:50
gotwignot everyone has clouds at home.. lol13:50
privateStackok cool.. that was easy13:51
privateStackhttp://pastebin.com/kV2m4qH4 this is the first file13:51
marcoceppigotwig: it will be updated before mercy l next week13:52
privateStackhere is the second, the metadata file13:52
privateStackhttp://pastebin.com/RenVerjf13:52
gotwigmarcoceppi: this is all so complex to me :/ I like juju gui...13:52
* marcoceppi is actually writing it13:52
privateStacklooking at network dumps juju never request the metdata file13:52
gotwigmarcoceppi: do I have to manually edit the config YAML files to local?13:53
privateStackjuju only request /juju-dist/streams/v1/index.sjson and then /juju-dist/streams/v1/index.json13:53
marcoceppiprivateStack: what does juju bootstrap -v look like?13:55
marcoceppigotwig: you need to create a local environments.yaml file if you don't have one already just run `juju init -w`13:56
=== hatch_ is now known as hatch
marcoceppithen you can juju bootstrap -e local13:56
marcoceppigotwig: what version of Ubuntu are you using?13:57
gotwigmarcoceppi: 13.10 :>13:57
marcoceppigotwig: also you can deploy the juju-gui to local once you get it bootstrapped!13:57
gotwigis the admin secret a md5 hash?13:57
marcoceppigotwig: no it's just a random strong of chats13:58
marcoceppichars*13:58
privateStackmarcoceppi: I will put in paste bin13:58
marcoceppiit can be whatever you like13:58
marcoceppiprivateStack: thanks13:58
gotwigmarcoceppi: can I do anything with juju gui?13:59
privateStackmarcoceppi: Here is juju -v sync-tools showing basic function http://pastebin.com/bUVLf21k14:00
marcoceppigotwig: anything you can do from cli you should be able to do in GUI14:00
gotwigerror: environment has no access-key or secret-key14:01
gotwigwhen I want to deploy something14:01
marcoceppigotwig: use -e local when deploying14:01
privateStackmarcoceppi: Here is the juju -v bootstrap --debug http://pastebin.com/XMwRrcW614:01
marcoceppigotwig: or change ~/.juju/environments.yaml default: to 'local'14:03
marcoceppiprivateStack: I thought you were using 1.11.4?14:03
gotwigmarcoceppi: do you think there is a need for deploying to MeteorJS? I really like this thing :>14:05
gotwigtalking about writing a charm for deploying to meteorJS ;X14:05
gotwigits similar to nodeJS14:05
marcoceppigotwig: go for it! we can always use more charms14:06
privateStackmarcoceppi: Sorry. I have tried a few versions on a few nodes.  The dumps were made from a precise node running juju 1.11.4-precise-amd6414:06
privateStackmarcoceppi: But yes, I have been running 1.11.414:08
gotwigworks perfectly14:08
gotwigmarcoceppi: thank you14:08
marcoceppiwhy is all the metadata 1.10.0?14:09
gotwigwhat do I have to setup to use the nodeJS charm14:11
gotwiga github repo, a mongodb relation?14:11
gotwig*git repo14:12
gotwigI could just read the readme xD14:12
privateStackmarcoceppi: here are the http request that juju is making during bootstrap http://pastebin.com/HL1mnLt214:15
privateStackmarcoceppi: Not sure why. I ran the juju sync-tools command and that is what was deployed14:15
privateStackmarcoceppi: In the past I have run the --upload-tools during the bootstrap and it will build and update newer tools.14:16
marcoceppiprivateStack: hum.14:17
privateStackmarcoceppi:  It seems strange that the metadata file is never requested.14:22
marcoceppiprivateStack: yeah, is there a juju-dist directory or is /streams the root directory?14:23
privateStackmarcoceppi:  Here is where I am weak.  I have not messed much with swift so all I know I learned for this.14:24
privateStackmarcoceppi: I created a swift container like so "swift post juju-dist"14:25
privateStackmarcoceppi: then I created a local directory /streams/v1/ and placed the two files in the directory, next I used "swift upload streams" to upload the directory tree, and finally I set the permissions on the container to allow anonymous access14:26
privateStackmarcoceppi: I confirmed through network dumps that /streams/v1/index.json is being returned to juju during bootstrap.14:27
gotwigmarcoceppi: how can I save the settings in the gui, there is no save button for changing the Config.yaml >_>14:28
gotwigmarcoceppi: the gui on jujucharms is much better than the one in the official juju charm >_>14:29
marcoceppigotwig: oh, deploy cs:~juju-gui/juju-gui instead of just "juju-gui"14:30
privateStackmarcoceppi: Is it normal for juju to request /releases/streams/v1/index.json from cloud-images.ubuntu.com after my local site has been requested?14:30
gotwigmarcoceppi: thx14:30
gotwigmarcoceppi: thats just like with normal ubuntu >_> you all the time have to use extra repos or branches.. nothing official that is "modern"?14:30
privateStackmarcoceppi: any direction?  Next step for me is digging through code or admitting defeat :)14:34
marcoceppiprivateStack: one sec. I'm checking how I did this on HP Cloud14:35
privateStackmarcoceppi: Thanks so much.. OB1 your my only hope14:35
marcoceppiprivateStack: I think your problem is all the metadata is using 1.10.0, so juju-core can't match the version and doesn't go past the v1/index.json14:43
privateStackmarcoceppi: Ok. Do you recommend that I use the --upload-tools option?14:44
privateStackmarcoceppi: Or perhaps build the chain from source?14:45
marcoceppiprivateStack: so delete everything in the juju-dist bucket, using 1.11.4 (juju version) build the image-metadata again, upload to juju-dist, then bootstrap and upload-tools again14:47
marcoceppialso, paste the new image-metadata again once it's re-generated14:48
privateStackmarcoceppi: Doing this now14:49
marcoceppiprivateStack, I'm also doing this again with region 3 of HP Cloud which has not simplestream release data14:49
privateStackmarcoceppi: my tools are actually being uploaded to my control bucket not juju-dist14:55
marcoceppiprivateStack: Right, so juju-dist is just for image metadata (which is why it pulls from clouds.ubuntu.com which has all the public cloud information)14:56
marcoceppiyour control bucket is where the tools go14:56
privateStackmarcoceppi: Here is the output of "juju -v bootstrap" --debug and "juju -v bootstrap --debug --upload-tools=true" http://pastebin.com/GruGjEa715:02
marcoceppiprivateStack: and the new image-metadata files?15:03
privateStackmarcoceppi: Here are the metadata files http://pastebin.com/LKdp8diR15:05
marcoceppiprivateStack: Those look good, just comparing to my index.json in hpcloud15:21
=== hazmat` is now known as hazmat
marcoceppiprivateStack: for comparison here is my index.json file for HP cloud az-3 http://paste.ubuntu.com/5911507/15:23
marcoceppiprivateStack: can you strip sensative information from your environments.yaml and paste that?15:23
gotwigmarcoceppi: jo,what is the name for the place of the daily juju-gui thing?15:23
gotwigI am now on windows :/ so I use instantserver.io15:24
gotwigthey offer ubuntu servers for free, for 30 minutes X15:24
marcoceppics:~juju-gui/juju-gui15:24
gotwigthx15:24
marcoceppiso `juju deploy cs:~juju-gui/juju-gui`15:24
gotwigmarcoceppi: when does this become the normal juju-gui? does it have to get reviewed?15:25
baudtackare there juju packages for debian sid anymore? looks like they are gone15:25
marcoceppigotwig: it's technically the proper place for the juju-gui, that ~juju-gui team is maintaining the charm, I believe there is just a bug in the charmstore where it defaults to only ~charmers as being reviewed sources. I'll need to check on that though15:26
marcoceppibaudtack: I believe we removed juju (0.7) from debian sid as it's being depricated. I imagine when the core team is ready a juju-core version will be uploaded to sid15:27
AskUbuntuisnt there any descriptive step by step guide for MAAS + juju + Ceph + Openstach HA deployment? | http://askubuntu.com/q/32447015:27
baudtackmarcoceppi: thanks. guess i can install it by hand like a barbarian until then :-p15:28
marcoceppibaudtack: there shouldn't be much difference from the version in the ppa, if you need compile instructions let me know :P15:28
privateStackmarcoceppi: For a goof I install juju 1.13.0-raring-amd64, removed all buckets, then tried to bootstrap again.15:29
=== defunctzombie_zz is now known as defunctzombie
privateStackmarcoceppi: same problem as before, I will send logs15:29
baudtackmarcoceppi: i just found out about juju today and have been using lxc for a long time. my only complaint being they were a pain in the rump when it came to network config15:30
baudtacksounds like juju handles all that kind of crap15:30
baudtacki also hate it when i want to hack on some new framework or language or something so i spend like 3 hours setting up a dev env. by that time i just don't care anymore heh.15:31
marcoceppibaudtack: it certainly does. So we have a local provider which will spin up lxc locally (there's still a bit more work there) then we also have containerization on actual clouds which hasn't landed just yet but is close15:31
gotwigmarcoceppi: I cant paste the Tilde (~) and idea what I can do :/?15:31
gotwig*any15:31
marcoceppigotwig: I dont' understand15:32
gotwigmarcoceppi: I cant use the tilde on command line ;P15:32
baudtackmarcoceppi: it's almost enough to make me want to run ubuntu instead :-p15:33
marcoceppibaudtack: ;)15:33
marcoceppigotwig: I'm really not understanding how you can't use the tilde, this perplexes me15:33
gotwigwell, some javascript stuff xD15:33
gotwigits a javascript terminal15:34
privateStackmarcoceppi: Here is the metadata from my build of 1.13.0-raring-amd64 http://pastebin.com/LnRRRqLH15:43
privateStackmarcoceppi: The log from juju -v bootstrap --debug --upload-tools=true is at the bottom of this post http://pastebin.com/bR12pDNh15:45
noodles775hazmat, wedgwood: When you've time, here's a branch adding ansible support to charm-helpers: https://code.launchpad.net/~michael.nelson/charm-helpers/ansible-support/+merge/17697315:50
hazmatnoodles775, sweet!15:50
wedgwoodnoodles775: Thanks! hey, I see some conflicts in the diff15:51
noodles775wedgwood: let me fix that...15:52
wedgwoodnoodles775: no hurry, unfortunately. I won't be able to have a look at it today.15:52
noodles775wedgwood: hah - it was because the prereq branch just landed... thanks for that!15:53
* noodles775 merges again.15:53
noodles775wedgwood, hazmat: MP is clear again for whenever you get to it (no rush from my side... one of the great things about the charm-payload is not being dependent on your version of charm-helpers landing :-) ).15:56
privateStackmarcoceppi: is there anything else you can think of that I should try?16:14
marcoceppiprivateStack: I'm at a loss, unfortunately. To prevent you from waiting around and banging your head somemore, email the juju list (juju@lists.ubuntu.com) with pretty much everything you've told me, the pastebins, the bootstrap output, etc someone else not online right now might be able to help16:16
marcoceppiThis is just a reminder I need to setup MAAS and private openstack at my place to play with this more16:17
privateStackmarcoceppi: thanks for the help. I will do16:18
gotwigmarcoceppi: the gui still looks like the old one16:21
marcoceppigotwig: that's odd, I've used cs:~juju-gui/juju-gui to get the new one. Screenshot?16:22
gotwigmarcoceppi: it says cs:~juju-gui/precise/juju-gui-77 this is wrong?16:22
gotwighow can I "upgrade"?16:23
gotwigI removed the environment, made it new, etc :/16:23
marcoceppigotwig: that's it -77 is the latest. Screenshot?16:23
gotwigof juju-status?16:23
marcoceppigotwig: of the gui16:25
gotwigimgur.com/cLjkUA216:26
gotwigmarcoceppi: ^16:28
marcoceppigotwig: that looks like theh recent version16:34
marcoceppiwhat are you comparing it to?16:34
gotwigmarcoceppi: jujucharms.com16:36
marcoceppigotwig: try https://10.0.3.212/fullscreen/16:36
marcoceppiyou should see the jujucharms.com interface16:36
gotwigin jujucharms.com16:37
gotwigthere is a side pane for the properties16:37
gotwignot a whole new view, which hides all other things16:37
gotwighm16:39
gotwigI think it is like it is..16:39
gotwigbut I dont like this16:40
marcoceppigotwig: try https://10.0.3.212/sidebar/ for the sidebar view16:40
gotwigthere is no scroll utton16:40
gotwigis it broken?16:40
marcoceppigotwig: could be, one sec let me deploy16:41
gotwigok, now comes my question16:41
gotwigwhen I go the charm16:41
gotwiggo ito the charm properties16:41
gotwigthere is no save button I can see to save my changes16:41
gotwigand no scroll button...16:41
gotwigI have to use arrows to navigate16:41
gotwigmarcoceppi: no idea?16:50
marcoceppigotwig: sorry, I was on a call16:50
gotwigthe GUI is far away from elegant :/16:51
gotwigafter I reloged into the GUI, all my services are away :/16:53
gotwigeven juju status says they  are running16:54
gotwignow I see them again16:55
gotwiggot it running :>16:56
gotwignodeJS16:56
gotwigthanks for your help16:56
gotwigmarcoceppi: where can I talk about juju design?16:57
gotwigJuju-GUI, launchpad?16:57
marcoceppi#juju-gui on freenode17:00
gotwigmarcoceppi: do you use the GUI?17:05
gotwigI g2g, thanks. I am going to report a new bug, regarding responsive web design17:06
privateStackmarcoceppi: I have been debugging on the code level and think I might have found something interesting17:21
privateStackmarcoceppi: when I don't specify a public url in the config, juju tries to create one using my users authentication.17:22
privateStackmarcoceppi: This bucket creation process fails for the public bucket with the error: MakeServiceURL: no endpoints known for service type: juju-tools17:22
privateStackmarcoceppi: If I specify a public url this error does not occur, which makes me wonder if juju is expecting juju-tools to be under the public bucket17:24
=== CyberJacob|Away is now known as CyberJacob
=== andreas__ is now known as ahasenack
arosaleshazmat: looking for some charmers to help out with the review queue, got any spare cycles for reviews?19:57
* arosales will also email ~chamers19:58
gotwigdo charms always have to use debian packages21:07
gotwigI like to use some custom stuff21:08
gotwigdownloading and setting up via curl21:08
sidneigotwig: you can do it, no problem. not a recommended practice, but you're free to do anything you want.21:18
gotwigsidnei: I want that it becomes an official charm some day21:18
sidneigotwig: then you might want to add an option to use debian packages and toggle to curl with a flag21:19
sidneii think the policy might say something about official charms not going over the network21:19
AskUbuntucan we have multiple juju config files? | http://askubuntu.com/q/32460421:19
privateStackDoes anyone know if juju works with openstack quantum?  Having problems during bootstrap with assigning a floating ip21:33
privateStackJuju appears to use the nova api to assign addresses21:33
privateStackmarcoceppi: I figured out my original bootstrap problem.  The metadata index.json had the wrong port listed.21:36
gotwigcan I use juju deploy with my custom bzr branch?21:46
sidneigotwig: yes you can21:47
gotwigand how, Obama :D?21:47
sidneigotwig: if you have a dir 'charms', and your branch is under 'charms/precise/mycharm' you can do 'juju deploy --repository=charms mycharm'21:47
gotwigsomehow this doesnt work for me21:47
gotwigI recheck21:48
gotwigerror: cannot get latest charm revision: charm not found: cs:precise/meteor-app21:48
gotwigit tries to use the official sources, not my custom directory21:49
gotwigdo  I have to use version control or so?21:50
sidneigotwig: try juju deploy --repository=charms local:mycharm21:50
gotwigmy command is juju deploy --repository=eduard local:meteor-app -e local21:51
gotwigeduard is my charms dir21:51
gotwigerror: cannot get latest charm revision: charm not found in "/home/julia/eduard": local:precise/meteor-app21:52
gotwigthe charm dir name is meteor-app  and the charm name is meteor-app21:54
sidneigotwig: does eduard/precise/meteor-app exist? what's in eduard/precise/meteor-app/metadata.yaml?21:54
gotwigno21:54
gotwigI hav meteor-app in eduard21:55
sidneigotwig: ah, that's it, needs to be into a dir named 'precise' ( really, whatever you have in default-series iirc)21:55
gotwigsucess :>21:56
gotwignow lets check juju-gui21:56
gotwigactually writting charms is really easy21:57
gotwigno, red line :D21:58
gotwighook failed install... hm22:00
gotwigsidnei: where can I specify the icon for my charm?22:20
thumperjcastro: hey22:21
thumperjcastro: not sure if you have tried rebooting a running local environment yet, but I did yesterday (quite by accident)22:22
thumperjcastro: all came back up fine22:22
thumperso... yay \o/22:22
gotwighow do I remove a service22:29
=== _mup__ is now known as _mup_
sidneigotwig: i think the icon is just icon.svg in the root23:01
sidneigotwig: juju destroy-service?23:01
gotwigno23:01
gotwigdestroy-service doesnt ermove it23:01
gotwig*remove23:01
sidneiwhat you mean by remove then?23:08
bradmfwiw I just submitted LP#1205130 for a charm for bip I wrote, any feedback would be great.23:22
_mup_Bug #1205130: New charm: bip <Juju Charms Collection:New> <https://launchpad.net/bugs/1205130>23:22
=== CyberJacob is now known as CyberJacob|Away

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