/srv/irclogs.ubuntu.com/2013/03/11/#juju-dev.txt

=== bigjools_ is now known as bigjools
=== gary_poster|away is now known as gary_poster
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
arosalesmramm: do you guys have a juju-tools tar ball for 1.9.11 that I can use to make a control buck on HP's cloud?16:37
=== deryck is now known as deryck[lunch]
mrammarosales: sorry, was in a meeting and then went to lunch without seeing your message, looking...18:05
arosalesmramm: thanks18:06
=== deryck[lunch] is now known as deryck
=== deryck is now known as deryck-afk
=== fss_ is now known as fss
arosalesmramm, I found http://juju-dist.s3.amazonaws.com/tools/juju-1.9.11-precise-amd64.tgz21:42
mrammcool21:43
mrammI am at the airport waiting for my flight, and haven't had time to look21:43
mrammI added two new tickets:21:43
* arosales is going to see if that works for hp, and if so send my notes to the list.21:43
mrammone for adding HP and private openstack cloud's to our "tools just work" story.21:44
arosalesmramm, hmm I don't see those yet @ http://goo.gl/ but perhaps I am looking at the wrong search21:49
mrammhttps://canonical.leankit.com/boards/view/103148069/10418597321:50
mrammhttps://canonical.leankit.com/boards/view/103148069/10418597221:50
mrammI do not expect them to be done this week21:50
mrammbut hopefully next week before 1.9.1221:51
mrammI will get them estimated and on the calendar this week -- but I expect that they will both be small21:52
arosalesmramm, ah ok I was looking for an lp bug.  Thanks21:57
mrammyea, we are using LP for features users ask for, and for actual bugs21:58
mrammbut are tracking everyday development tasks and internally generated stuff on the kanban board (which is a better fit for our team's processes)21:58
arosalesquestion: should "juju destroy-environment" also remove my control bucket in go-juju 1.9.11?22:34
wallyworld__arosales: yes, the control bucket gets deleted22:51
arosaleswallyworld__, hmm ok22:53
wallyworld__not what you were expecting?22:53
arosaleswallyworld__, I guess not as I manually made the control bucket, but perhaps that is a work around . . .22:55
wallyworld__arosales: yes, normally the control bucket gets made automatically and is considered part of the environment, you needed to make it manually since we dont yet have a well defined public bucket in which to put tools like for ec222:56
arosaleswallyworld__, ya for ec2 I don't see the deleting control bucket message22:57
arosaleson destroy-environment, thta is.22:57
arosalesjust for hpcloud22:57
wallyworld__arosales: for ec2, the control bucket is deleted also, perhaps the logging is different22:58
wallyworld__hmm, same logging22:58
arosaleswallyworld__, ah ok. perhaps cause I got a failed to delete control-bucket message from hp22:59
arosalesalthough it did delte22:59
arosales*delete22:59
wallyworld__that can happen sometimes according to a comment in the code22:59
wallyworld__not sure why22:59
wallyworld__we should fix that22:59
arosaleswallyworld__, http://pastebin.ubuntu.com/5606299/22:59
wallyworld__thanks, that error code is useful, i'll see what the openstack docs say23:00
wallyworld__we may be able to catch that specific error and deal with it23:01
wallyworld__so, even with that error, the container was indeed deleted?23:01
arosaleswallyworld__, since on hp cloud the control bucket has to be manually do you have any suggestions for a workaround if juju destroy-environment deletes?23:01
arosaleswallyworld__, correct with that error the control bucket was still deleted.23:01
wallyworld__arosales: i normally just do a upload-tools each time i bootstrap, but i'm guessing you don't have the source to do that?23:02
arosaleswallyworld__, it looks like the compute instances were also terminated, which is good as I wasn't able to sucessfully process juju destroy-environment on hp cloud23:02
wallyworld__yes, destroy nukes compute nodes and control bucket23:03
arosaleswallyworld__, correct, I was trying to get around building from source, but perhaps I should just go the source route23:03
arosaleswallyworld__, sure I was just wondering if the error on deleting the control-bucket stopped terminating the compute instances.23:04
wallyworld__arosales: you can create a separate bucket and add it to the config as public-bucket-url. i'll work up an example and tell you what the correct config is23:04
arosalesbut it did not, compute instances were also terminated (just as a side note).23:04
wallyworld__arosales: what's your timezone there, will you be around for a bit?23:04
arosalesus central23:04
arosalesso getting close to end of day for me.23:05
wallyworld__arosales: the bucket deletion is done last, and error is ignore as such23:05
arosaleswallyworld__, good to know on destroying the resources, thanks.23:05
wallyworld__arosales: would it be ok if i emailed you the setup notes?23:05
arosaleswallyworld__, no rush.  an email works fine for an example.23:05
wallyworld__i'll do it now, but not sure how long it will take to get right23:05
arosalesno worries, just if you have a spare moment.23:05
wallyworld__need to spin it up to test etc23:05
arosaleswallyworld__, I can make a public URL control bucket23:06
arosaleswallyworld__, https://region-a.geo-1.objects.hpcloudsvc.com:443/v1/49578719334052/juju-6de995f1bc7f4d72a1275f25f7a1ef1a/tools/juju-1.9.11-precise-amd64.tgz23:07
wallyworld__not quite - when we decide how/where to make a public bucket available with all the tools in (like for ec2), you add public-bucket-url as a config item23:07
wallyworld__in the above axample, you add something like @public-bucket-url: https://region-a.geo-1.objects.hpcloudsvc.com:443/v1/49578719334052/juju-6de995f1bc7f4d72a1275f25f7a1ef1a@ to your yaml23:07
wallyworld__s/@/"23:08
wallyworld__so long as the bucket is one you made manually and is separate to your control bucket, you put tools there and it won't be deleted23:08
arosaleswallyworld__, ok I can give that a try23:09
wallyworld__arosales: the issue with openstack is that the url contains the tenant id, unlike ec2, and we need to figure out a good way to publicise an acceptable public bucket url23:11
arosaleswallyworld__, yup http://pastebin.ubuntu.com/5606323/23:12
arosalesI ran into that23:12
wallyworld__arosales: public-bucket-url23:12
wallyworld__not public-control-bucket23:13
arosalessorry I had "public-control-bucket"23:13
wallyworld__np23:13
arosaleswallyworld__, do I need to specify the tools path in the url I pass to my yaml file?23:17
arosaleshttp://pastebin.ubuntu.com/5606337/23:17
wallyworld__arosales: let me check23:18
arosaleswallyworld__, trying with appending /tools and /tools/juju-1.9.11-precise-amd64.tgz didn't help the finding the tools23:21
wallyworld__arosales: juju appends "tools" automatically to the public bucket url. at first glance, what you have seems correct.23:22
wallyworld__arosales: are you running quantal locally?23:22
arosaleswallyworld__, correct23:23
arosalesrunning quantal locally23:23
wallyworld__arosales: so you need default-series: precise in your yaml23:23
wallyworld__to tell juju to not just try and use the same series and you are running locally23:23
arosalesyup got that     default-series: precise23:23
wallyworld__oh ok, and still failing23:24
arosaleswallyworld__, I got juju to work on hpcloud with this control bucket just had the removal of the control-bucket which I was seeing if I could make easier for other folks wishing to test on hpcloud23:24
wallyworld__arosales: it would be better if we could just point folks at a public bucket, even if it has a tenant id in it (imho). i'll plug in your bucket above into my setup and see what i need to do to get it to work23:26
arosaleswallyworld__, no worries, seems the way forward is to build from source23:26
wallyworld__i'd like to get this working ie it should work23:26
wallyworld__i'll figure out what needs to be done and let you know, may only take a few minutes so i'll ping you if you are still around, otherwise email23:27
arosalesya, I was hoping to give my public bucket to others to test, if they wish for an easier setup . .  .23:27
arosaleswallyworld__, sounds good.23:27
arosalesplease don't let this pre-empt any of your more critical work though :-)23:27
wallyworld__indeed. this should work, it's been tested before, just a doc issue i think unless something has broken23:27
wallyworld__oh no, to me this is critical23:27
wallyworld__you are the first guinea pig to try this. we only just got it working last week with the control bucket trivk23:28
wallyworld__trick23:28
arosaleswallyworld__, ok, thanks.23:29
arosaleswallyworld__, I am happy to test or write up bugs, just let me know :-)23:29
wallyworld__thanks. appreciate your patience23:29
arosalesah no worries, part of the fun :-)23:30
wallyworld__yes. we were so exciting last thurday when "juju deploy" wordpress worked for the first time on hp cloud :-)23:30
arosalesyup I also saw it working here with the control bucket removal23:31
arosales\o/ :-)23:31
wallyworld__indeed23:32
arosaleswallyworld__, I'll take a look at email tonight, but need to log off for a bit.23:36
arosaleswallyworld__, thanks for the help23:36
wallyworld__sure, np. will email as soon as i figure it out.23:36

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