/srv/irclogs.ubuntu.com/2013/11/21/#juju.txt

zradminjust created a test user and was able to authenticate to maas through the webpage00:00
davecheneyzradmin: via juju00:06
=== freeflying_away is now known as freeflying
zradminah ok so create another api user and stand up a second juju environment?00:24
arosaleszradmin, that is how I read davecheney suggestion00:39
zradminyeah, I'm setting it up currently00:40
arosaleszradmin, cool00:41
* arosales grabs some dinner01:06
=== jose- is now known as JoseeAntonioR
=== waigani_ is now known as waigani
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
AskUbuntuCreating a charm | http://askubuntu.com/q/38020706:15
=== CyberJacob|Away is now known as CyberJacob
ankrjHello everyone!08:16
ankrjWhat kind of an environment do I need t osetup in order to start writing charms?08:18
=== waigani_ is now known as waigani
jaywinkankrj, you will find everything you need here: https://juju.ubuntu.com/docs/authors-charm-writing.html08:43
=== waigani_ is now known as waigani
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== JoseeAntonioR is now known as jose
=== freeflying is now known as freeflying_away
makarahi. Juju sounds like a good idea, but I'm skeptical11:46
makarasuppose I want to deploy a Wordpress instance11:47
makarawhat type of instance would I get? I just want a microinstance - the smallest, least powerful option11:48
makarabut I've been having trouble with Wordpress because it keeps the siteurl in it's DB, and then when I associate the instance with a static IP, the DNS changes, and Wordpress breaks11:49
makarasince juju is the to cloud what apt is to a system, changing an IP address would be like messing with the directories APT installs to11:50
makarawhat are your experiences?11:51
makarahow can I deploy an EC2 t1.micro instance instead of an m1.small instance?12:13
makaraterminal hangs after: juju deploy --to 0 wordpress12:15
makaractrl+c12:15
makarajuju status12:15
makarahangs12:15
mthaddonmakara: you can specify whatever instance size you want - that's independent of the charms you're deploying (e.g. wordpress or mysql)12:44
mthaddonmakara: see https://juju.ubuntu.com/docs/charms-constraints.html12:45
makaramthaddon, ok thanks, but I have another problem now12:47
makarajuju is hanging12:48
makaraso I go "juju status" and it doesn't give me anything12:48
mthaddonit may be that the instance is too small to run juju and wordpress - but I'm not sure of the best way to troubleshoot unless you already know the IP and can login to the instance to diagnose12:49
makaramthaddon, juju is running on my own machine12:59
=== freeflying_away is now known as freeflying
makarai'm deploying an m1.small instance12:59
makarait deploys it, but then juju hangs12:59
mthaddonwell, you're using the juju client from your own machine, but juju itself is running on the m1.small instance13:00
mthaddonso I'd try to login to that instance directly and troubleshoot - I assume this is EC2 and you can use other tools to figure out the IP of the instance, etc.13:00
makaramthaddon, ok, well if I have to do that then first impressions aren't going very far13:44
makaraits why I would want to use Juju in the first place13:44
mthaddonfair enough - I'm not a juju developer, just a user like yourself, so others may have better troubleshooting advice13:45
marcoceppimakara: what version of juju are you using (juju version) ?13:57
makaramarcoceppi, 1.16.3-raring-amd6414:00
marcoceppimakara: awesome, you've got the latest. You shouldn't expereince problems deploying to amazon, sorry you're having a poor first time experience14:01
marcoceppimakara: so what happens when you run `juju status --debug --show-log` ? Could you paste that to http://pastebin.ubuntu.com14:01
marcoceppimakara: it may help us debug what's going on14:01
makaramarcoceppi, there's a bit too much revealed in this log for my liking14:03
marcoceppimakara: you can mask IP addresses or PM me if you want it outside of the channel14:04
makaramarcoceppi, its private key data, security keys, etc14:05
makaramarcoceppi, i've taken that out: http://pastebin.ubuntu.com/6453412/14:05
ashipikahello juju world..14:23
ashipikamanual provisioning.. bootstrapped one host, added another.. both ubunu 12.04.. tried deploying tomcat7.. but it is stuck in pending state14:24
ashipikaand for the second machine i added it says instance-state:missing14:25
ashipikaany ideas?14:27
marcoceppimakara: is i-d3b6399c actually running on your account right now?14:27
marcoceppiashipika: can you ssh in to that machine? the instance-state:missing?14:34
marcoceppiashipika: also, manual provisioning is still very much under development14:34
ashipikai can ssh manually, yes.. but not via juju14:35
ashipikaPermission denied (publickey,password).14:35
marcoceppiashipika: that's fine, manually ssh for now14:36
ashipikabut how come the state is missing?14:36
marcoceppiashipika: that's what I'm trying to help you figure out14:37
marcoceppiashipika: again, manual provisioning is not a stable juju feature yet14:37
ashipikai understand that.. how can i help decypher this problem?14:37
marcoceppiashipika: again, ssh in to the server and I can help you troubleshoot the problem :)14:38
ashipikai'm in :)14:38
marcoceppiashipika: run `initctl list | grep juju` what do you get?14:38
ashipikajujud-machine-4 start/running process 286914:39
marcoceppiashipika: can you install pastebinit then run `cat /var/log/juju/machine*.log | pastebinit`14:40
ashipikahttp://paste.ubuntu.com/6453560/14:41
marcoceppiashipika: that's the problem14:42
marcoceppiashipika: where is the bootstrap node?14:42
ashipikaon another machine.14:42
marcoceppiashipika: is that other machine your local machine?14:42
ashipikano14:42
ashipikathe bootstrap machine is at 192.168.1.108, while this machine is 192.168.1.11014:43
marcoceppiashipika: the address it's getting for the bootstrap node is ubuntu.; this leads me to believe that the bootstrap node doesn't have proper hostname setup for it14:43
marcoceppi dialing "wss://ubuntu.:37017/"14:43
ashipikaoh! it's trying to contact mongodb at ubuntu.?14:43
marcoceppiashipika: well, it's trying to contact the bootstrap API at ubuntu.14:44
ashipikaok14:44
marcoceppiwhich connects to mongo, so essentially yes14:44
ashipikaso i need to fix hostname at the bootstrap host?14:44
marcoceppiashipika: it's got a bad address resolution. make sure the bootstrap machine has proper hostname that's mappable in the system14:44
marcoceppiyeah14:44
ashipikawhy not ip? why hostname?14:45
marcoceppiashipika: what did you set as the bootstrap node for the manual provisioner?14:45
marcoceppiagain, improvements to this feature are being made14:45
marcoceppithis isn't the final product for manual provisioning14:45
ashipika maas-server: 'http://192.168.1.1/MAAS/'14:45
ashipikain the .yaml file14:45
ashipikasorry.. wrong file..14:46
ashipikabut i set the ip for the boostrap-host: 192.168.1.10814:46
marcoceppiinteresting14:46
marcoceppiashipika: can you `cat /var/log/cloud-init/*.log | pastebinit`14:46
ashipikaon the bootstrap server?14:47
marcoceppiashipika: on the machine-414:47
ashipikano cloud-init folder in the log folder..14:47
marcoceppihow about a cloud-init.log in /var/log?14:47
ashipikanope14:48
marcoceppihum, cloud-init had to run somewhere on that machine14:48
ashipikai can't see any logs14:49
marcoceppiashipika: apt-get install tree, `tree /var/log | pastebinit`14:51
ashipikahttp://paste.ubuntu.com/6453610/14:52
makaramarcoceppi, no, I terminated it14:55
marcoceppimakara: okay, well run juju destroy-environment to clean up, then try bootstrapping again. This time use --debug and --show-log flags. If after a few moments you can't run juju status and get output, sanitize the log and paste it for me14:56
marcoceppiashipika: interesting. No cloud-init log anywhere. Regardless, update the host of your bootstrap node, stop the juju-machine-4 upstart, delete /etc/init/juju-*, then try adding it again14:57
ashipikaok.. thank you very much14:58
makaramarcoceppi, I'll post it tomorrow 6 UCT14:59
marcoceppimakara: I'm EST (UTC-5) so I won't get it for a few hours, but I'll look for it when I awake14:59
makarak14:59
=== freeflying is now known as freeflying_away
X-warrioris anybody using elasticsearch/logstash with juju? I'm trying the elasticsearch charm but it is failling15:49
marcoceppiX-warrior: I know it's been deployed a few times, where is it failing?15:51
X-warrioron deploy, the hook start is failling ' HOOK WARNING: ElasticSearch may have failed to start.'15:51
marcoceppithats not very helpful15:54
X-warriorI guess it is not juju faults, it is something related to ElasticSearch, let me dig into it15:57
X-warriorbrb15:57
=== CyberJacob is now known as CyberJacob|Away
=== ociuhandu_ is now known as ociuhandu
x-warriorWhat does this means? "ERROR no CA certificate in environment configuration" ?18:37
x-warriorI'm able to connect to one environment, but when I try to connect to otherone, I receive this error18:39
marcoceppix-warrior: did you bootstrap from that machine or another machine?18:50
x-warriormarcoceppi, another machine18:50
marcoceppix-warrior: yeah, that's why18:51
marcoceppix-warrior: you need to copy the certs from that machine to this one18:51
x-warrioryou mean .ssh certs?18:51
x-warriorbecause I'm able to ssh directly to the machine18:51
x-warriorwithout using juju18:51
=== CyberJacob|Away is now known as CyberJacob
x-warriormarcoceppi, have to go now, talk about this with u tomorrow, have a good one18:57
x-warriorty18:57
=== gary_poster is now known as gary_poster|away
=== thumper is now known as thumper-afk
=== gary_poster|away is now known as gary_poster
InformatiQi was searching for a directory server in the charm store, didn't find anything i know. anyone has an idea if there is one?20:15
InformatiQi would tend to see that as an important part20:16
=== gary_poster is now known as gary_poster|away
=== BradCrittenden is now known as bac
=== thumper-afk is now known as thumper
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob

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