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

=== rogpeppe1 is now known as rogpeppe
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== rvba` is now known as rvba
=== lazyPower changed the topic of #juju to: Welcome to Juju! || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP || Weekly Reviewers: mbruzek & jcastro || News and stuff: http://reddit.com/r/juju
=== Guest42485 is now known as wallyworld
mattywjamespage, do you think it should be possible to do a naive install of openstack using this kind of script using juju local? http://paste.ubuntu.com/8016698/. The reason I ask is I'm getting an "Couldn't acquire DPKG lock. Will retry in 10 seconds." error when deploying nova-compute12:25
jamespagemattyw, nova-compute won't deploy under LXC12:26
jamespagewell it will try and be completely non-functional12:26
jamespagemattyw, as to why you are getting a dpkg lock - not sure12:27
mattywjamespage, ok  thanks12:27
=== rektide_ is now known as rektide
=== Ursinha is now known as Ursinha-afk
=== dosaboy_ is now known as dosaboy
=== jog_ is now known as jog
=== Ursinha-afk is now known as Ursinha
=== roadmr is now known as roadmr_afk
=== CyberJacob|Away is now known as CyberJacob
khusslooking for some help with nova-compute charm19:24
khusswhen nova-compute is executed, it setups the nova.conf file. How does it get the IP address information of various services such as neutron gateway, glance, os controller etc?19:25
marcoceppikhuss: that happens when you add relations to those services19:31
khussmarcoceppi: yes.. it does. but my question how does it actually determine the IP address of lets say, glance19:32
marcoceppivia those relations19:33
marcoceppiso that information is fed through nova-cloud-controller to nova-compute iirc19:33
marcoceppisomething likethat19:33
marcoceppiit's all over relation wire19:33
khussmarcoceppi: I'm adding some additional hooks to configure different files.. trying to figure out ip address of glance, for example19:33
marcoceppikhuss: then you'd need to add a relation from glance to the nova-compute charm if it doesn't already have that information19:34
khussmarcoceppi: i know it happens when you add the relations so my question how do those hooks actually determine the IP of os-controller, glance etc19:34
marcoceppiin the relation hook, it calls something like `relation-get private-address`19:35
marcoceppior whatever the interface deems is the hostname/ip key for that service19:35
khussmarcoceppi: lets i'm adding relation from nova-compute to cinder19:36
khussmarcoceppi:  in the cinder-joined hook, I can do relate-get private-address to get the ip of cinder?19:36
marcoceppikhuss: yeah, `relation-get private-address` will always have the ip of the unit19:36
marcoceppibut there may be another key to get instead, since some of the openstack charms allow you to configure ip/networking for services19:37
marcoceppiyou'd have to look at the cinder charm and look at it's hook for what it provides19:37
khussmarcoceppi: thanks for that info. Is there a way I can simulate the charm environment to test these hooks without going through the entire life cycle?19:38
=== Ursinha is now known as Ursinha-afk
=== roadmr_afk is now known as roadmr
=== Ursinha-afk is now known as Ursinha
jcsacketts20:51
=== CyberJacob is now known as CyberJacob|Away

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