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