=== 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 | ||
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:25 |
---|---|---|
jamespage | mattyw, nova-compute won't deploy under LXC | 12:26 |
jamespage | well it will try and be completely non-functional | 12:26 |
jamespage | mattyw, as to why you are getting a dpkg lock - not sure | 12:27 |
mattyw | jamespage, ok thanks | 12: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 | ||
khuss | looking for some help with nova-compute charm | 19:24 |
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:25 |
marcoceppi | khuss: that happens when you add relations to those services | 19:31 |
khuss | marcoceppi: yes.. it does. but my question how does it actually determine the IP address of lets say, glance | 19:32 |
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:33 |
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:34 |
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:35 |
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:36 |
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:37 |
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? | 19:38 |
=== Ursinha is now known as Ursinha-afk | ||
=== roadmr_afk is now known as roadmr | ||
=== Ursinha-afk is now known as Ursinha | ||
jcsackett | s | 20:51 |
=== CyberJacob is now known as CyberJacob|Away |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!