AskUbuntu | Scaled down Openstack Grizzly installation with Juju and Maas | http://askubuntu.com/q/346898 | 01:19 |
---|---|---|
=== wallyworld___ is now known as wallyworld | ||
=== CyberJacz is now known as CyberJacob | ||
=== CyberJacob is now known as Guest81313 | ||
=== tasdomas_afk is now known as tasdomas | ||
=== defunctzombie_zz is now known as defunctzombie | ||
=== defunctzombie is now known as defunctzombie_zz | ||
AskUbuntu | Juju GUI public IP | http://askubuntu.com/q/346991 | 08:11 |
=== defunctzombie_zz is now known as defunctzombie | ||
jamespage | dosaboy, around? lets discuss ceph/cinder ehere | 08:32 |
dosaboy | jamespage: howdi | 08:45 |
dosaboy | congratz btw | 08:45 |
dosaboy | so it is clear that a wider rework is in order | 08:46 |
jamespage | dosaboy, ta | 08:46 |
dosaboy | for now, as you suggest, i'll add the rep count to the cinder config | 08:46 |
jamespage | dosaboy, agreed; I want to rework the cinder integration anyway so lets do something tactical for the time being | 08:46 |
jamespage | dosaboy, I made another comment on the MP for the replica count stuff | 08:46 |
jamespage | dosaboy, for the rework I want to re-implement the ceph/cinder integration as a separate 'backend' charm | 08:47 |
jamespage | as a single cinder instance can support multiple backends >= grizzly | 08:47 |
dosaboy | yup | 08:48 |
jamespage | dosaboy, so the ceph integration becomes a subordinate charm for cinder | 08:48 |
jamespage | dosaboy, alongside other backend sub charms | 08:48 |
dosaboy | makes sense | 08:48 |
jamespage | existing compat would be retained still for existing deployments | 08:48 |
dosaboy | jamespage: i assume the problem we see here also applies to the glance charm | 08:49 |
jamespage | dosaboy, yup | 08:49 |
* dosaboy checks | 08:49 | |
dosaboy | i'll apply same interim patch there too | 08:49 |
jamespage | dosaboy, +1 | 08:50 |
jamespage | if you want todo those I can ack them through | 08:50 |
jamespage | (well this morning - not around PM today) | 08:50 |
jamespage | but in tomorrow | 08:50 |
dosaboy | doing it now | 08:51 |
=== defunctzombie is now known as defunctzombie_zz | ||
=== jmb^ is now known as jmb | ||
freeflying | does juju-core specifically bridge to eth0 when bootstrap with maas? | 09:28 |
dosaboy | jamespage: cinder and glance patches should be ready for review now | 09:38 |
mattyw | I can't see what command I need to run to actually run charm tests https://juju.ubuntu.com/docs/authors-testing.html | 09:49 |
jamespage | dosaboy, odd - I get an access denied when the cinder charm tries to create the pool | 10:14 |
dosaboy | damn i suspected as much, maybe that the 'ceph osd' command requires different perms to rados command | 10:17 |
dosaboy | jamespage: can you show me the permissions for the cindr client? | 10:19 |
jamespage | dosaboy, maybe | 10:19 |
jamespage | osd rwx | 10:20 |
jamespage | mon r | 10:20 |
jamespage | dosaboy, ^^ | 10:20 |
dosaboy | jamepage: hmm that should be enough | 10:23 |
dosaboy | or maybe * is needed for admin | 10:23 |
dosaboy | i can test if you gimme a few mins | 10:23 |
jamespage | dosaboy, just trying a fix now | 10:31 |
jamespage | dosaboy, needs "mon rw" | 10:39 |
dosaboy | aha! | 10:40 |
dosaboy | jamespage: the user is created by the ceph charm right? | 10:41 |
jamespage | dosaboy, yes | 10:42 |
jamespage | ceph.py | 10:42 |
dosaboy | are you going to patch or do you want me to? | 10:42 |
jamespage | dosaboy, trying to figure out how to upgrade permissions | 10:42 |
dosaboy | jamespage: it may be yucky | 10:42 |
dosaboy | 'capabilities' | 10:42 |
marcoceppi | hazmat: in precise it does, shouldn't in the ppa | 10:46 |
jamespage | dosaboy, ceph auth caps | 11:09 |
jamespage | dosaboy, ceph auth caps client.<SERVICE_NAME> mon 'allow rw' osd 'allow rwx' | 11:16 |
jamespage | specifically | 11:16 |
Dotted^ | i have a local juju setup, but trying to ssh into any of my machines i get a Permission denied (publickey,password)., however there is no difference between id_rsa.pub on my host user and the authorized_keys on the lxc machines | 12:16 |
rick_h_ | Dotted^: so I had to add username ubuntu@ to get into things. I should setup an ssh config block to auto use that user | 12:32 |
rick_h_ | Dotted^: try ssh'ing into one of the ips manuall ssh ubuntu@ip | 12:32 |
Dotted^ | that did the trick, thanks | 12:33 |
Dotted^ | a bit unfortunate that the "juju ssh" wont work | 12:33 |
rick_h_ | Dotted^: yea, so make that work you'd have to edit .ssh/config and add a block for your lxc ip range http://paste.ubuntu.com/6123709/ | 12:35 |
=== thomi_ is now known as thomi | ||
Dotted^ | well ssh <ip> now works without adding ubuntu@, juju ssh is still broken it seems | 12:38 |
rick_h_ | Dotted^: hmm, :( not sure then. Maybe marcoceppi knows more when he's around. | 12:38 |
Dotted^ | alright, well thanks - at least i can get into the machines now :) | 12:39 |
=== bladernr` is now known as bladernr_ | ||
jcastro | hey evilnickveitch | 13:12 |
mattyw | does someone have a moment to answer a couple of questions? | 13:33 |
evilnickveitch | jcastro, hey | 13:34 |
jcastro | mattyw: no, get out. | 13:34 |
jcastro | of course we have a moment! | 13:35 |
jcastro | evilnickveitch: hey, I removed the warning on the debugs hook page | 13:35 |
mattyw | jcastro, I was just grabbing my coat ;) | 13:35 |
jcastro | the one that is like "this doesn't actually work yet." | 13:35 |
jcastro | evilnickveitch: the other is, I'm listed as maintainer for lp:maas-website, can we move that over to a team or something? | 13:35 |
evilnickveitch | jcastro, oh, cool. that is being rewritten | 13:36 |
mattyw | jcastro, this page - on charm testing: https://juju.ubuntu.com/docs/authors-testing.html it doesn't actually say how I can run the tests | 13:36 |
mattyw | jcastro, also, in a charms config.yaml is it possible for options to depend on other options in the file. For exmple. set a BaseDir and then have other values use that? | 13:36 |
jcastro | mattyw: 1 is a ceppi question, this page looks new to me. | 13:39 |
jcastro | 2. is I don't think so? But I am not sure. | 13:39 |
jcastro | mattyw: any other questions I can no know the answer to for ya? :) | 13:39 |
mattyw | jcastro, are they any plans to allow you to deploy from github like juju deploy github.com/mattyw/myAwesomeCharmCollection myWickedCharm | 13:41 |
jcastro | mattyw: so I've seen some that use multiple configs | 13:41 |
jcastro | but I don't know about enforcing usage of one over the other other than just not working | 13:41 |
jcastro | yes, there are plans to deploy from anywhere, just not github | 13:41 |
jcastro | ideally we can pull from any internal or external source | 13:42 |
mattyw | jcastro, just not or not just? | 13:42 |
jcastro | not just, sorry! | 13:42 |
jcastro | <-- case of the mondays | 13:42 |
jcastro | juju deploy someinternalresource blah | 13:43 |
mattyw | jcastro, one more question | 13:46 |
mattyw | framework charms | 13:46 |
mhall119 | jcastro: why are there machine folders in /var/lib/lxc/ even after I destroy-machine them? | 13:46 |
jcastro | I don't know I need to ask thumper about that | 13:47 |
mattyw | well actually - maybe not framework charms, but it would be great to be able to send a charm a message to run an arbitrary hook | 13:47 |
jcastro | mhall119: I noticed that this weekend for the first time, I hope it's not a bug | 13:47 |
mhall119 | jcastro: should I wait for my service units to come up before calling add-relation, or will is queue that until they are ready? | 13:47 |
jcastro | mhall119: once the bootstrap is up the entire thing is async, you can go at whatever pace you like | 13:48 |
jcastro | mattyw: from within a charm or just manually? | 13:49 |
jcastro | mhall119: you pulled in the "juju-local" package too I assume? | 13:50 |
mattyw | jcastro, externally | 13:50 |
mattyw | jcastro, well actually let me re phrase | 13:51 |
jcastro | mattyw: hmmm | 13:51 |
jcastro | mhall119: are you on 1.13 or 1.14 of juju? "juju version" will tell you | 13:51 |
mattyw | the rails charm: if I understand correct it will install rails then setup for a specific app? | 13:51 |
jcastro | yeah | 13:51 |
mhall119 | 1.13.3-saucy-i386 | 13:52 |
mattyw | jcastro, so how do you do that specific stuff - is that done with the config? | 13:53 |
jcastro | yeah | 13:53 |
mattyw | ok cool | 13:53 |
jcastro | the setup for the specific app you mean? | 13:53 |
=== kentb is now known as kentb-afk | ||
mattyw | that's right | 13:53 |
jcastro | Right now it's just like, the repo URL and stuff though | 13:53 |
jcastro | I don't think it's doing anything too fancy yet | 13:53 |
marcoceppi | Dotted^: how are you trying to ssh? `juju ssh <mahine-number>`? | 13:54 |
Dotted^ | yes | 13:55 |
marcoceppi | Dotted^: that does not work on local provider, please use `juju ssh <unit>` instead, so juju ssh wordpress/0 for example | 13:55 |
marcoceppi | Dotted^: this is a known issue | 13:55 |
Dotted^ | ahh thanks, that works | 13:55 |
jcastro | hey marcoceppi, both mhall119 and I saw an issue where the lxc stuff isn't being cleaned up with destroy-environment | 13:56 |
marcoceppi | jcastro: that's a bug then | 13:56 |
mhall119 | jcastro: destroy-machine, I haven't done destroy-environment yet | 13:56 |
marcoceppi | mhall119: destroy-machine doesn't remove the machine? | 13:56 |
mhall119 | it removed it from juju status | 13:57 |
* marcoceppi bootstraps a local | 13:57 | |
mhall119 | but not from /var/lib/lxc/ | 13:57 |
jcastro | I had the same thing happen | 13:57 |
jcastro | agent-state-info: 'rror: container "jorge-local-machine-1" is already created)' | 13:57 |
jcastro | ok I'm going to file a bug since I can reproduce it | 14:04 |
marcoceppi | jcastro: cool, I'll try to get more debug information | 14:05 |
jcastro | https://bugs.launchpad.net/juju-core/+bug/1227145 | 14:06 |
_mup_ | Bug #1227145: Juju isn't cleaning up destroyed LXC containers <juju-core:New> <https://launchpad.net/bugs/1227145> | 14:06 |
jcastro | mhall119: can you confirm the bug please? | 14:06 |
mhall119 | jcastro: confirmed | 14:06 |
mhall119 | "Internal Server Error" Progress! | 14:19 |
=== freeflying is now known as freeflying_away | ||
mhall119 | sure would be nice if it actually wrote the internal error message to the error log file :( | 14:35 |
marcoceppi | mhall119: is that from juju or the application? | 14:45 |
mhall119 | marcoceppi: from gunicorn | 14:48 |
yolanda | hi, i'm receiving this error after a juju bootstrap, when trying to deploy a service, or even with juju status: error: cannot log in to admin database: auth fails | 15:22 |
yolanda | environment was working fine until this afternoon | 15:22 |
=== kentb-afk is now known as kentb | ||
mhall119 | so...juju destroy-environment failed | 15:42 |
mhall119 | now I have a postgres instance in "down" agent-state that I can't get rid of | 15:42 |
x-warrior | Should I worry about updating juju when I already have a environment deployed? | 15:47 |
x-warrior | an* | 15:47 |
kurt_ | marcoceppi: ping | 15:48 |
marcoceppi | kurt_: pong | 15:48 |
kurt_ | marcoceppi: are there any good guides available for setting up openstack once horizon is in place? Or any guides that are WIP? | 15:49 |
marcoceppi | x-warrior: you can run juju upgrade-juju to upgarde the deployed version of juju. The client should be compatible with most deployed versions of juju since 1.12 | 15:49 |
marcoceppi | kurt_: you should be able to follow any instructions/guides on the openstack site | 15:49 |
marcoceppi | mhall119: that's so weird | 15:49 |
kurt_ | ok. it would be nice if there were one published in conjunction with the settings for jamespage's openstack manifesto. | 15:50 |
kurt_ | that links up his configurations with IP addressing schema, etc | 15:50 |
marcoceppi | kurt_: there are so many ways you can take the configuration of openstack after setting up the charms though, it's really about what you want to do at that point I imagein | 15:51 |
kurt_ | agreed, but a demo path with a working configuration would be cool. I am headed that way anyways. The whole network configuration taken to a working finished model IMHO is one of the biggest challenges with openstack. | 15:53 |
mattyw | marcoceppi, what command do you call to run charm tests? https://juju.ubuntu.com/docs/authors-testing.html | 15:58 |
jcastro | charm status hangout in just a few minutes! | 15:59 |
arosales_ | Charm Weekly hangout starting in a few | 16:01 |
arosales_ | hangout out URL at: https://plus.google.com/hangouts/_/edb0a66997812f8ade7263387d24623dc7094011?authuser=0&hl=en | 16:01 |
arosales_ | if you want to join us. | 16:01 |
jcastro | arosales_: I need the youtube URL | 16:01 |
mhall119 | marcoceppi: After destroying some other services and machines, destroy-environment finally worked | 16:01 |
mhall119 | I've manually deleted all the old lxc container data in /var/lib/lxc/ | 16:01 |
mhall119 | starting fresh now | 16:02 |
marcoceppi | mattyw: You need to install the juju-test plugin, it's in the juju-plugins project | 16:02 |
jcastro | http://pad.ubuntu.com/7mf2jvKXNa | 16:03 |
jcastro | for the notes | 16:03 |
jcastro | http://ubuntuonair.com if you wanna follow along! | 16:03 |
mattyw | marcoceppi, this one? https://launchpad.net/juju-plugins | 16:08 |
marcoceppi | mattyw: yes, no ppa/installer for it yet. Just copy juju_test.py to juju-test somewhere in path for now | 16:08 |
mhall119 | omg omg omg! I got something working! | 16:25 |
mhall119 | jcastro: how can I get a local shell of a LXC deployed instance? | 16:26 |
marcoceppi | mhall119: juju ssh api-website/0 | 16:35 |
=== arosales_ is now known as arosales | ||
mhall119 | so I finally got it all working, only to find out I need to put it all behind an Apache proxy :( | 16:43 |
mhall119 | marcoceppi: is there an apache subordinate that can automagically serve static files *and* act as a proxy for my gunicorn subordinate? | 16:46 |
marcoceppi | mhall119: no, but someone had a similar question, I can't remember what I did to get it working with them | 16:47 |
marcoceppi | mhall119: there's an apache2 charm | 16:47 |
marcoceppi | mhall119: http://irclogs.ubuntu.com/2013/07/12/%23juju.html might or might not help | 16:49 |
mhall119 | thanks marcoceppi | 16:49 |
Dotted^ | is there a way to get the juju debug-log on lxc containers? | 17:41 |
sarnold | Dotted^: I believe I read that the easy way is to read the files through the host filesystem | 17:42 |
Dotted^ | where are they located? | 17:43 |
sarnold | Dotted^: try .juju/local/log/unit-*.log and /var/lib/lxc/ | 17:44 |
Dotted^ | nice thanks | 17:44 |
Dotted^ | are there any issues with wordpress? combining it with mysql seems to work, wordpress and memcache and nfs is fine, but it explodes when trying to add relations to all 3 | 17:55 |
marcoceppi | Dotted^: the LXC containers all mount /var/log/juju/ on each machine to .juju/local/log - so just read them there as sarnold pointed out | 17:55 |
marcoceppi | Dotted^: there's a known issue with memcached and wordpress not working | 17:55 |
marcoceppi | Dotted^: NFS and MySQL work fine | 17:55 |
sarnold | marcoceppi: aha :) thanks! | 17:56 |
marcoceppi | https://bugs.launchpad.net/charms/+source/wordpress/+bug/1057212 https://bugs.launchpad.net/charms/+source/wordpress/+bug/1170034 | 17:56 |
_mup_ | Bug #1057212: Memcached relation fails if wp install isn't complete <wordpress (Juju Charms Collection):In Progress by marcoceppi> <https://launchpad.net/bugs/1057212> | 17:56 |
_mup_ | Bug #1170034: integration with memcached broke <wordpress (Juju Charms Collection):Confirmed> <https://launchpad.net/bugs/1170034> | 17:56 |
Dotted^ | so its only because wp isnt setup yet? | 17:57 |
marcoceppi | Dotted^: no, memcached dones't work regardless of the state of wordpress | 17:59 |
marcoceppi | Dotted^: it's a bug with the upstream plugin | 17:59 |
Dotted^ | ah | 17:59 |
marcoceppi | Dotted^: I've been meaning to fix it, just haven't found the time just yet | 17:59 |
=== defunctzombie_zz is now known as defunctzombie | ||
=== defunctzombie is now known as defunctzombie_zz | ||
mhall119 | jcastro: marcoceppi: can you guys sanity check https://code.launchpad.net/~mhall119/ubuntu-api-website/canonical-is-charm/ for me? | 18:55 |
Dotted^ | hmm adding nfs to wordpress breaks wordpress, the log complains about "mount.nfs: access denied by server while mounting 10.0.3.201:/srv/data" | 18:57 |
jcastro | mhall119: do README.md or README.rst | 18:58 |
Dotted^ | 10.0.3.201:/srv/data/wordpressfolder even | 18:58 |
jcastro | mhall119: in whichever format you prefer. | 18:59 |
mhall119 | jcastro: what's wrong with just README? | 19:01 |
jcastro | it needs an extension | 19:02 |
jcastro | hmm, did the boilerplate not give it an extension? | 19:02 |
mhall119 | jcastro: this is copied from another charm | 19:02 |
jcastro | ok | 19:03 |
mhall119 | an internal one that IS uses | 19:03 |
mhall119 | this will also only be used by Canonical IS | 19:03 |
jcastro | oh ok! | 19:03 |
jcastro | then it doesn't matter | 19:03 |
kentb | what's a good way to explain 'admin-secret' in the environments.yaml file? I know you can pretty much use anything you want, but, do any of the supported environments (maas, ec2, etc) actuall make use of it for anything (other than logging into juju-gui)? | 19:13 |
marcoceppi | kentb: it's only really used for API access, it's internal to juju | 19:49 |
kentb | marcoceppi: ok. thanks! | 19:50 |
=== BradCrittenden is now known as bac | ||
=== defunctzombie_zz is now known as defunctzombie | ||
kurt_ | kentb: how far have you gotten? | 21:14 |
=== tasdomas is now known as tasdomas_afk | ||
kurt_ | I managed to get an instance running, but am now stuck on getting an IP allocated to the instance with "an error occurred" - trying to figure out the logging for that - where it is | 21:15 |
blairbo | Hey All. I'm trying to set up a local juju server. The documentation is a little light on the network setup prior to installing juju, mongodb and bootstrapping. Anyone have experience with this or know of a good walkthrough. I've been googleing and many step-by-steps seem old and outmoded. Specifically i'm interested in the host network setup. I have three NICs, and am wondering what the best | 21:26 |
blairbo | practices are for setting those up, and any VLANs I should be setting up on the switch. | 21:26 |
kentb | kurt_: Had a bunch of other important stuff jump in front of openstack today, but, when I had it all up and running the first time last week, I could allocate IP addresses to my instances and ping both the internal namespace address as well as the public-facing one. | 21:31 |
kurt_ | kentb: wow, I really need to see your configuration | 21:32 |
marcoceppi | blairbo: for local server, there is no additional networking setup. If you want to access the juju machine outside of the host running the local provider you'll need to configure the LXC bridge, but that's outside of the juju documentation | 21:33 |
Dotted^ | im doing some benchmarks and im getting about 600 requests per second for wordpress on nginx tuned for single, that seems a bit low to me or is it supposed to be so low ? | 21:59 |
Dotted^ | nvm | 22:00 |
=== kentb is now known as kentb-out | ||
blairbo | marcoceppi | 22:16 |
blairbo | marcoceppi: ok.. i must be having other issues then | 22:17 |
marcoceppi | blairbo: could you describe your problem? | 22:17 |
ZonkedZebra | Hello. I have bootstraps my AWS ENV and see the bootstrap instance in the AWS dashboard, but when run juju deploy juju-gui the new machine (#0) never spins up, just says "pending" forever. Where should i be looking for errors? | 22:19 |
ZonkedZebra | Log files i should be looking at? | 22:23 |
=== freeflying_away is now known as freeflying | ||
ZonkedZebra | Hello, anyone awake? Its no limited to juju-gui, any charge i attempt to deploy crates a new machine and never gets past the pending state | 22:30 |
sarnold | ZonkedZebra: what size instances are you using? I understand micros can take forever to come up.. | 22:35 |
ZonkedZebra | sarnold: I haven't specified, the bootstrap node came up on a m1.small instance, none of the other machines even show up as pending or initializing or anything at all in the AWS dashboard | 22:36 |
sarnold | ZonkedZebra: they don't even show up in the dashboard? hrm.. | 22:38 |
ZonkedZebra | and /var/log/juju/all-machines.log is helpfully entirely empty | 22:38 |
marcoceppi | ZonkedZebra: could you paste your juju status output? | 22:39 |
marcoceppi | to paste.ubuntu.com | 22:39 |
ZonkedZebra | http://paste.ubuntu.com/6125937/ | 22:39 |
marcoceppi | ZonkedZebra: you have a few other problems! Somehow you've got a bootstrap node (which is machine 0) that's pending but you can actually get a juju status which is illogical | 22:40 |
ZonkedZebra | marcoceppi: after bootstrapping juju status reports 0 machines and 0 services | 22:41 |
ZonkedZebra | i had assumed that the bootstrap node was excluded from the list | 22:41 |
marcoceppi | ZonkedZebra: yeah, that makes no sense. There is always 1 machine, the bootstrap node, machine 0 | 22:41 |
marcoceppi | ZonkedZebra: Could you ssh on to the bootstrap node and see if you have any files in /etc/init/juju-* ? | 22:42 |
ZonkedZebra | yep | 22:42 |
ZonkedZebra | juju-db.conf appears to be the only juju related file in /etc/init | 22:42 |
marcoceppi | ZonkedZebra: everything about this situation makes me believe something is very wrong. I'd recommend `juju destroy-environment` and then try bootstrapping again. Once you bootstrap run juju status and make sure you have a machine 0 that is in a started state | 22:43 |
ZonkedZebra | marcoceppi: I have, this is my third go around | 22:43 |
marcoceppi | ZonkedZebra: what does `juju version` say? | 22:44 |
ZonkedZebra | 1.11.2-unknown-amd64 | 22:44 |
marcoceppi | ZonkedZebra: Ah! i know the problem | 22:44 |
marcoceppi | ZonkedZebra: are you on Mac OSX? | 22:44 |
ZonkedZebra | I am | 22:44 |
marcoceppi | ZonkedZebra: the current release of juju is 1.14.0, so when you bootstrap instead of it detecting the client version you're using it's setting up 1.14. I could have sworn the brew recipe was updated to deploy the latests juju version, did you recently do a brew install> | 22:45 |
marcoceppi | ZonkedZebra: or is this `brew install` from a while ago? | 22:45 |
marcoceppi | arosales: ^ | 22:45 |
ZonkedZebra | I tried the homebrew method, got some crazy go compile error, so used the package from github linked to from here: https://github.com/juju/juju-core/releases | 22:46 |
marcoceppi | ZonkedZebra: yeah, release is pretty outdated | 22:47 |
marcoceppi | ZonkedZebra: we opted to use brew since we can keep it up-to-date rather than trying to upload every release | 22:47 |
blairbo | marcoceppi: I went through the setup guide and ran the test proceedure. agent-state for machine 0 goes down and charm agent-state remains as pending for wordpress and mysql | 22:47 |
dalek49 | Tangentially related to juju, can openstack run on a vps, or do I have to run it on bare metal? | 22:48 |
marcoceppi | blairbo: if agent-state for machine 0 is down, then juju isn't working. On your local machine try to restart the juju-* services in /etc/init. If it's still down after a few mins pastebin (http://paste.ubuntu.com/) the files from /var/log/upstart/juju-* | 22:49 |
marcoceppi | dalek49: there's "devstack" which can be setup on a single machine. Depending on the VPS is virtualize, yes you can, but beware of performance issue | 22:49 |
marcoceppi | issues* | 22:49 |
ZonkedZebra | marcoceppi: brew install juju installs go with no issues (1.1.2) but during the go install command runtime/cgo throws this error: "clang: error: no such file or directory: 'libgcc.a'" | 22:49 |
arosales | marcoceppi, reading backscroll | 22:50 |
marcoceppi | ZonkedZebra: yikes, I dont' have a mac osx machine to test what you need | 22:50 |
ZonkedZebra | its using "juju-core_1.12.0-1.tar.gz", should it be using 1.14? | 22:51 |
arosales | ZonkedZebra, ya we need to removed that from github. jcastro put it there before brew. | 22:51 |
arosales | ZonkedZebra, here is the info on homebrew | 22:52 |
arosales | [1] https://github.com/mxcl/homebrew/blob/master/Library/Formula/juju.rb | 22:52 |
arosales | [2] https://github.com/mxcl/homebrew/pull/21858 | 22:52 |
marcoceppi | ZonkedZebra: try running brew install for juju with "--use-llvm" option | 22:53 |
=== Guest81313 is now known as Guest81313|Away | ||
* marcoceppi grabs at sticks | 22:53 | |
arosales | ZonkedZebra, https://lists.ubuntu.com/archives/juju/2013-August/002847.html is the thread | 22:53 |
arosales | ZonkedZebra, we just released 1.14 today so we proably need to get 1.14 added to that brew though | 22:53 |
ZonkedZebra | marcoceppi: ha-zahh! --use-llvm did the trick | 22:54 |
marcoceppi | ZonkedZebra: WOO! So happy that worked | 22:54 |
marcoceppi | ZonkedZebra: that should give you a juju version of 1.12.0, which should work with 1.14.0 for bootstraps | 22:54 |
marcoceppi | arosales: I'll update the docs with that work around for the brew install command in the mac osx section | 22:54 |
arosales | marcoceppi, thank you | 22:55 |
marcoceppi | afterifinishtestingglusters | 22:55 |
arosales | marcoceppi, ack | 22:55 |
arosales | I'll also reach out to rodrigo and see if can update the brew receipe. | 22:55 |
marcoceppi | arosales: we should be able to open a pull req | 22:56 |
marcoceppi | actually, I might just do that now | 22:57 |
marcoceppi | arosales: we should have the release team do it as part of the stable releases | 22:57 |
arosales | marcoceppi, +1 | 22:58 |
marcoceppi | arosales: just update the URLs in this file on github and open pull req https://github.com/mxcl/homebrew/blob/master/Library/Formula/juju.rb | 22:58 |
arosales | marcoceppi, email sent to sinzui | 22:59 |
marcoceppi | arosales ZonkedZebra: https://github.com/mxcl/homebrew/pull/22669 Submitted update to brew for latest stable/devel. Hopefully they will be merged soon | 23:04 |
marcoceppi | ZonkedZebra: are you getting a better juju status this time around? | 23:05 |
ZonkedZebra | Yep, everything going smoothly so far, just waiting on the juju-gui agent to start | 23:05 |
marcoceppi | ZonkedZebra: excellent, if you're looking to save money in the future, you can co-locate the juju-gui charm on the bootstrap node, so you can get your moneys worth on that node; `juju deploy --to 0 juju-gui`; for the next time around :) | 23:06 |
ZonkedZebra | wonderful, thanks for all the help | 23:07 |
marcoceppi | ZonkedZebra: np, the room is most active during business hours in the UK/US. So if it's "after hours" and no one is here feel free to post your question to either http://askubuntu.com tagged with Juju or on our mailing juju@lists.ubuntu.com that way we can get back to you in a more permenant form | 23:08 |
blairbo | marcoceppi: when i tab after typing "service" the list does not include either of the two juju services | 23:22 |
marcoceppi | blairbo: what does `initctl list` show? does it show and juju- services? | 23:23 |
blairbo | marcoceppi: I did "initctl list | grep -i juju" and i got these two - juju-agent-juju-local stop/waiting | 23:24 |
blairbo | juju-db-juju-local start/running, process 1151 | 23:24 |
marcoceppi | blairbo: start the juju-agent-juju-local | 23:25 |
marcoceppi | blairbo: that's the APi that controls the provisioning | 23:25 |
marcoceppi | blairbo: `sudo start juju-agent-juju local` should do it | 23:25 |
marcoceppi | blairbo: after you start it, run juju status, if it's still says agent down and juju-agent-juju-local is stopped, pastebin the log from /var/log/upstart/juju-agent-juju-local.log | 23:26 |
ZonkedZebra | marcoceppi: quick question. Im attempting to extend the node-app charm to support my preferred database (postgres) an addition to mongodb, Any examples of that kicking around (multiple databases) in an existing charm? | 23:41 |
marcoceppi | ZonkedZebra: not that I know of, let me check | 23:41 |
marcoceppi | ZonkedZebra: you'd basically just add the bits and bobs that postgresql charm requries to the node-app | 23:42 |
marcoceppi | ZonkedZebra: there's no way to say, "only need one or the other", in relations, so if someone adds a mongodb and a postgresql, the charm will process both of them | 23:43 |
sarnold | ZonkedZebra: this one looks like it can handle postgresql or mysql or mongodb: http://manage.jujucharms.com/charms/precise/rails | 23:44 |
marcoceppi | sarnold: ZonkedZebra: however, that charm also does everything via chef scripts, so it's not so easy to follow | 23:45 |
sarnold | oh man :/ | 23:45 |
sarnold | sorry ZonkedZebra :) | 23:45 |
ZonkedZebra | sarnold, marcoceppi : well its better then nothing, thanks | 23:45 |
=== thumper is now known as thumper-gym | ||
blairbo | marcoceppi: it issued a process ID, but when i list again it's still in stop/waiting state, and juju status shows agent-state still down | 23:55 |
marcoceppi | blairbo: can you install pastebinit and run `cat /var/log/upstart/juju-agent-juju-local.lot | pastebinit` | 23:56 |
blairbo | marcoceppi: also there's no log file with the path specified. There is one for the db, but not the agent. | 23:56 |
sarnold | .lot ? | 23:56 |
blairbo | he meant .log | 23:58 |
sarnold | just checking:) hehe | 23:58 |
blairbo | :) | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!