=== CyberJacob is now known as CyberJacob|Away === gary_poster is now known as gary_poster|away === mwhudson is now known as zz_mwhudson === zz_mwhudson is now known as mwhudson === mwhudson is now known as zz_mwhudson === freeflying_away is now known as freeflying === CyberJacz is now known as CyberJacob === zz_mwhudson is now known as mwhudson === timrc is now known as timrc-afk === _thumper_ is now known as thumper === timrc-afk is now known as timrc === zz_frobware is now known as frobware === CyberJacob is now known as CyberJacob|Away [09:52] Hi all, does anyone know how/if I can deploy a juju framework on a pre-existing amazon instance? I have reserved instances which I'd like to use for this [09:52] e.g. instead of adding machines which are created by juju, using my own machines... [10:15] jcverdie: yes, using manual provisioning. it works well in the latest dev release, it's a bit flakey in the stable release [10:16] jcverdie: I have to run, but the docs are here: https://juju.ubuntu.com/docs/config-manual.html [10:16] (a little out of date, but mostly still true) [10:17] thanks Im gonna look === mwhudson is now known as zz_mwhudson === freeflying is now known as freeflying_away === gary_poster|away is now known as gary_poster === freeflying_away is now known as freeflying [13:36] hi, when i try to assign multiple charms to the same machine, i get an error in agent-state-info. it seems that the machine cannot download some things from http://cloud-images.ubuntu.com. Please have a look on the output of the terminal when i call "juju status": http://pastebin.ubuntu.com/6873041/ As u can see in the output, i have tried it now several times but every time the lxc container failed to create [14:09] can i install "juju" if i have installed "juju-core"? === rektide_ is now known as rektide [14:20] tomixxx: juju is a metapackage, It won't harm anything. [14:21] lazyPower: i still have the problem that i cannot assign multiple charms to the same machine [14:21] do you have the juju-local package installed? [14:23] lazyPower: no i have not installed this package [14:23] tomixxx: you will need to destroy your environment, install the juju-local package, then rebootstrap your local environment [14:24] tomixxx: https://juju.ubuntu.com/docs/config-LXC.html [14:25] lazyPower: ok i will do this [14:25] Best of luck. Ping me if you get stuck [14:25] ty [15:03] lazyPower: i have followed your guide and then i have called "juju deploy mysql --to lxc:0" again but i got the same error [15:04] tomixxx: shoot me a pastebin of your juju-status output again please [15:05] lazyPower: http://pastebin.ubuntu.com/6873459/ [15:06] Hi I'd like to deploy to a EC2 instance which I already have, but as it's a regular EC2 i have to use PEM to connect to it, and I can't find how to do it with juju ? [15:07] tomixxx: does the machine you're bootstrapping juju on have internet connectivity? [15:07] lazyPower: no [15:07] jcverdie: what you're attempting to do is manual provisioning [15:07] jcverdie: thats still very much in beta phases at this point [15:07] lazyPower: I did it (juju switch null) [15:07] but juju bootstrap fails : ERROR failed to enable bootstrap storage: failed to create storage dir: exit status 255 (Permission denied (publickey).) [15:07] tomixxx: you will need to get that machine to have connectivity before creating the containers will work. Its dependent on the cloud-tools to bootstrap the node. [15:08] because when i ssh it i have to do ssh -i mykey.pem [15:08] lazyPower: My architecture is as follow: my maas-server is connected to two nodes via switch. the maas-server has to network interfaces: one interface is connected to the switch and the other interface connects me to the internet [15:08] jcverdie: ok, so its an ssh auth error. Can you add your sshkey to the authorized_keys on the host? [15:08] and I don't know how to tell juju to do it [15:09] i'll try [15:09] tomixxx: The only resolution here is to get internet connectivity to the host that is bootstrapping those lxc containers, i'm sorry. [15:10] jcverdie: ssh-copy-id -i $PATH_TO_KEY ubuntu@host [15:10] lazyPower: lazyPower: ok [15:11] lazyPower: i have the public .pem and my own public rsa in the authorized keys on the server [15:12] Ok that should be good. When you ssh to that host, you no longer have to specify the key, correct? [15:12] lazyPower: right, but juju bootstrap still fails :( [15:13] jcverdie: still on object storage? [15:13] yep, exactly the same error [15:13] hmm.. is juju using a different keypair than what you have provided to the host? [15:14] no, i've put my 3 keys on the server [15:14] could it be somethign wrong in my environments.yaml ? [15:14] well, one second [15:14] is juju trying to use your personal user and not ubuntu? there's a config flag for the user [15:14] # bootstrap-user: [15:15] i've set bootstrap-host, bootstrap-user [15:15] I'm not sure then :| that should have been a green light to juju [15:16] and there's a storage-auth-key which I haven't set but it's there [15:16] yeah, you should be fine without that. I haven't used the configuration field in my trial tests of the manual provider [15:16] :( [15:18] jcverdie: i'll keep brain bending on this, but i'm not sure why that's not working. can you pastebin me all the non-sensitive stuff relating to the null provider from your environments.yaml? [15:18] sure [15:19] did you get it ? [15:19] tomixxx: another thing, make sure your lxc bridge device is pointed at the proper ethernet port to get internet connectivity too. The bootstrap process will be downloading bits from the itnernet as well. [15:19] i did [15:20] brb [15:20] lazyPower: how do i check this? [15:21] tomixxx: lxcbr0 (the default bridge device created by juju) is by default attached to eth0 ( i'm pretty sure ) and if you need to change that [15:22] the configuration of the bridge interface is found in /etc/lxc/default.conf - but it doesn't look like it has the bridged interface there... [15:23] lazyPower: ok, in my case, eth0 has no internet, but eth1 has [15:23] tomixxx: ah its in /etc/default/lxc [15:24] you can configure the LXC virtual bridge device / vnet in that file. it will require a restart to take hold however. I don't believe that sudo service networking restart will affect the LXC bridge device. [15:25] lazyPower: hmm, LXC_ADDR="10.0.3.1" [15:26] if you don't want to reach the containers that LXC is spinning up on your network thats fine. Juju's local provider occupies that ip range by default [15:26] if do you DO however want to reach your LXC containers, you will need to do some configuration magic [15:27] lazyPower: i have to use lxc-containers because i have only 2 nodes [15:28] tomixxx: I understand. I have an intranet deployed in my house using juju and lxc containers. [15:28] it works really well, but I don't know that its something I would want to use in production. It does get a bit wonky here and there. === freeflying is now known as freeflying_away [15:57] lazyPower: do i need to change my "interfaces" file in order to enable the cloud-nodes to access the internet? [15:57] I don't believe so [15:58] lazyPower: Ok, so there is no need to configure a "bridge" or sth like that? [15:58] thats what i pointed you at, the LXC bridge configuration === dames is now known as thedac [15:59] lazyPower: k, but what do i have to change there? [16:01] tomixxx: not knowing how your network is configured, or the host machine, thats difficult to say. [16:02] lazyPower: my network is configured as follow: http://pastebin.ubuntu.com/6873735/ [16:03] lazyPower: eth1 connects me to the internet and eth0 connects me to the cloud-nodes [16:03] tomixxx: there's a discussion on this in the forums, read through this - http://ubuntuforums.org/showthread.php?t=2137446 [16:05] lazyPower k, ty === gary_poster is now known as gary_poster|away === gary_poster|away is now known as gary_poster [17:24] i have tried to NAT the traffic from the LXC bridge to the internet-capable network interface eth1: http://pastebin.ubuntu.com/6874102 [17:24] the problem is it does not work [17:25] i get the same error when i call "juju status" -> "failed to get https://cloud-images.ubunt.com/..." [17:33] lazyPower: do i have to rebootstrap juju if i have changed lxc bridge settings?= [17:34] tomixxx3: possibly [17:34] marcoceppi: i have only modified the "interfaces" file, in detail. i added some port-forwarding lines [17:35] marcoceppi: i have already restarted the maas-server but it seems still not work because i cannot create lxc containers [17:35] tomixxx3: didn't realize you were driving lxc with maas [17:36] marcoceppi: i have deployed juju on top of maas because i want to use openstack [17:36] marcoceppi: in order to deploy juju charms, i need to have multiple charms on a single machine [17:36] marcoceppi: and therefore, i need lxc containers [17:37] tomixxx3: right, but are the LXC containers in maas, or are you using juju deploy --to lxc:# ? [17:37] i use "juju deploy XXX --to lxc:x" [17:37] tomixxx3: you won't need to re-bootstrap [17:38] but I'm not sure if anything else is required [17:39] k, the problem is, when i try to deploy sth i call "juju status" after it and then i can see that the creation of the lxc container failed because the container was not able to download sth [17:39] right, so some networking issue [17:39] what version of juju are you using? [17:40] if its "agent-version" it is 1.16.5.1 [17:41] marcoceppi: the output of "juju status" looks like the following: http://pastebin.ubuntu.com/6874176 [17:41] tomixxx3: yeah, I think lxc bridge stuff was patched in 1.17.2, but the person who would know that is not online right now [17:41] marcoceppi: as u can see, i have tried it multiple times [17:42] marcoceppi: 0/lxc/4 was last try ;) [17:43] maroceppi: so, do you mean it make sense to go to version 1.17.2? [17:45] marcoceppi: i mean latest, not last [17:49] tomixxx3: for LXC stuff, yes [17:49] it's something thats actively beinig worked on in juju at the moment [17:54] marcoceppi: i fear that the main problem is that i have made some mistake when configuriering or installing sth [18:08] Is there a way to get juju to automatically clean up the security group spam it creates? [18:17] cjohnston: no, but there is a tool you can compile with go to do it [18:18] cjohnston: though it's a bit...over zealous === wendar_ is now known as wendar === CyberJacob|Away is now known as CyberJacob === seelama`` is now known as seelaman === zz_mwhudson is now known as mwhudson === timrc is now known as timrc-afk === gary_poster is now known as gary_poster|away === timrc-afk is now known as timrc === CyberJacob is now known as CyberJacob|Away