/srv/irclogs.ubuntu.com/2014/01/30/#juju.txt

=== thumper-afk is now known as thumper
=== mwhudson is now known as zz_mwhudson
jseutter_does anyone know how to get juju working with hpcloud?  I tried following the instructions on https://juju.ubuntu.com/docs/config-hpcloud.html but get an error saying "cannot create service urls"03:40
lazyPowerjseutter_, what is your geo set to?03:45
lazyPowers/geo/region03:45
=== wedgwood is now known as Guest44693
jseutter_lazyPower: Ah! I just changed that to az1-region-b.geo-1 and removed hpcloud.jenv, but still get the same error03:46
lazyPowerHmm, that was going to be my suggestion03:47
jseutter_hm, looking closer, the error also mentions "access to these services is missing: object-store"03:47
jseutter_I wonder if I need to enable swift in hpcloud somehow03:48
lazyPowerhttps://bugs.launchpad.net/juju-core/+bug/1237011, jseutter_ have you read this bug report?03:48
lazyPoweraccording to wallyworld, you dont need to enable those anymore. it shoudl work ootb03:48
jseutter_lazyPower: hm.  Is that because of a change in hpcloud, or something in juju?03:49
lazyPowerI would assume juju03:50
lazyPowerbut I'm not certain of that03:50
lazyPowerwell wally does mention swift in a post, so you may still need swift for juju to function correctly, and that is the object store in openstack yes?03:53
lazyPowerit sounds plausible03:53
jseutter_Found the problem.03:54
jseutter_doh, hit the next one03:54
jseutter_the issue was that in hpcloud, you have to hit the "activate" button on object storage to get access to swift03:56
jseutter_now I get "cannot start bootstrap instance: index file has no data for cloud {az1-region-b.geo-1 https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/} not found"03:59
jseutter_hitting that page in my browser gives an xml response that says "Not Allowed".04:02
lazyPowerjseutter_, just a suggestion, but check this AU post04:04
lazyPowerhttp://askubuntu.com/a/166081/680704:04
lazyPowerdid you follow those steps to get started?04:04
lazyPoweri'm not terribly familiar with HPCloud so this is a learning experience for the both of us04:04
jseutter_lazyPower: heh.  I started there first, but that askubuntu post seems older than the directions on juju.ubuntu.com that I referenced earlier04:05
lazyPowerOk, I'll make a note to get them updated. Thanks for that feedback04:06
jseutter_like in that askubuntu post, hpcloud didn't have ubuntu images yet04:06
jseutter_lazyPower: The juju.ubuntu.com page for hpcloud is fairly badly out of date as well.  I can file a bug if it would help04:07
jseutter_it looks like hpcloud recently upgraded the version of openstack horizon they are based off of04:07
lazyPowerjseutter_, please do - https://bugs.launchpad.net/juju-core/docs04:10
jseutter_lazyPower: yeah, it's my first time with hpcloud as well. I spent the day trying to get juju working with devstack, then gave up and tried hpcloud as a last resort04:10
lazyPowerI've got juju working on Amazon and LXC providers, that's right around the end of my knowledge of the providers04:11
lazyPowerI figure I'll be digging around in openstack very soon, but unfortunately I'm not much help to you right now04:11
lazyPoweraside from moral support and extra google'ing04:11
=== thumper is now known as thumper-afk
jseutter_lazyPower: thanks, that helps.  I'm working on a charm that talks to nova, so I need some sort of working openstack install04:26
jseutter_I might try rackspace next04:26
jseutter_heh, apparently rackspace is a non-starter04:27
jseutter_lazyPower: https://bugs.launchpad.net/juju-core/+bug/1274379 filed04:39
jseutter_hm, wonder who else offers openstack that will work with juju...04:39
lazyPowerTHe only listed providers are HP and Maas/openstack04:40
lazyPowerthe manual provisioner isn't completed04:40
lazyPowerI'll reference this bug tomorrow in my standup and see if there is already WIP on the hpcloud docs being updated.04:41
lazyPowerbut for now i'm going to EOD, its well past quitting time04:41
jseutter_ah, thanks.04:41
jseutter_same here04:41
lazyPowerif you need anything else, dont hesitate to ask jseutter_04:41
lazyPowertake care04:41
wallyworld_jseutter_: lazyPower : sorry, i just noticed your posts. from memory, there is only images metadata for region a right now on hp cloud, so for region b you need to generate and use your own metadata04:54
lazyPowerwallyworld_, for clarity can you point me to information regarding that? I ran across a prior transcript from IRC without instructions.04:55
jseutter_wallyworld_: ah, I'll try region a then04:55
wallyworld_i just manually inspected the json metadata file to confirm it only had region a in it.04:56
wallyworld_i'm not sure of the current state of the doco04:56
wallyworld_i can ask to see if the folks doing the roll outs can include metadata for region b04:56
wallyworld_there's a getting started guide somewhere, i'll see if i can find a link04:57
wallyworld_the only doc i know of is https://juju.ubuntu.com/docs/config-hpcloud.html04:58
wallyworld_i haven't read it so am not sure if it's up to date04:58
wallyworld_it's a little dated04:58
wallyworld_you no longer need public-bucket-url or control-bucket if running juju 1.16.5 or greater i think04:59
lazyPowerwallyworld_, ah yeah i've read through that. Sorry i thought there would be more information specific to generating the metadata05:00
wallyworld_ah, i'm not sure if or where that's documented yet. what version of juju are you running05:01
lazyPower1.17.105:01
arosalesjseutter_, are you running 1.17.x?05:02
wallyworld_here's the current draft doco, there's a bug to turn it into user doc http://pastebin.ubuntu.com/6841941/05:02
jseutter_wallyworld_: so I tried switching regions and the error is still the same. "ERROR cannot start bootstrap instance: index file has no data for cloud {az1-region-a.geo-1 https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/} not found"05:02
arosaleslazyPower, if you are running 1.17.x in hp cloud you need to add     tools-url: https://region-a.geo-1.objects.hpcloudsvc.com/v1/60502529753910/juju-dist/tools05:02
arosales 05:02
arosalesto your hp stanza05:02
jseutter_arosales: 1.16.4-saucy-amd6405:02
arosalesjseutter_, ah 1.16.4 shouldn't need to the tools url05:03
arosalesbut lazyPower if you are running 1.17 on hpcloud you will need the tools url05:03
wallyworld_lazyPower: also, 1.17.1 is supposed to automtically upload image metadata to the cloud storage if you generate it so the bit about uploading using swift can be ignored05:03
wallyworld_arosales: we *really* need to get metadata/tools up on streams.canonical.com05:04
arosalesjseutter_, and your getting a 404 in region a?05:04
wallyworld_arosales:  this was supposed to happen before 1.17 was released05:04
arosalesjseutter_, remember if you switch to region a to activate both compute and storage for region a05:04
jseutter_arosales: checking..05:05
arosaleswallyworld_, simple streams has been fun this week05:05
wallyworld_yeah, especially for maas :-(05:05
wallyworld_we gave roger a workaround though05:05
wallyworld_if streams.c.com was up, that wouldn't have been an issue for maas either05:05
arosaleswallyworld_, at least there is that05:05
wallyworld_arosales: root cause there was maas can't return a url to a file unless it has already been uploaded05:06
wallyworld_other providers don't have that issue05:06
wallyworld_and we missed it cause we don't yet have CI testing for maas05:06
jseutter_arosales: compute and object are activated for region a.  When I hit the url from the error in my browser, I get an xml message that says "Not Allowed". Not sure if that's a valid test or not.05:06
wallyworld_that xml message is cause tools/image metadata cannot be found - it is a poor message but is fixed in 1.17.105:07
wallyworld_it would be goo to run bootstrap with --debug --show-log to see the output so we can tell where it's trying  to find tools05:08
arosaleswallyworld_, we need better ci with maas for sure05:09
wallyworld_arosales: william and others are now going to push hard to get that happening05:09
arosales+105:09
arosalesjseutter_, and you pastebin juju --debug bootstrap05:10
wallyworld_arosales: we also need, it seems, to get other regions besides region a supported on hp cloud05:10
arosaleswallyworld_, the cpc is going to be working on indexing hp in february05:10
wallyworld_yay05:10
jseutter_arosales: is there any secrets in the output?05:11
arosalesjseutter_, nope05:11
jseutter_arosales: http://pastebin.ubuntu.com/6841977/05:12
arosalesjseutter_, do you have05:14
arosalespublic-bucket-url: https://region-a.geo-1.objects.hpcloudsvc.com/v1/6050252975391005:14
arosalesfor your hp stanza in your environments.yaml ?05:14
wallyworld_arosales: public bucket not required05:16
wallyworld_log shows: certified cloud tools-url set to https://region-a.geo-1.objects.hpcloudsvc.com:443/v1/60502529753910/juju-dist/tools05:17
arosalesjseutter_, also here is an example of my hp stanza that I had working for 1.1605:17
arosaleswallyworld_, even for 1.16?05:17
wallyworld_yeah05:17
arosaleshmm05:17
wallyworld_in 1.16, we made juju know about hp cloud05:17
wallyworld_that line i just pasted above shows the tools url being set for hp cloud05:18
arosaleswallyworld_, good point05:18
wallyworld_this line shows tools meta data being read05:19
arosaleswallyworld_, I had that from previous juju versions I guess05:19
wallyworld_ finding products at path "streams/v1/com.ubuntu.juju:released:tools.json"05:19
wallyworld_yeah05:19
wallyworld_this line shows tools being found05:19
wallyworld_ juju.environs.boostrap bootstrap.go:71 environs: picked newest version: 1.16.505:19
jseutter_arosales: I added public-bucket-url, http://pastebin.ubuntu.com/6841998/05:20
wallyworld_last lines show that it's image metadata not found05:20
wallyworld_on cloud-images.ubuntu.com05:20
wallyworld_so tools are ok05:20
arosalesjseutter_, same error?05:21
wallyworld_jseutter_: public bucket url not needed, finding the image metadata is the issue05:21
wallyworld_let me check the image metadata05:21
jseutter_arosales: yeah, seems exactly the same05:21
arosalesjseutter_, ah what is your default series?05:22
wallyworld_arosales: jseutter_ the region is wrong05:22
arosalesjseutter_, sorry to have your try public-bucket wallyworld_ pointed out the tools are being found05:22
wallyworld_you need to set the region to az-1.region-a.geo-105:22
wallyworld_not az1.region-a.geo-105:22
arosaleswallyworld_, nice eye05:23
jseutter_really?05:23
* jseutter_ smacks forehead05:23
wallyworld_it took me squinting hard to see it :-)05:23
arosalesjseutter_, make sure you have "region: az-1.region-a.geo-1"05:23
wallyworld_so in summary: juju "just works" for hp cloud and region a. not urls in config needed05:24
wallyworld_other regions coming in feb hopefully :-)05:24
arosalesalso of note we don't have saucy images in hp cloud yet . .  just precise.  However, it looks like you are using precise too based of your output05:24
arosaleswallyworld_, thanks05:24
wallyworld_np05:25
jseutter_arosales: I don't have a default-series set for my hpcloud config section05:25
arosalesjseutter_, no worries it should default to precise05:26
arosalesand your output looks like that is what it is using05:26
jseutter_arosales: error seems unchanged - http://pastebin.ubuntu.com/6842022/05:27
arosalesjseutter_, try to rm ~/.juju/environments/hp.jenv05:28
arosalesgiven you call your environments.yaml "hp"05:28
jseutter_arosales: I named it hpcloud, and I have been verifying that destroy-environment blows away the file in environments/05:30
jseutter_just tried it again, no change05:30
jseutter_hm05:30
wallyworld_jseutter_: it's az-1.region.....05:32
wallyworld_not az-1-region.....05:32
wallyworld_that info is not Juju btw, that comes from hp cloud05:33
wallyworld_juju needs to match with how hp cloud exports its region names05:33
jseutter_fsck, sorry about that05:33
wallyworld_np :)05:33
wallyworld_easy to do a typo for sure, i've made lots of similar mistakes myself05:33
wallyworld_i also say a lot worse than fsck :-)05:34
jseutter_finally, a different error: http://pastebin.ubuntu.com/6842041/ :)05:36
jseutter_hehe, trying to keep it pc.  Today I can verify that my keyboard is resistant to beatings05:36
arosalesjseutter_, lol05:39
wallyworld_jseutter_: i've not seen that one. juju got told to ask hp cloud to start an instance with image id 8107805:39
* arosales taking a look at your recent debug log05:39
wallyworld_hp cloud complained05:39
wallyworld_perhaps the images ids we are using are out of date?05:40
wallyworld_i think there's a nova command to list the current ids05:40
wallyworld_nova image-list05:41
jseutter_hm, is there some way to get a novarc out of hpcloud?05:41
arosaleswallyworld_, but that would be metadata thought right?05:41
arosaless/thought/though/05:41
wallyworld_arosales: yeah, i've just done a listing and there's no such image id anymore05:41
wallyworld_arosales: so our images metadata appears stake05:42
wallyworld_stale05:42
* arosales tries a bootstrap on hpcloud05:42
wallyworld_jseutter_: i just set up a novarc file with exported values for region, username, password etc05:43
wallyworld_so you could do it my hand if you have all the values, which you do cause i'm guessing they are in your env.yaml05:43
jseutter_wallyworld_: I'll give it a shot05:44
arosalesugh I am on 1.1705:44
arosalesjseutter_, https://docs.hpcloud.com/cli/nova05:45
arosalesfor the nova set up05:45
wallyworld_jseutter_: here's mine http://pastebin.ubuntu.com/6842083/05:47
arosaleswallyworld_, so is image stream data different for 1.16 and 1.1705:47
wallyworld_arosales: no, should be the same. i'd say hp added new images and deleted old ones and we haven't kept our metadata current05:47
arosaleswallyworld_, so I get a successful bootstrap on hpcloud with 1.1705:47
wallyworld_hmmm. do you know what image id was used?05:48
wallyworld_what region?05:48
wallyworld_az-1, 2 or 3?05:48
wallyworld_arosales: the 3 image ids in our metadata are 49850, 68481, and 8107805:50
arosalesaz105:50
wallyworld_for regions 3, 2, 105:50
arosaleswallyworld_, http://pastebin.ubuntu.com/6842103/05:51
wallyworld_arosales: can you look at the hp console and see what image id was chosen?05:52
arosalessure one sec05:52
arosaleswallyworld_, 8107805:55
wallyworld_arosales: weird. that's the same image id as jseutter_ got but his request to hp cloud was rejected05:55
wallyworld_maybe it was a transient error05:55
arosalesthe ids change per region05:56
jseutter_hm, is there something else I need to click in the gui?05:56
wallyworld_i think it was also region az-105:56
arosalesjseutter_, are you in US West AZ 105:56
arosalesjseutter_, are you in the classic or new console?05:58
jseutter_arosales: I have "region: az-1.region-a.geo-1" in my config section05:58
jseutter_arosales: new console05:58
jseutter_I just signed up with a trial today, I didn't get a choice to use the old console05:58
* arosales traversing their new console05:59
arosaleshmm the new  console isn't showing me us west az1 compute image ids06:07
arosalesjseutter_, I _think_ you are operating in a new region06:07
jseutter_arosales: hm, that would make sense.  Is there any way I can tell?  When I launch an instance in the gui I still get az1 as a choice of where my instance will run06:08
arosalesjseutter_, if you go here06:09
arosaleshttp://www.hpcloud.com/console06:09
arosalesdo you see an option for HP Classic Cloud Management Console06:09
jseutter_yes.  I haven't used it yet06:10
arosalesjseutter_, its different services from hp06:10
arosalespre and post 13.506:11
jseutter_arosales: when I click the Activate button in the classic console, I get automagically booted to the new console06:11
arosaleswhen I logged into the new console us west was not activated for me, even though I knew it was06:11
arosalesjseutter_, interesting06:12
arosalesjseutter_, on https://console.hpcloud.com/dashboard06:12
arosalesdo you see a button for us west az106:12
arosalesunder "infrastructure services"06:12
jseutter_arosales: no.  When I click anything on that page I get sent to horizon.hpcloud.com06:13
arosaleshmm ok06:13
arosalesjseutter_, out of curiosity does https://console.hpcloud.com/compute/az-1_region-a_geo-1/servers load for you06:14
arosalesjseutter_, looking at the two consoles I don't see an Ubuntu 12.04 image under partner provided  images in the new console06:15
arosaleshowever I do see this image in the old console under partner provided images06:15
jseutter_arosales: no.  I get redirected to https://console.hpcloud.com/dashboard and there is a red error message in the top right that says "The requested service does not exist in the project"06:15
arosalesand that is image 81078 which juju is trying to bootstrap06:15
arosalesok, this looks like an issue with hpcloud that they are not bringing forward partner provided images06:16
jseutter_arosales: do you see this image? https://horizon.hpcloud.com/project/images_and_snapshots/8c096c29-a666-4b82-99c4-c77dc70cfb40/06:17
arosalesspecifically they did not bring Ubuntu 12.04 (81078) that Canonical provided and that juju is trying to bootstrap06:17
arosalesWarning: You are not authorized to access /project/images_and_snapshots/8c096c29-a666-4b82-99c4-c77dc70cfb40/06:17
jseutter_That for me is an image "Ubuntu Precise 12.04 LTS Server 64-bit 20121026 (b)"06:18
jseutter_ah, I see that some of the images in the list say "Partner Provided", but the ubuntu ones don't06:20
jseutter_err, "Partner Image:06:20
arosalesjseutter_, basically there should be a 12.04 image under partner provided06:20
jseutter_nuts.06:21
arosalesjseutter_, since I have an account before I can still access that image in the pre 13.5 hp services06:21
arosalesjseutter_, I am going to open a ticket with hp cloud06:21
jseutter_and probably why no one saw it before now.06:21
arosalesjseutter_, sorry won't help you right now but hopefully we should see a resolution soon06:21
arosalesjseutter_, it may be that your account is new06:22
jseutter_arosales: yeah, I just signed up a few hours ago06:22
jseutter_arosales: thanks for all your help, I owe you and wallyworld_ a beer when I see you guys06:23
arosalesjseutter_, nah thanks for the feedback. Its appreciated.06:23
wallyworld_hey, my pleasure. pleased to help06:23
wallyworld_sorry you had all the issues06:24
jseutter_heh, we just added more work to the pile today :)06:24
arosalesjseutter_, I'll give you a ping when I find a conclusion here and also update our juju docs06:24
jseutter_arosales: cool, thanks06:25
* arosales filing a hp support ticket06:25
arosalesjseutter_, there is always canonistack06:27
jseutter_arosales: I've been fighting with it all day, haven't been able to successfully bootstrap _once_ today in either region.06:28
jseutter_I tried devstack for a bit but gave up when I found an email saying it was a bad idea to try it with juju06:30
arosalesjseutter_, geesh you just can't catch a break06:31
jseutter_heh, it sorta feels that way.  Thanks again06:32
=== zz_mwhudson is now known as mwhudson
* arosales confirmed that there is a bug on HPs end. Specifically HP had not moved 12.12 partner images over to 13.507:03
arosalesso new users can't see 12.12 services onlly 13.507:03
arosalesthus bootstraping fails as the partner images are not in 13.5 :-(07:04
arosaleshopefully there will be a resolution soon07:04
arosaleswallyworld_, ^ fyi07:04
wallyworld_ah ok, thaks07:04
=== CyberJacob|Away is now known as CyberJacob
ianousDoes anyone know if juju sends auth-token to retrieve files from buckets?08:11
=== mwhudson is now known as zz_mwhudson
=== thumper-afk is now known as thumper
=== BradCrittenden is now known as bac
=== gary_poster|away is now known as gary_poster
tomixxxhi, it seems i have some DNS resolve problems: when i enter ssh cloud1.master it says: "ssh: Could not resolve hostname cloud1.master: Name or service not known"13:39
=== natefinch is now known as natefinch-afk
lazyPowertomixxx, that's not a valid FQDN. is cloud1.master the name of a service you've deployed with juju?13:47
tomixxxno, its the fqdn13:47
tomixxxah sorry13:48
tomixxxde fqdn is "cloud1"13:48
tomixxx.master is added by MAAS because i have enabled "DHCP and DNS"13:48
lazyPowerWhats the IP of cloud1? Can you try ssh'ing to the IP instead of the assigned hostname?13:49
tomixxxip is 10.0.0.10013:50
tomixxxand yes, i can ssh with that13:50
tomixxxbut the problem is that juju tries to enter with "cloud1" and not with the IP so juju stucks when i call for example "juju status"13:50
tomixxxhmm it seems its sufficient to add the nameserver to the interface, namely "dns-nameservers 10.0.0.9"13:53
marcoceppitomixxx: you need to set your resolv.conf on your maas master to point to your DNS server14:00
marcoceppitomixxx: while this won't survive reboots, edit /etc/resolv.conf at the top add nameserver 10.0.0.1 save it then try to ssh to cloud1.master14:01
tomixxxhi marcoceppi: i have modified etc/interfaces and added a line "dns-nameserver " and now resolv.conf on restart is alrady set14:02
tomixxxi cann ssh now cloud1.master14:03
marcoceppitomixxx: okay, cool. You'll need to edit you /etc/resolveconf/resolv.conf.d/head to have the nameserver 10.0.0.1 and on another line add search master14:07
marcoceppithen run `sudo resolveconf -u` and then all you should need to do is type ssh cloud1 (no need for .master anymore) and get to that box14:07
marcoceppifrom there juju status, juju ssh, etc should work without issue and you can carry on deployting14:07
tomixxxi want to re-install juju complete because the dns problem was already there when i added the nodes to maas (when they failed to download some packages)14:20
tomixxxthe problem is, i cannot delete cloud1.master, because the node is "allocated to root" because it is needed as juju bootstrap node.14:20
marcoceppitomixxx: you should be able to run `juju destroy-environment maas`14:21
marcoceppiwhich should un-allocate it from root and return it to the pool of available machines14:21
tomixxxi have executed sudo apt-get purge juju before, so i cannot do it anymore :D14:21
tomixxxok, i will reinstall juju package in order to call destroy-environemnt14:23
tomixxxdamn does not work14:23
tomixxxit says "error: unrecognized args: ["maas"]"14:24
tomixxxkk, calling "juju destroy-environment" is sufficient14:26
tomixxxah help... the nodes cannot download packages again...14:32
tomixxxcan i have multiple "search" statements in resolv.conf?14:35
tomixxxok, now ubuntu+juju is installed again on my first cloud node, but i stuck agian when i call "juju status"14:45
tomixxxis this ok, will juju status only work if installation of cloud node is finished?14:45
tomixxxat the moment, "ssh ubuntu@cloud1" does not work either14:46
marcoceppitomixxx: yes, you need to wait for cloud1 to install14:51
tomixxxOK14:52
tomixxxok, seems to work15:07
tomixxxjuju status works15:07
marcoceppitomixxx: then you're all set15:34
tomixxxwe will see15:35
tomixxxhowever, i can deploy already services like mysql or rabbitmq-server :-)15:35
=== CyberJacob is now known as CyberJacob|Away
tomixxxhow can i check which services are already startet with juju?15:50
lazyPowertomixxx, juju status has a data point: agent-state15:54
tomixxxahh i see15:55
lazyPowerif agent-state = started, your charm has run its install hooks, and is in a ready state according to the orchestrator15:55
tomixxxa question: when i run juju-add-relation nova-compute rabbitmq-server15:56
tomixxxi got "ERROR ambiguous relation: "nova-compute rabbitmq-serveR" could refer to "novacompute:amqP rabbitmpq-server:ampq"; "nove-compute:nrpe-external-master rabbitmp-server:nrpe-external-master"15:57
tomixxxis that normal?15:57
tomixxxand some juju-services have angent-state: pending...15:58
tomixxxon which machine are these service installed?15:58
tomixxxi dont understand: i have only 2 nodes, and they are listet in "juju status" but also a few other nodes up to 8 nodes which are not listed...15:59
tomixxxCan someone look at this, please: http://pastebin.ubuntu.com/684444316:03
tomixxxwhy are there listed multiple nodes until node "8", when i only have two nodes?16:05
lazyPowertomixxx, that is normal, there are two interfaces define16:05
lazyPower*defined. And you need to be implicit in which relationship are you building16:05
lazyPowermarcoceppi, tomixxx has some machine spin up issues it looks like. Any input on whats up with gomaasapi?16:07
tomixxxwhat do u mean with "two interfaces" ?16:07
tomixxx:( do i have destroyed sth?16:08
tomixxxthe install guide says: 1.It's assumed the user has sufficient number of nodes available in MAAS. If you don't intend to use the helper application, juju-jitsu and its deploy-to option allowing you to co-locate services, then the minimum deployment outlined below requires a minimum of 10 machines including the juju bootstrap node and MAAS server.16:11
tomixxxDo i need really 10 PHYSICAL machines?16:12
tomixxx i have only 216:12
tomixxx3 together with maas16:12
tomixxxi want to start all service on one physical machine i guess16:14
tomixxxlazyPower: can i simply ignore the nodes 2 to 8 ?16:19
tomixxxlazyPower: Do you mean they come from the university network?16:19
lazyPowertomixxx, 1 moment16:19
tomixxxkk16:19
lazyPowertomixxx, ah i'm not sure about the requirement of 10 physical machines.16:23
lazyPowerMy exposure to maas has been very limited16:23
marcoceppitomixxx: what are you trying to do at the end of the day?16:24
marcoceppiyou do not need juju-jitsu anymore, --to support is in juju now16:24
tomixxxmarcoceppi: at the end of the day, i want to parallelize a Natural-Language-processing task with cloud computing16:25
tomixxxso, my vision is that i can use openstack which will distribute to work to the nodes available in the cloud, roughly spoken16:26
marcoceppitomixxx: so, if you want to deploy openstack, you can do a lot of it in containers, which will allow you to run more density on fewer nodes16:26
marcoceppiI think the least I've seen is something like 4 nodes for openstack. Then each additional node is just used for nova-computer16:27
tomixxxadditionally, the performance of this private cloud is going to be evaluated against the performance of public cloud solutions16:28
tomixxxmy question is now: can i deploy all service listed here: https://help.ubuntu.com/community/UbuntuCloudInfrastructure on one single machine?16:30
tomixxxand the second quesiton is: can i ignore the listed nodes 2 to 8 in the juju status output16:30
marcoceppitomixxx: what do you mean the listed nodes 2 to 8?16:31
tomixxxhttp://pastebin.ubuntu.com/6844443 here u can see the output from "juju status"16:31
tomixxxi have only 2 physical nodes, but other nodes are listet there, however, indicating, they are not really available16:31
marcoceppitomixxx: no, those mean that juju can't allocate those nodes16:32
marcoceppitomixxx: you only have two MAAS nodes?16:32
tomixxxyes16:32
marcoceppitomixxx: yeah, so that's why. Default juju story is to put one machine on one node16:32
marcoceppitomixxx: it's hard to demo a cloud infrastructure you dont' have a lot of cloud space16:32
tomixxx;-)16:33
marcoceppitomixxx: You can put almost all the services, execept nova-compute, on LXC containers on one node16:33
marcoceppitomixxx: if you don't use swift, or any object store, you /could/ use just two machines16:33
marcoceppitomixxx: so what you'll want to do, is juju destroy-environment16:34
marcoceppithis will re-allocate the nodes back to maas16:34
tomixxxk16:35
tomixxxdone16:35
marcoceppitomixxx: give me about 5 mins16:36
tomixxxk, the whole task looks as follow: a user uploads a number of plank text documents to the cloud, the cloud distributes the documents to the nodes (i.e. with map reduce or similar techniques), each node make the languaga analysis and store the results in a distributed file system and finally, the user is able to download the results from the cloud.16:37
tomixxxso, roughly spoken, i need to get things work simply because i need to write my master thesis and maybe i will use this technology later on in my company as well.16:38
tomixxxso, i do this not "for fun"16:38
tomixxxmarcoceppi: are u still here?16:54
marcoceppitomixxx: yes, sorry16:55
tomixxxnp16:55
marcoceppitomixxx: you can use juju deploy --to lxc:0 for almost all the services except neutron (so don't use neutron for networking) and nova-compute16:56
marcoceppiwhen you get to deploying nova-compute, just run juju deploy nova-compute to give it it's own machine16:56
tomixxxkk, why do nova-compute need its own node?16:57
tomixxx(just for the sake of interest)16:57
marcoceppinow this may not work for openstack, but almost all the services can be put in LXC containers on one node except nova-compute which needs it's own node16:57
marcoceppitomixxx: because that's what actually spins up VMS16:57
tomixxxk16:57
marcoceppitomixxx: so when you want more compacity, you add another machine in maas, then you can juju add-unit nova-compute and you have more resources to run VMs in openstack16:57
tomixxxk16:58
marcoceppiyou also can't use ceph, swift, or any of the osd stuff because of the lxc containers, you need physical machines for that16:58
marcoceppibut if you don' need an object store, just the VM capacity, that should do16:58
tomixxxwhat do u mean with "object store"16:58
=== natefinch-afk is now known as natefinch
tomixxxmarcoceppi: do i need to bootstrap juju again?17:00
marcoceppitomixxx: yes, after destroy-environment you'll need to bootstrap17:01
tomixxxok, i did "juju bootstrap --upload-tools" and it says " ERROR TLS handshake failed: x509: certificate sigend by unknown authority"17:01
marcoceppitomixxx: that's interesting. run `rm -f ~/.juju/environments/*.jenv` then try again17:03
tomixxxand do i need to reboot the node i guess?17:06
tomixxxon which juju is going to be deployed17:07
tomixxxbecause "juju status" stucks now again17:07
tomixxxbecause i have no wake-on-lan ;)17:09
tomixxxmarcoceppi: however, i guess i know how to continue now and I thank you for your help so far ;)17:12
marcoceppitomixxx: yes, you'll need to reboot it17:13
tomixxxkk17:13
mgzwhat on on unholy venv have you done to the amulet test setup marcoceppi...18:26
marcoceppimgz: not me18:26
marcoceppiblame bcsaller and rick_h_ ;)18:27
rick_h_:)18:27
mgzit doesn't even work, skips the site-packages but doesn't include python3-yaml in the test deps18:27
marcoceppimgz: there's a lock step thing, or something, you have to do18:27
marcoceppilike make build; make venv; make test18:28
marcoceppiI think18:28
* marcoceppi looks18:28
rick_h_make sysdeps && make && make test18:28
rick_h_I think18:28
rick_h_the whole thing stinks, but some issue in trust vs older and the path the py3 venv puts things (bin vs local/bin)18:29
rick_h_trusty that is18:29
* marcoceppi confirms18:29
mgzokay, now it ImportErrors on "from . import helpers" in amulet.deployer18:29
marcoceppimgz: if I run make sysdep && make && make test18:30
rick_h_that I know nothing about18:30
marcoceppithe testing suite runs18:30
* rick_h_ goes to check it out18:30
mgzlooks like it lacks charmworldlib18:30
marcoceppiand succeds18:30
marcoceppimgz: is it because something is broken in helpers?18:31
marcoceppidid you update it at all?18:31
mgzno, just charmworldlib not existing18:31
* marcoceppi scratches head, sounds like venv isn' working or something18:32
mgzthere's an egg in the venv...18:32
mgzer... I need to remember how to do some of this18:32
rick_h_mgz: activate the venv?18:32
rick_h_mgz: is this running the tests? they should auto be in the venv paths18:33
mgzrick_h_: trying to diagnose why the tests fail18:33
mgzimport errors are tricky, particulary when I can't trivially reproduce the environment the import is happening in18:33
rick_h_mgz: k, building here with the latest trunk to see if I can dupe18:34
rick_h_mgz: the import is from the test then?18:34
rick_h_marcoceppi: we should update to use the package name for imports vs the . as well imo.18:34
mgzyeah, just need to get my test stuff working, venv/bin/python3 helps18:34
marcoceppirick_h_: ack18:35
mgzrick_h_: generally an import failing like that means some *other* import failed, I have it now18:35
rick_h_mgz: k, tests pass trunk here. not seeing the error. It's all virtualenv'd so if you run things manually you need to either activate it or work through venv/bin to do things18:35
mgzaccidentally wrote a line of python in go :)18:35
rick_h_lol, did it get cranky?18:36
marcoceppi;)18:36
rick_h_mgz: suggestions for improvement welceom. The goal is to get tox and multiple python versions going which is part of the reason for the process.18:38
=== CyberJacob|Away is now known as CyberJacob
marcoceppihazmat: you around19:08
marcoceppi?19:08
hazmatmarcoceppi, yes19:12
marcoceppihazmat: sorry, false alarm, was maas tom foolery19:12
hazmatrick_h_, is anyone working on making charmworld ui / manage.jujucharms.com look decent/functional?19:12
rick_h_hazmat: not atm.19:13
rick_h_hazmat: it's pending some project talk next week and not currently on any project plan I know of atm.19:13
hazmatrick_h_, ic, thanks19:13
rick_h_hazmat: but jcastro has a giant cheering flag he waves around the topic :)19:14
jcastroI have an item on the spreadsheet for the sprint19:14
hazmatrick_h_, its painful.. to use.. but its the only thing to use.. i get tempted to resurrect the old code base on a machine just to have a compact usable ui.19:14
jcastrohazmat, let's determine that next week19:15
jcastroI hear ya19:15
jcastrobut like, we have an existing mess and adding another UI would make it worse imo19:15
rick_h_hazmat: write a cli client using the api for us :) /me has pondered that a couple of times19:16
hazmatrick_h_, well.. part of the issue is that api is in the wrong place.. i'm not sure promoting it more is the right answer.. and really a cli isn't going to help for information display.19:17
rick_h_hazmat: +1 honestly I'm going to be all on board with the planned session of splitting the store out of the juju base and building it up.19:18
=== zz_mwhudson is now known as mwhudson
=== thumper is now known as thumper-afk
avoinesomeone have tried to send json with the relation-set command?20:59
marcoceppiavoine: the relation-set command can take json with --format json21:01
avoinecool, I'll use that21:02
=== thumper-afk is now known as thumper
jamespagemarcoceppi, https://launchpad.net/~mysql-ubuntu/+archive/mysql-5.6/+packages21:54
jamespagefirst cut of mysql-5.6 package for 14.0421:54
=== thumper is now known as thumper-afk
marcoceppimgz: thank you for your pr, we found the issue with bzr. Apparently it really want's to know whoami22:57
marcoceppijamespage: thank you sir!22:57
jamespagemarcoceppi, np22:57
=== CyberJacob is now known as CyberJacob|Away

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