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