=== kadams54 is now known as kadams54-away === kadams54-away is now known as kadams54 === kadams54 is now known as kadams54-away [01:42] Can I convince Juju to somehow use an alternate port for SSH to a machine? [01:42] I need something other than OpenSSH exposed on a unit's port 22, and it would be nice to not have to use a firewall to NAT that. [01:50] bdx: I'm able to get maas to boot machines that have something other than eth0 [01:50] (em1, eg) [05:50] MAAS - Cannot provision node with interface other than eth0 | http://askubuntu.com/q/598139 [07:10] Juju - Openstack service charm networking configurations and limitations | http://askubuntu.com/q/598156 === urulama|afk is now known as urulama [08:00] wgrant: I have never seen an option to change the ssh port, and if you did it will break 'juju run' since it uses ssh and has no option to use a different port. [08:09] stub: Right, I can always change the ssh port manually, but I was wondering about adjusting 'juju run' etc. [11:27] gnuoy: ping [11:27] apuimedo, hello [11:28] gnuoy: Hi! [11:28] that was fast ;-) [11:29] I made a patch that adds midonet support to charm-helpers (similar to the one for calico and n1kv) [11:29] and now I'm trying to do the part for neutron-api [11:29] ah, ok [11:29] *neutron-api charm [11:30] gnuoy: (offtopic, cool how your last name includes a reverse gnu) [11:30] apuimedo, thanks, a lucky chance of fate :) [11:30] the thing is that the midonet plugin needs to write two configs [11:30] whereas the config field for neutron_plugins is just a single string [11:31] we basically need to put some config in /etc/neutron/dhcp_agent.ini as well [11:33] apuimedo: I think your individual neutron charm will maintain that config [11:33] apuimedo, it sounds like you're going to need to update the quantum-gateway charm [11:33] so I was wondering if I should just add it to neutron_api_utils.py:register_configs or resource_map [11:33] Oh yes, quantum-gateway is the right one [11:33] /headdesk [11:33] :) [11:34] (FYI, I'm the maintainer of the various Calico charms) [11:34] ;-) [11:36] apuimedo, have you taken a look at the quantum-gateway charm ? It already has n1kv login in the dhcp_agent.ini template if you want to look at an example [11:37] s/login/logic/ [11:39] gnuoy: Oh! I'll look into it. I was originally modelling the neutron-api box to have also the metadata and the dhcp agent [11:39] that's why I was targetting the neutron-api charm [11:40] apuimedo: You can always deploy quantum-gateway on the same machine as neutron-api [11:40] lukasa_work: won't the fact that it is not defined as a subordinate charm prevent that? [11:41] lxc to the rescue [11:41] apuimedo: Not necessarily. So long as the charms don't step on each others toes you can do it. [11:41] good to know. I assumed that without 'subordinate: true' juju would block it [11:41] At the moment you can deploy most of the OpenStack 'control' charms to the same node if you want to [11:42] apuimedo, which charm are you saying is a subordinate ? [11:43] gnuoy: no, I was saying that I thought that the fact that neutron-api and quantum-gateway are not subordinates would prevent them from being deployed together in the same box [11:43] ah, I see [11:44] apuimedo, If you want to house multiple services on the same box (to save metal) I'd suggest using lxc fwiw [11:44] LXCs are definitely safer [11:44] ok ;-) [11:45] Though as I say I've not had trouble dumping various OpenStack components on the same node [11:45] I wouldn't rely on that state of affairs to continue [11:46] thanks lukasa ;-) [11:46] NP =) [11:47] lukasa_work: do you run the metadata agent in the quantum-gateway as well? [11:49] apuimedo, yes. neutron-server is the only thing on the neutron-api charm [11:49] +1 [11:49] ok [11:50] apuimedo, but from a charms point of vies most neutron settings are exposed via the neutron-api charm and it pushes them out to the other charms [11:52] understood [11:53] gnuoy: one thing that left me a bit puzzled about neutron-api is that nsx adds a few configs to config.yaml [11:54] one of them, specifically 'nsx-controllers' [11:54] shouldn't it have been better that those addresses would have been retrieved by adding a relation with them? [11:55] * gnuoy goes and peaks at the charm [11:56] I guess that it's because you can't deploy nsx controllers with a charm, but in my case, where the midonet api endpoint is deployed with a charm [11:56] I'd add a relation, apuimedo [11:56] I did that for calico-acl-manager [11:57] I was thinking that probably the best would be to add a relation between midonet-api and neutron-api that uses the interface neutron-api [11:57] and then neutron-api when that relation joins, if it is configured to use midonet, it updates the /etc/neutron/plugin/midonet.ini [11:58] lukasa_work: which relation did you use? Are you using the plain neutron-api charm? [12:00] lukasa_work: I see that you use the regular neutron-api [12:00] but I don't understand how does `juju add-relation calico-acl-manager neutron-api` work [12:01] they do not share any interface that would realize which kind of relation it is fulfilling [13:02] gnuoy: the template for the midonet plugin referred to in http://bazaar.launchpad.net/~celebdor/charm-helpers/midonet/revision/337 charmhelpers/contrib/openstack/neutron.py [13:03] should be in charm-helpers too ( charmhelpers/contrib/openstack/templates/midonet.ini ) or in the neutron-api templates? [13:06] I'd put it into neutron-api/templates/midonet.ini [14:22] Ceilometer deployment | http://askubuntu.com/q/598297 [15:10] @marcoceppi In Nginx charm description it is mentioned that when "combined with nginx-site, nginx-php, or nginx-python will allow you to deploy independant VirtualHosts and scale those out." I can't find any of mentioned charms. :( [15:11] schkovich: https://jujucharms.com/u/hp-discover/website/trusty/3 https://jujucharms.com/u/marcoceppi/php-website/trusty/1 [15:11] there is no "nginx-python" yet, that was optimistic of me [15:12] ok [15:12] those ones are just named differently [15:12] i thought that it might be a case :) [15:17] @marcoceppi Nginx version installed is 1.4.6 which is affected by several security flaws. Adding option to install Nginx from stable PPA will be great improvement. I checked the code and adding PPA should not be a big deal. Will you welcome PR or in bazaar wording request to merge? [15:18] I always welcome and appreciate merge requests [15:25] @marcoceppi what type of configuration option should be to get check box in gui? [15:26] schkovich: boolean [15:26] of course, what else :( === kadams54 is now known as kadams54-away === kadams54-away is now known as kadams54 === kadams54 is now known as kadams54-away [16:04] lazyPower: Thanks for the pointer to the elastic search charm. Did you have any notes on what the development process is? [16:13] my_chiguai: what are you looking for in terms of dev process? thats kind of a broad subject. [16:13] indeed [16:14] I like the idea of using ansible with juju [16:14] https://micknelson.wordpress.com/2013/11/08/juju-ansible-simpler-charms/ [16:14] and states [16:14] https://micknelson.wordpress.com/2013/06/24/easier-juju-charms-with-python-helpers/ [16:14] and of course the starter template [16:14] https://jujucharms.com/docs/authors-charm-writing === kadams54-away is now known as kadams54 [16:15] My basic path at the moment (and this will be a slow path) [16:15] is going from github repo, development and testing, and deployment [16:16] possibly with vagrant: https://jujucharms.com/docs/config-vagrant [16:17] a lot of moving parts :) [16:17] were there specific resources you found helpful? [16:18] I am trying to pull together "The Guide" for me. Maybe make it a realist ( http://readlists.com ) [16:19] s/realist/readlist [16:22] http://readlists.com/6b321992 [16:22] in progress [16:23] hi @lazypower @asanjar - having a problem getting the hdp-hadoop bundle to install [16:26] looks like it's because it can't verify the package signatures [16:32] hmm looks like a number of pages on jujucharms.com are broken. The search results are all 404s. https://jujucharms.com/docs/search/?text=amulet [16:45] some cached links are available [16:45] http://webcache.googleusercontent.com/search?q=cache:Dkl2vQQqiBkJ:https://jujucharms.com/docs/tools-amulet+&cd=1&hl=en&ct=clnk&gl=us&client=safari [16:48] my_chiguai: apologies, release is in progress the qa site is up atm http://qa.storefront.theblues.io:6543/docs/1.20/tools-amulet [16:50] no problem and thanks for the updated link! [16:52] anyone know if the github charm mirrors up to date? [16:57] on http://askubuntu.com/questions/432187/how-can-i-deploy-my-local-juju-charm-with-amulet-framework a comment by Marco Ceppi noted they were but that was March of last year and elastic search is much more recent than that. :) [17:01] my_chiguai: they are not [17:01] ah thanks marcoceppi [17:01] my_chiguai: we kind of abandonded keeping them in sync as we work towards a better charm store model [17:02] my_chiguai: you can follow these instructions to convert a bzr repo a git one if that better suites your workflow [17:03] my_chiguai: http://paste.ubuntu.com/10621984/ [17:03] my_chiguai: you may also need to run "git reset --hard" at the end [17:03] pdobrien: Have you filed a bug? :( [17:04] pdobrien: sorry you ran into that, we've been having some issues with the hortonworks repos as of late. They just came back online after an extended outage last week - and they probably just updated. [17:06] my_chiguai: ah, sorry about the delay in reply. i jsut read scrollback [17:06] my_chiguai: Actually - it was a learn as you go process for me as well. if you're running ubuntu native - going from concept => staging => production is pretty seamless with bundles, if you're using your personal namespace [17:08] lazyPower: did not file a bug yet, wanted to see if it was a known issue. [17:09] lazyPower: I was able to get it to deploy by creating a machine, manually updating the repo key, and then deploying the service [17:09] pdobrien: ah ok, so its just the repository key that has changed? [17:09] marcoceppi: thanks much! [17:10] lazyPower: not sure if it's changed, I found the key id in the install log, then ran sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com B9733A7A07513CAD to install [17:10] marcoceppi: I'll have to look into updating charms [17:11] lazyPower: so not sure if the key changed, or if the charm just isn't looking in the right location anymore [17:11] pdobrien: yeah if you could get a bug filed on that i'll make sure it gets routed to the right people and we get a fix in place quickly. [17:12] lazyPower: on a somewhat related note, I'm trying to deploy the hdp-hadoop-hive-mysql-4 bundle, and the gui says: "Unable to deploy the bundle. The server returned the following error: invalid request: bundle "bundle-deploy" not found" [17:12] lazyPower: will do [17:13] pdobrien: https://bugs.launchpad.net/charms/+source/hdp-hadoop - link for filing the charm bug [17:13] pdobrien: can you link me to the instructions you're following for my clarification? [17:14] lazyPower: for hdp-hadoop? Just deploying the charm via the gui [17:15] pdobrien: i was referring to the hdp-hive-mysql bundle [17:15] "bundle "bundle-deploy"" sounds like it may be an incorrect copy/paste stanza somewhere [17:17] lazyPower: all I did was find it in the gui and click "Deploy this bundle" - didn't try via cli [17:18] ok, let me stand up an env really quick and investigate, ta for the info [17:25] pdobrien: this bundle, correct? https://demo.jujucharms.com/bundle/data-analytics-with-sql-like-6/?text=sql-like [17:25] lazyPower: I was using https://jujucharms.com/u/lazypower/hdp-hadoop-hive-mysql/4 [17:27] pdobrien: ah, thats a percursor to the bundle i listed above. [17:27] lazyPower: just tried the bundle you linked, and I get the same error [17:31] pdobrien: confirmed the bug on my end === zz_CyberJacob is now known as CyberJacob [17:39] pdobrien: I've filed a bug against juju-gui wrt this bug. If you want to follow along you can subscribe on the right. https://bugs.launchpad.net/juju-gui/+bug/1433706 [17:39] Bug #1433706: invalid request: bundle "bundle-deploy" not found [17:42] lazyPower: thanks! [17:49] Hi, I'm hitting bug https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1089389, I was wondering if there is a workaround and if so how I can implement it. Is there a way to add "local" scripts or code so I can set the proxy? [17:49] Bug #1089389: juju bootstrap fail behind a proxy when a gpg key must be imported === kadams54 is now known as kadams54-away === kadams54-away is now known as kadams54 [17:56] murphyslawbbs: the only thing that comes to mind is a subordinate - or juju-run against the service. the subordinate doesn't sound helpful as the deploymetns will fail until the subordinate is run [17:57] lazyPower: is there some kind of order to charms so that the proxy would be set before other stuff runs? [17:57] so juju-run is probably the best bet - and theres no garantee of the run executing before the hooks are fired even if you are judicious about attaching tot he node before the hooks are fired. (small window between agent coming online and hook execution) [17:58] murphyslawbbs: not unless you fork the charms and update the install hook :| [17:58] murphyslawbbs: that is one options however, to do that, and when a fix is released moving back to the store charms with juju upgrade-charm --switch cs:series/service [17:59] lazyPower: ok i'll let that sink in a bit thanks [18:00] murphyslawbbs: i just noticed the bug says this is failing on bootstrap [18:01] thats not going to work either :( if the bootstrap node cant be stood up its pretty much dead in teh water unless you manually provision the node, update the proxy, then attempt to bootstrap to that existing node that has the proxy config setup [18:02] murphyslawbbs: i've done this in the past successfully using maas tagging, and passing that as a constraint. juju bootstrap --constraints="tags=bootstrap" [18:03] lazyPower: does that somehow alter the maas preseed? [18:04] lazyPower: If so, wouldn't it be a problem is that the deployments inside the bootstrapped machines using lxc wouldn't have the changes? [18:04] negative. its a work around until its properly patched, and isn't easily reproducible since theres a lot of manual intervention dependency in that method. [18:05] ah yeah, that would more than likely be problematic too [18:06] lazyPower: maybe easier all round to create my own trusty image with the keyring and the proxies setup [18:07] yeah, sorry i didn't have a better answer murphyslawbbs [18:08] lazyPower: oh no it's cool, I have an answer :) [18:26] lazyPower: I did a fresh deployment of hdp-hadoop and it appears that the gpg key issue is resolved.... probably was a transient issue due to the issues hortonworks was having. so I won't open a bug. [18:27] pdobrien: allright, that much is known. Thankyou for trying to repro and following up that its ok. We've got a known issue with the hortonworks repository dependency is constantly going offline. We'll be working to keep a more reliable mirror in the near future [18:27] There's a launchpad group if you're interested in joining the development efforts in terms of feedback and early releases - would you like a link? === arosales_ is now known as arosales === kadams54 is now known as kadams54-away === kadams54 is now known as kadams54-away [21:14] New Openstack Autopilot stuck at: In progress - Configure availability zones - 98% | http://askubuntu.com/q/598434 === urulama is now known as urulama__ [22:33] anyone solid in juju agent debugging?