=== 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 [12:25] jamespage, 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-compute [12:26] mattyw, nova-compute won't deploy under LXC [12:26] well it will try and be completely non-functional [12:27] mattyw, as to why you are getting a dpkg lock - not sure [12:27] jamespage, ok thanks === 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 [19:24] looking for some help with nova-compute charm [19:25] when 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:31] khuss: that happens when you add relations to those services [19:32] marcoceppi: yes.. it does. but my question how does it actually determine the IP address of lets say, glance [19:33] via those relations [19:33] so that information is fed through nova-cloud-controller to nova-compute iirc [19:33] something likethat [19:33] it's all over relation wire [19:33] marcoceppi: I'm adding some additional hooks to configure different files.. trying to figure out ip address of glance, for example [19:34] khuss: then you'd need to add a relation from glance to the nova-compute charm if it doesn't already have that information [19:34] marcoceppi: i know it happens when you add the relations so my question how do those hooks actually determine the IP of os-controller, glance etc [19:35] in the relation hook, it calls something like `relation-get private-address` [19:35] or whatever the interface deems is the hostname/ip key for that service [19:36] marcoceppi: lets i'm adding relation from nova-compute to cinder [19:36] marcoceppi: in the cinder-joined hook, I can do relate-get private-address to get the ip of cinder? [19:36] khuss: yeah, `relation-get private-address` will always have the ip of the unit [19:37] but there may be another key to get instead, since some of the openstack charms allow you to configure ip/networking for services [19:37] you'd have to look at the cinder charm and look at it's hook for what it provides [19:38] marcoceppi: 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? === Ursinha is now known as Ursinha-afk === roadmr_afk is now known as roadmr === Ursinha-afk is now known as Ursinha [20:51] s === CyberJacob is now known as CyberJacob|Away