/srv/irclogs.ubuntu.com/2014/03/08/#juju.txt

viperZ28are there any customer stories for Juju in the market place?00:26
viperZ28does Canonical know who is currently using the product, to what degree and what type of infrastructure they are deployed to?00:28
marcoceppi_viperZ28: There are quite a few enterprise customers of Canonical using Juju, I'm not sure if we have any user/customer stories00:29
marcoceppi_viperZ28: there's a white paper on using Juju and MaaS from a company somewhere00:29
viperZ28who is your west coast contact?00:29
marcoceppi_http://en.community.dell.com/techcenter/extras/m/white_papers/20437770.aspx00:29
marcoceppi_viperZ28: for what?00:29
viperZ28sales, support, etc00:29
marcoceppi_viperZ28: uh, I don't know. Let me find out for you00:30
viperZ28ok, we may already have it I will ping around as well.00:31
marcoceppi_viperZ28: I mean, Juju itself and the charms are all open source00:34
marcoceppi_but if you were looking for Canonical support for stuff, I'm still finding that person00:34
arosalesviperZ28: hello00:35
arosalesviperZ28: depnding at where you are at in the process you can fill out http://www.canonical.com/services/contact-us00:37
arosalesviperZ28: if you comfortable you can private message me your email and I would be happy to hook you into some sales contacts at Canonical.00:39
=== erkules_ is now known as erkules
=== timrc is now known as timrc-afk
onreaI got an error when I was installing Discourse on my local machin: ERROR cannot get latest charm revision: charm not found: cs:precise/discourse07:40
onreaI could not find Discourse in repositories: https://github.com/charms/?query=07:41
onrealazyPower: Because of a limitation for new user on discourse.ubuntu (-> just 3 posts in one topic), I continued the topic here: http://askubuntu.com/q/431218/15240507:43
onreaERROR cannot get latest charm revision: charm not found in "/home/onrea/charms": local:precise/discourse08:02
onreahow to solve that08:02
onreaI clined github.com/discourse/discourse in ~/charms and I got this warning: failed to load charm at "/home/onrea/charms/precise/discourse": metadata.yaml: no such file or directory08:04
onreathen that ERROR occurred again.08:04
onreacloned*08:04
onreaWhy I get this error: http://paste.ubuntu.com/7054706/ when I run `juju status`?08:59
onreaWhy I get this error when I try for `juju status`: “lxc-create”: + ''[''10:12
onreafull errer: http://paste.ubuntu.com/7054706/10:13
onreaIs it solvable?10:13
=== CyberJacob|Away is now known as CyberJacob
onreaIs there any irc channel for  http://lists.linuxcontainers.org/listinfo/lxc-users ?10:20
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
onreaWhy I get the below error when I run juju status?13:59
onreaagent-state-info: '(error: error executing "lxc-create": + ''['' amd64 == i68613:59
onrea...13:59
lazyPoweronrea: o/14:02
onreaIt's a full day to try install different software via juju but I get that dummy error! I'm tired. It killed me!14:04
onrealazyPower: ^14:05
onreapaste.ubuntu.com/7054706/14:05
onreashould I install nginx, too?14:05
lazyPowerhmm no14:06
lazyPowerhang on14:06
lazyPoweri'm downgrading juju14:06
lazyPoweryou're getting a cloudinit-img failure on container creation, i dont know that i have the solution but i'll try to reproduce it14:07
onrealazyPower: Is it a thing related to #lxcontainers irc channel?14:08
lazyPowernot really14:08
lazyPowerit has to do with how juju is bootstrapping the lxc containers14:08
lazyPowerif i understand the problem correctly14:09
onreaIf this help, here is my try on wordpress: http://askubuntu.com/q/431313/15240514:09
lazyPoweronrea: lets try something. lets destroy your current environment and upgrade you to the devel release of juju14:12
marcoceppionrea: what version of Ubuntu are you using?14:12
marcoceppinvm, saucy14:13
marcoceppiduh14:13
onreamarcoceppi: 13.10 sausy, full updated14:13
onrealazyPower: Ok, I destroy it.14:14
marcoceppiIt looks like you don't have the cloudimg downloaded, onrea can you paste the results of `sudo ls -ah /var/cache/lxc/cloud-precise/`14:15
onreaDoes it have any special PPA? I mean devel release14:15
lazyPoweronrea: ppa:juju/devel14:15
onreaw814:15
onreamarcoceppi:14:16
onreals: cannot access /var/cache/lxc/cloud-precise: No such file or directory14:16
marcoceppionrea: yeah, you don't hvae the cloud image, that's why you're getting that error14:16
marcoceppiit should be installed on first bootstrap14:16
marcoceppionrea: do you have juju-local package installed?14:16
onreabut I does not get any error on bootstraping14:17
marcoceppionrea: well, the bootstrap isn't an LXC machine, it's your host machine14:17
onreajuju-local ---> installed14:17
marcoceppionrea: try bootstrapping one more time, then try to deploy a service after it bootstraps14:18
marcoceppiif you get the same error let us know14:18
onreaok, w814:18
onreaI send the commands step by step when I run them.14:19
onreasudo apt-get install juju juju-local charm-tools14:20
onreaDone.14:20
onreajuju init && juju switch local14:20
onreaDone14:20
onreasudo juju bootstrap14:21
onreaDone14:21
onreajuju deploy wordpress14:22
onreaDone14:22
onreajuju deploy mysql14:22
onreaDone14:23
onreajuju add-relation wordpress mysql14:23
onreaDone14:23
onreajuju expose wordpress14:23
onreaDone14:23
marcoceppionrea: what does juju status show now?14:24
onrea=> http://paste.ubuntu.com/7056018/14:25
onreamarcoceppi: ^14:25
lazyPowerthats so strange that its not fetching the cloud image14:25
marcoceppionrea: what's `sudo ls -lah /var/cache/lxc/` show? Also do you have any restrictions on your networking?14:26
onreaw814:26
onrea3 lines in output:14:26
onreatotal 8.0K14:26
onreadrwx------  2 root root 4.0K Jan 16 19:56 .14:27
onreadrwxr-xr-x 22 root root 4.0K Mar  8 16:47 ..14:27
onreaRestrictions on up/down: nope. let me try it behind VPN.14:28
onreawhen I run `juju init && juju switch local`, it says:14:29
onreaA boilerplate environment configuration file has been written to /home/emzi/.juju/environments.yaml. Edit the file to configure your juju environment and run bootstrap. Changed default environment from "amazon" to "local"14:29
onreadoesn't it need an configuration?14:30
onreaany*14:30
onrealazyPower: which step it tries to fetch "cloud image"?14:31
lazyPoweronrea: not for the local provider14:34
lazyPowerit should "just work"14:34
lazyPowerDo you have any kind of filtering on your network? is there any thing that could possibly prevent you from downloading that image such as a complex routing scheme, multiple networks attached, tor, etc.14:35
onreahmm, here is Iran. Are'n you banning our IPs?14:37
onrea_alo?14:41
onrea_where can I find the name of packages?14:41
onrea_Maybe they includes something as in sex, etc which not accepted by iran censorship!14:42
lazyPowerWell, i doubt its anything like that, but its a possibility its being filtered out14:45
lazyPowerif you have a VPN in another country, i would recommend trying that.14:46
onrea_lazyPower: I hav a VPN that does not support ssh, Is it ok?14:51
lazyPowershould be, it wget's the cloud image14:51
onrea_I found this post: https://www.stgraber.org/2013/12/21/lxc-1-0-your-second-container/ , Isn't useful. (because: there is this kind of error in the `juju status` output: md64 -a amd64 ''!='' i386)15:03
lazyPoweronrea_: can you reach cdimages.ubuntu.com?15:10
onrea_lazyPower: sure, it opens here15:15
onrea_may you look at this: https://bbs.archlinux.org/viewtopic.php?pid=1312627#p131262715:15
lazyPoweryep, juju is doing something like that15:16
lazyPowerif you can reach cdimages, can you reach cloud-images.ubuntu.com as well?15:17
onrea_I do this: sudo aptitude install cloud-utils15:17
onrea_It wan not installed!15:17
onrea_lazyPower: juju status -> http://paste.ubuntu.com/7056316/ -> The error went :) -> But why "agent-state" is pending?15:23
=== timrc-afk is now known as timrc
=== timrc is now known as timrc-afk
lazyPowerthere have been some fixes to LXC based deployments in the dev branch15:27
lazyPowerwhich is why i initially suggested you run the devel branch while testing15:27
onrealazyPower: Now, I'm on ppa:juju/devel | here is a conflict:16:09
onrea`sudo juju bootstrap`16:09
onreaERROR bootstrapping a local environment must not be done as root16:09
onrea`juju bootstrap`16:10
onreaERROR cannot read environment info for "local": open /home/onrea/.juju/environments/local.jenv: permission denied16:10
marcoceppionrea: that's because of 1.1.6.6 needing sudo16:11
onreaIt needs `sudo` while it does not need `sudo`.16:11
marcoceppionrea: run `sudo chown -R onrea.onrea ~/.juju ~/.ssh`16:11
marcoceppithen run juju bootstrap16:11
onreawhy chown on ~/.ssh ?16:15
onreafor installing Discourse, Which one is correct:16:16
onrea1. juju add-relation discourse postgresql:db-admin16:16
onrea2. juju add-relation discourse:db postgresql:db16:17
onrea1/2?16:17
onreaOops; instance-id: pending ;  why?16:19
onreapostgresql/0:         agent-state: pending16:19
onreaInstalling Wordpress by JuJu ==> New Error ==> http://paste.ubuntu.com/7056689/16:39
onrea==> error: container "onrea-local-machine-1" is already created16:39
onreaAlso ==> agent-state: pending16:39
avoineonrea: destroy your environnement and checkout that your machine are gonne in /var/lib/lxc/16:44
avoineif not use lxc-stop -n16:44
avoineand lxc-destroy16:44
avoinealso don't forget to clean /etc/lxc/autostart/16:45
onreaok16:50
onreaavoine: sudo juju destroy-environment => does not work sinc I migrated to `devel` repo. it says: error: no environment specified16:51
avoineonrea: try   sudo juju -e local destroy-environment16:53
onreaavoine: ls /var/lib/lxc/16:53
onreaonrea-local-machine-1  onrea-local-machine-2  onrea-local-machine-1  onrea-local-machine-216:54
avoinethat's it16:54
avoinejuju had a bug where it did not cleanup local machine proprelly16:54
onreaavoine: sudo juju -e local destroy-environment => error: flag provided but not defined: -e16:55
avoineoups16:55
lazyPoweronrea: youdont need the -e flag16:55
lazyPowerits positional arguements in 1.17.x16:55
lazyPowersorry i'm gearing up for a presentation16:55
lazyPoweronrea: I should have specified that you need to destroy your environment in the 1.16.x series before the upgrade16:56
* avoine needs to reboot16:56
onreaagent-version: 1.17.4.116:56
lazyPoweronrea: what you'll need to do is clean up the LXC containers from your system that are left behind. there's an ask ubuntu post on this let me go find it16:56
lazyPoweronrea: http://askubuntu.com/questions/403618/how-do-i-clean-up-a-machine-after-using-the-local-provider/403619#40361916:56
lazyPowerfollow those instructions to clear out your juju local deployment from the 1.16.x series. Then, once you've completed that and verify you have no leftovers, rebootstrap the environment and your lxc woes should go away16:57
onreaok, w816:57
lazyPoweronrea: i'll be in and out for the next half hour. Showering and getting ready to head out for this meeting. I'll stop in and check on you before i leave.16:58
onrealazyPower: Ok, I'll open a topic in discourse.ubuntu.com mentionanig you this way @lazyPower17:01
onreathen, should I restart?17:02
onreaThis 2 command didn't work: sudo rm -r /etc/lxc/auto/juju-* AND sudo rm -r /var/lib/lxc/juju-*17:03
zchanderCan anyone point me the correct direction for a reverse proxy setup (on a MAAS region/cluster controller combi), so I can reach deployed charms in the cluster?17:25
lazyPowerzchander: you may want to ask that again on Monday. Most of the people are offline for their weekend.17:31
lazyPoweror email the list, and someone should get back to you17:31
zchanderI'll try monday again..., thanks17:36
lazyPowerzchander: sorry i wasn't more help. I dont want to abandon you since I saw you ask around Friday late afternoon17:37
lazyPowerif you dont have an answer monday let me know and i'll try to run someone down for you. We are pretty busy with the 14.04 release coming up17:37
zchanderNo problem at all...  I understand.17:38
zchanderWish you all a good/nice/pleasant weekend.17:40
lazyPoweryou too zchander o/17:44
* lazyPower leaves to go give a presentation over Juju 17:44
lazyPowerwish me luck :)17:44
onrealazyPower: Hello again :) I purge anything and reinstalled them! ERROR ==> http://paste.ubuntu.com/7057154/ ==> I've just downlowded https://cloud-images.ubuntu.com/server/releases/precise/release-20140227/ubuntu-12.04-server-cloudimg-amd64.tar.gz ==> How to install it18:21
onreapurged*18:21
onreaIs it possible to install ubuntu-12.04-server-cloudimg-amd64.tar.gz manually?18:22
onreaubuntu-12.04-server-cloudimg-amd64.tar.gz18:26
onreaubuntu-12.04-server-cloudimg-amd64-root.tar.gz18:26
zchanderSaw it may be too late, but: Break a leg, lazyPower!18:39
onrea==> http://askubuntu.com/q/431441/15240519:49

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