Some fixes & cleanup
Fixed keystone to use juno images
This commit is contained in:
parent
8aa0f6247a
commit
9c7857bc3b
@ -28,4 +28,4 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
- name: wait for glance api
|
- name: wait for glance api
|
||||||
wait_for: host={{ ip }} port=9393 timeout=20
|
wait_for: host={{ ip }} port={{ ports.value[0]['value']['value'] }} timeout=20
|
||||||
|
@ -4,7 +4,7 @@ version: 1.0.0
|
|||||||
input:
|
input:
|
||||||
image:
|
image:
|
||||||
schema: str!
|
schema: str!
|
||||||
value: kollaglue/centos-rdo-k-keystone
|
value: kollaglue/centos-rdo-j-keystone
|
||||||
config_dir:
|
config_dir:
|
||||||
schema: str!
|
schema: str!
|
||||||
value: /etc/solar/keystone
|
value: /etc/solar/keystone
|
||||||
|
@ -189,10 +189,6 @@ def init_cli_connections():
|
|||||||
def connections():
|
def connections():
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@connections.command()
|
|
||||||
def show():
|
|
||||||
print json.dumps(signals.Connections.read_clients(), indent=2)
|
|
||||||
|
|
||||||
# TODO: this requires graphing libraries
|
# TODO: this requires graphing libraries
|
||||||
@connections.command()
|
@connections.command()
|
||||||
def graph():
|
def graph():
|
||||||
@ -210,6 +206,10 @@ def init_cli_connections():
|
|||||||
#plt.axis('off')
|
#plt.axis('off')
|
||||||
#plt.savefig('graph.png')
|
#plt.savefig('graph.png')
|
||||||
|
|
||||||
|
@connections.command()
|
||||||
|
def show():
|
||||||
|
print json.dumps(signals.Connections.read_clients(), indent=2)
|
||||||
|
|
||||||
|
|
||||||
def init_cli_deployment_config():
|
def init_cli_deployment_config():
|
||||||
@main.command()
|
@main.command()
|
||||||
|
@ -31,9 +31,6 @@ class Ansible(BaseHandler):
|
|||||||
def _render_inventory(self, r):
|
def _render_inventory(self, r):
|
||||||
inventory = '{0} ansible_ssh_host={1} ansible_connection=ssh ansible_ssh_user={2} ansible_ssh_private_key_file={3}'
|
inventory = '{0} ansible_ssh_host={1} ansible_connection=ssh ansible_ssh_user={2} ansible_ssh_private_key_file={3}'
|
||||||
host, user, ssh_key = r.args['ip'].value, r.args['ssh_user'].value, r.args['ssh_key'].value
|
host, user, ssh_key = r.args['ip'].value, r.args['ssh_user'].value, r.args['ssh_key'].value
|
||||||
print host
|
|
||||||
print user
|
|
||||||
print ssh_key
|
|
||||||
inventory = inventory.format(host, host, user, ssh_key)
|
inventory = inventory.format(host, host, user, ssh_key)
|
||||||
print inventory
|
print inventory
|
||||||
return inventory
|
return inventory
|
||||||
|
@ -37,6 +37,7 @@ class BaseHandler(object):
|
|||||||
|
|
||||||
action_file = resource.metadata['actions'][action]
|
action_file = resource.metadata['actions'][action]
|
||||||
action_file = os.path.join(resource.metadata['actions_path'], action_file)
|
action_file = os.path.join(resource.metadata['actions_path'], action_file)
|
||||||
|
print 'action file: ', action_file
|
||||||
args = self._make_args(resource)
|
args = self._make_args(resource)
|
||||||
|
|
||||||
with open(action_file) as f:
|
with open(action_file) as f:
|
||||||
|
@ -56,4 +56,7 @@ class RedisDB(object):
|
|||||||
self._r.delete(self._make_key(collection, uid))
|
self._r.delete(self._make_key(collection, uid))
|
||||||
|
|
||||||
def _make_key(self, collection, _id):
|
def _make_key(self, collection, _id):
|
||||||
|
if isinstance(collection, self.COLLECTIONS):
|
||||||
|
collection = collection.name
|
||||||
|
|
||||||
return '{0}:{1}'.format(collection, _id)
|
return '{0}:{1}'.format(collection, _id)
|
||||||
|
Loading…
Reference in New Issue
Block a user