/srv/irclogs.ubuntu.com/2015/03/18/#juju.txt

=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
wgrantCan I convince Juju to somehow use an alternate port for SSH to a machine?01:42
wgrantI 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:42
marcoceppibdx: I'm able to get maas to boot machines that have something other than eth001:50
marcoceppi(em1, eg)01:50
AskUbuntu_MAAS - Cannot provision node with interface other than eth0 | http://askubuntu.com/q/59813905:50
AskUbuntu_Juju - Openstack service charm networking configurations and limitations | http://askubuntu.com/q/59815607:10
=== urulama|afk is now known as urulama
stubwgrant: 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:00
wgrantstub: Right, I can always change the ssh port manually, but I was wondering about adjusting 'juju run' etc.08:09
apuimedognuoy: ping11:27
gnuoyapuimedo, hello11:27
apuimedognuoy: Hi!11:28
apuimedothat was fast ;-)11:28
apuimedoI made a patch that adds midonet support to charm-helpers (similar to the one for calico and n1kv)11:29
apuimedoand now I'm trying to do the part for neutron-api11:29
gnuoyah, ok11:29
apuimedo*neutron-api charm11:29
apuimedognuoy: (offtopic, cool how your last name includes a reverse gnu)11:30
gnuoyapuimedo, thanks, a lucky chance of fate :)11:30
apuimedothe thing is that the midonet plugin needs to write two configs11:30
apuimedowhereas the config field for neutron_plugins is just a single string11:30
apuimedowe basically need to put some config in /etc/neutron/dhcp_agent.ini as well11:31
lukasa_workapuimedo: I think your individual neutron charm will maintain that config11:33
gnuoyapuimedo, it sounds like you're going to need to update the quantum-gateway charm11:33
apuimedoso I was wondering if I should just add it to neutron_api_utils.py:register_configs or resource_map11:33
lukasa_workOh yes, quantum-gateway is the right one11:33
lukasa_work /headdesk11:33
gnuoy:)11:33
lukasa_work(FYI, I'm the maintainer of the various Calico charms)11:34
apuimedo;-)11:34
gnuoyapuimedo, 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 example11:36
gnuoys/login/logic/11:37
apuimedognuoy: Oh! I'll look into it. I was originally modelling the neutron-api box to have also the metadata and the dhcp agent11:39
apuimedothat's why I was targetting the neutron-api charm11:39
lukasa_workapuimedo: You can always deploy quantum-gateway on the same machine as neutron-api11:40
apuimedolukasa_work: won't the fact that it is not defined as a subordinate charm prevent that?11:40
gnuoylxc to the rescue11:41
lukasa_workapuimedo: Not necessarily. So long as the charms don't step on each others toes you can do it.11:41
apuimedogood to know. I assumed that without 'subordinate: true' juju would block it11:41
lukasa_workAt the moment you can deploy most of the OpenStack 'control' charms to the same node if you want to11:41
gnuoyapuimedo, which charm are you saying is a subordinate ?11:42
apuimedognuoy: 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 box11:43
gnuoyah, I see11:43
gnuoyapuimedo, If you want to house multiple services on the same box (to save metal) I'd suggest using lxc fwiw11:44
lukasa_workLXCs are definitely safer11:44
apuimedook ;-)11:44
lukasa_workThough as I say I've not had trouble dumping various OpenStack components on the same node11:45
lukasa_workI wouldn't rely on that state of affairs to continue11:45
apuimedothanks lukasa ;-)11:46
lukasa_workNP =)11:46
apuimedolukasa_work: do you run the metadata agent in the quantum-gateway as well?11:47
gnuoyapuimedo, yes. neutron-server is the only thing on the neutron-api charm11:49
lukasa_work+111:49
apuimedook11:49
gnuoyapuimedo, 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 charms11:50
apuimedounderstood11:52
apuimedognuoy: one thing that left me a bit puzzled about neutron-api is that nsx adds a few configs to config.yaml11:53
apuimedoone of them, specifically 'nsx-controllers'11:54
apuimedoshouldn't it have been better that those addresses would have been retrieved by adding a relation with them?11:54
* gnuoy goes and peaks at the charm11:55
apuimedoI 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 charm11:56
lukasa_workI'd add a relation, apuimedo11:56
lukasa_workI did that for calico-acl-manager11:56
apuimedoI was thinking that probably the best would be to add a relation between midonet-api and neutron-api that uses the interface neutron-api11:57
apuimedoand then neutron-api when that relation joins, if it is configured to use midonet, it updates the /etc/neutron/plugin/midonet.ini11:57
apuimedolukasa_work: which relation did you use? Are you using the plain neutron-api charm?11:58
apuimedolukasa_work: I see that you use the regular neutron-api12:00
apuimedobut I don't understand how does `juju add-relation calico-acl-manager neutron-api` work12:00
apuimedothey do not share any interface that would realize which kind of relation it is fulfilling12:01
apuimedognuoy: the template for the midonet plugin referred to in http://bazaar.launchpad.net/~celebdor/charm-helpers/midonet/revision/337 charmhelpers/contrib/openstack/neutron.py13:02
apuimedoshould be in charm-helpers too ( charmhelpers/contrib/openstack/templates/midonet.ini ) or in the neutron-api templates?13:03
apuimedoI'd put it into neutron-api/templates/midonet.ini13:06
AskUbuntu_Ceilometer deployment | http://askubuntu.com/q/59829714:22
schkovich@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:10
marcoceppischkovich: https://jujucharms.com/u/hp-discover/website/trusty/3 https://jujucharms.com/u/marcoceppi/php-website/trusty/115:11
marcoceppithere is no "nginx-python" yet, that was optimistic of me15:11
schkovichok15:12
schkovichthose ones are just named differently15:12
schkovichi thought that it might be a case :)15:12
schkovich@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:17
marcoceppiI always welcome and appreciate merge requests15:18
schkovich@marcoceppi what type of configuration option should be to get check box in gui?15:25
marcoceppischkovich: boolean15:26
schkovichof course, what else :(15:26
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
my_chiguailazyPower: Thanks for the pointer to the elastic search charm. Did you have any notes on what the development process is?16:04
lazyPowermy_chiguai: what are you looking for in terms of dev process? thats kind of a broad subject.16:13
my_chiguaiindeed16:13
my_chiguaiI like the idea of using ansible with juju16:14
my_chiguaihttps://micknelson.wordpress.com/2013/11/08/juju-ansible-simpler-charms/16:14
my_chiguaiand states16:14
my_chiguaihttps://micknelson.wordpress.com/2013/06/24/easier-juju-charms-with-python-helpers/16:14
my_chiguaiand of course the starter template16:14
my_chiguaihttps://jujucharms.com/docs/authors-charm-writing16:14
=== kadams54-away is now known as kadams54
my_chiguaiMy basic path at the moment (and this will be a slow path)16:15
my_chiguaiis going from github repo, development and testing, and deployment16:15
my_chiguaipossibly with vagrant: https://jujucharms.com/docs/config-vagrant16:16
my_chiguaia lot of moving parts :)16:17
my_chiguaiwere there specific resources you found helpful?16:17
my_chiguaiI am trying to pull together "The Guide" for me. Maybe make it a realist ( http://readlists.com )16:18
my_chiguais/realist/readlist16:19
my_chiguaihttp://readlists.com/6b32199216:22
my_chiguaiin progress16:22
pdobrienhi @lazypower @asanjar - having a problem getting the hdp-hadoop bundle to install16:23
pdobrienlooks like it's because it can't verify the package signatures16:26
my_chiguaihmm looks like a number of pages on jujucharms.com are broken. The search results are all 404s. https://jujucharms.com/docs/search/?text=amulet16:32
my_chiguaisome cached links are available16:45
my_chiguaihttp://webcache.googleusercontent.com/search?q=cache:Dkl2vQQqiBkJ:https://jujucharms.com/docs/tools-amulet+&cd=1&hl=en&ct=clnk&gl=us&client=safari16:45
rick_h_my_chiguai: apologies, release is in progress the qa site is up atm http://qa.storefront.theblues.io:6543/docs/1.20/tools-amulet16:48
my_chiguaino problem and thanks for the updated link!16:50
my_chiguaianyone know if the github charm mirrors up to date?16:52
my_chiguaion 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. :)16:57
marcoceppimy_chiguai: they are not17:01
my_chiguaiah thanks marcoceppi17:01
marcoceppimy_chiguai: we kind of abandonded keeping them in sync as we work towards a better charm store model17:01
marcoceppimy_chiguai: you can follow these instructions to convert a bzr repo a git one if that better suites your workflow17:02
marcoceppimy_chiguai: http://paste.ubuntu.com/10621984/17:03
marcoceppimy_chiguai: you may also need to run "git reset --hard" at the end17:03
lazyPowerpdobrien: Have you filed a bug? :(17:03
lazyPowerpdobrien: 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:04
lazyPowermy_chiguai: ah, sorry about the delay in reply. i jsut read scrollback17:06
lazyPowermy_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 namespace17:06
pdobrienlazyPower: did not file a bug yet, wanted to see if it was a known issue.17:08
pdobrienlazyPower: I was able to get it to deploy by creating a machine, manually updating the repo key, and then deploying the service17:09
lazyPowerpdobrien: ah ok, so its just the repository key that has changed?17:09
my_chiguaimarcoceppi: thanks much!17:09
pdobrienlazyPower: 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 install17:10
my_chiguaimarcoceppi: I'll have to look into updating charms17:10
pdobrienlazyPower: so not sure if the key changed, or if the charm just isn't looking in the right location anymore17:11
lazyPowerpdobrien: 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:11
pdobrienlazyPower: 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
pdobrienlazyPower: will do17:12
lazyPowerpdobrien: https://bugs.launchpad.net/charms/+source/hdp-hadoop - link for filing the charm bug17:13
lazyPowerpdobrien: can you link me to the instructions you're following for my clarification?17:13
pdobrienlazyPower: for hdp-hadoop?  Just deploying the charm via the gui17:14
lazyPowerpdobrien: i was referring to the hdp-hive-mysql bundle17:15
lazyPower"bundle "bundle-deploy"" sounds like it may be an incorrect copy/paste stanza somewhere17:15
pdobrienlazyPower: all I did was find it in the gui and click "Deploy this bundle" - didn't try via cli17:17
lazyPowerok, let me stand up an env really quick and investigate, ta for the info17:18
lazyPowerpdobrien: this bundle, correct? https://demo.jujucharms.com/bundle/data-analytics-with-sql-like-6/?text=sql-like17:25
pdobrienlazyPower: I was using https://jujucharms.com/u/lazypower/hdp-hadoop-hive-mysql/417:25
lazyPowerpdobrien: ah, thats a percursor to the bundle i listed above.17:27
pdobrienlazyPower: just tried the bundle you linked, and I get the same error17:27
lazyPowerpdobrien: confirmed the bug on my end17:31
=== zz_CyberJacob is now known as CyberJacob
lazyPowerpdobrien: 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/143370617:39
mupBug #1433706:  invalid request: bundle "bundle-deploy" not found <juju-gui:New> <https://launchpad.net/bugs/1433706>17:39
pdobrienlazyPower: thanks!17:42
murphyslawbbsHi, 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
mupBug #1089389: juju bootstrap fail behind a proxy when a gpg key must be imported <amd64> <apport-bug> <cloud> <precise> <running-unity> <software-properties (Ubuntu):Triaged> <https://launchpad.net/bugs/1089389>17:49
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
lazyPowermurphyslawbbs: 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 run17:56
murphyslawbbslazyPower: is there some kind of order to charms so that the proxy would be set before other stuff runs?17:57
lazyPowerso 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:57
lazyPowermurphyslawbbs: not unless you fork the charms and update the install hook :|17:58
lazyPowermurphyslawbbs: 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/service17:58
murphyslawbbslazyPower: ok i'll let that sink in a bit thanks17:59
lazyPowermurphyslawbbs: i just noticed the bug says this is failing on bootstrap18:00
lazyPowerthats 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 setup18:01
lazyPowermurphyslawbbs: i've done this in the past successfully using maas tagging, and passing that as a constraint.  juju bootstrap --constraints="tags=bootstrap"18:02
murphyslawbbslazyPower: does that somehow alter the maas preseed?18:03
murphyslawbbslazyPower: 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
lazyPowernegative. 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:04
lazyPowerah yeah, that would more than likely be problematic too18:05
murphyslawbbslazyPower: maybe easier all round to create my own trusty image with the keyring and the proxies setup18:06
lazyPoweryeah, sorry i didn't have a better answer murphyslawbbs18:07
murphyslawbbslazyPower: oh no it's cool, I have an answer :)18:08
pdobrienlazyPower: 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:26
lazyPowerpdobrien: 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 future18:27
lazyPowerThere'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?18:27
=== arosales_ is now known as arosales
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
AskUbuntu_New Openstack Autopilot stuck at: In progress - Configure availability zones - 98% | http://askubuntu.com/q/59843421:14
=== urulama is now known as urulama__
barchettaanyone solid in juju agent debugging?22:33

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