Skip to content

Instantly share code, notes, and snippets.

@radez
Created January 30, 2015 15:09
Show Gist options
  • Save radez/efd8f306732186d0a320 to your computer and use it in GitHub Desktop.
Save radez/efd8f306732186d0a320 to your computer and use it in GitHub Desktop.
TASK: [openstack/create-keystonerc | Print nodes] *****************************
<tempest.example.com> ESTABLISH CONNECTION FOR USER: root
ok: [tempest.example.com] => {
"nodes": {
"compute1": {
"groups": [
"compute",
"foreman_nodes",
"puppet",
"rdo",
"neutron"
],
"hostname": "compute1.example.com",
"ipmi_host": "10.1.8.73",
"ipmi_password": "calvin",
"ipmi_username": "root",
"name": "compute1"
},
"compute2": {
"groups": [
"compute",
"foreman_nodes",
"puppet",
"rdo",
"neutron"
],
"hostname": "compute2.example.com",
"ipmi_host": "10.1.8.74",
"ipmi_password": "calvin",
"ipmi_username": "root",
"name": "compute2"
},
"controller": {
"groups": [
"controller",
"foreman_nodes",
"puppet",
"rdo",
"neutron"
],
"hostname": "control.example.com",
"ipmi_host": "10.1.8.70",
"ipmi_password": "calvin",
"ipmi_username": "root",
"name": "controller"
},
"network": {
"groups": [
"networker",
"foreman_nodes",
"puppet",
"rdo",
"neutron"
],
"hostname": "network.example.com",
"ipmi_host": "10.1.8.78",
"ipmi_password": "calvin",
"ipmi_username": "root",
"name": "network"
},
"tempest": {
"groups": [
"tempest",
"foreman_nodes",
"puppet",
"rdo",
"neutron"
],
"hostname": "tempest.example.com",
"ipmi_host": "10.1.8.76",
"ipmi_password": "calvin",
"ipmi_username": "root",
"name": "tempest"
}
}
}
TASK: [openstack/create-keystonerc | Create keystonerc_admin] *****************
<tempest.example.com> ESTABLISH CONNECTION FOR USER: root
<tempest.example.com> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/khaleesi/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 tempest.example.com /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1422629243.65-171494247968021 && echo $HOME/.ansible/tmp/ansible-tmp-1422629243.65-171494247968021'
fatal: [tempest.example.com] => {'msg': 'Exception: host not found: controller', 'failed': True}
fatal: [tempest.example.com] => {'msg': 'Exception: host not found: controller', 'failed': True}
FATAL: all hosts have already failed -- aborting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment