Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frizop/7d5b18ba4d9d3fedd9b33abfe9cdacee to your computer and use it in GitHub Desktop.
Save frizop/7d5b18ba4d9d3fedd9b33abfe9cdacee to your computer and use it in GitHub Desktop.
mistral workflow errors for ceph-ansible, debugging enabled
--- Error found in ceph-install-workflow.log ---
2019-01-31 02:58:15,168 p=23073 u=mistral | TASK [ceph-config : generate ceph.conf configuration file] *********************
2019-01-31 02:58:15,168 p=23073 u=mistral | task path: /usr/share/ceph-ansible/roles/ceph-config/tasks/main.yml:173
2019-01-31 02:58:15,168 p=23073 u=mistral | Thursday 31 January 2019 02:58:15 +0000 (0:00:00.216) 0:00:48.520 ******
2019-01-31 02:58:15,578 p=23073 u=mistral | fatal: [192.168.24.8]: FAILED! => {
"failed": true,
"msg": "No first item, sequence was empty."
}
2019-01-31 02:58:15,580 p=23073 u=mistral | PLAY RECAP *********************************************************************
2019-01-31 02:58:15,580 p=23073 u=mistral | 192.168.24.11 : ok=6 changed=0 unreachable=0 failed=0
2019-01-31 02:58:15,580 p=23073 u=mistral | 192.168.24.12 : ok=6 changed=0 unreachable=0 failed=0
2019-01-31 02:58:15,580 p=23073 u=mistral | 192.168.24.14 : ok=9 changed=0 unreachable=0 failed=0
2019-01-31 02:58:15,580 p=23073 u=mistral | 192.168.24.15 : ok=9 changed=0 unreachable=0 failed=0
2019-01-31 02:58:15,581 p=23073 u=mistral | 192.168.24.16 : ok=6 changed=0 unreachable=0 failed=0
2019-01-31 02:58:15,581 p=23073 u=mistral | 192.168.24.18 : ok=6 changed=0 unreachable=0 failed=0
2019-01-31 02:58:15,581 p=23073 u=mistral | 192.168.24.8 : ok=62 changed=3 unreachable=0 failed=1
2019-01-31 02:58:15,581 p=23073 u=mistral | 192.168.24.9 : ok=6 changed=0 unreachable=0 failed=0
2019-01-31 02:58:15,581 p=23073 u=mistral | INSTALLER STATUS ***************************************************************
2019-01-31 02:58:15,584 p=23073 u=mistral | Install Ceph Monitor : In Progress (0:00:15)
2019-01-31 02:58:15,584 p=23073 u=mistral | This phase can be restarted by running: roles/ceph-mon/tasks/main.yml
2019-01-31 02:58:15,584 p=23073 u=mistral | Thursday 31 January 2019 02:58:15 +0000 (0:00:00.416) 0:00:48.936 ******
--- task path: /usr/share/ceph-ansible/roles/ceph-config/tasks/main.yml:173 ---
- name: "generate {{ cluster }}.conf configuration file"
action: config_template
args:
src: "ceph.conf.j2"
dest: "{{ ceph_conf_key_directory }}/{{ cluster }}.conf"
owner: "root"
group: "root"
mode: "0644"
config_overrides: "{{ ceph_conf_overrides }}"
config_type: ini
notify:
- restart ceph mons
- restart ceph osds
- restart ceph mdss
- restart ceph rgws
- restart ceph mgrs
- restart ceph rbdmirrors
--- inventory.yaml found in the /tmp/ansible-mistral-action* ---
all:
vars:
admin_secret: AQB8nC5cAAAAABAAjNfdiHvk9k7AFo1YO6dqfw==
ceph_conf_overrides:
global: {osd_pool_default_pg_num: 128, osd_pool_default_pgp_num: 128, osd_pool_default_size: 3,
rgw_keystone_accepted_roles: 'Member, admin', rgw_keystone_admin_domain: default,
rgw_keystone_admin_password: MY242nzWrbXfnyCHqKHuttpTC, rgw_keystone_admin_project: service,
rgw_keystone_admin_user: swift, rgw_keystone_api_version: 3, rgw_keystone_implicit_tenants: 'true',
rgw_keystone_revocation_interval: '0', rgw_keystone_url: 'http://172.16.2.22:5000',
rgw_s3_auth_use_keystone: 'true'}
ceph_docker_image: rhceph/rhceph-3-rhel7
ceph_docker_image_tag: 3-18
ceph_docker_registry: 10.237.78.10:5000
ceph_mgr_docker_extra_env: -e MGR_DASHBOARD=0
ceph_origin: distro
ceph_stable: true
cluster: ceph
cluster_network: 172.16.3.0/24
containerized_deployment: true
devices: [/dev/sdb, /dev/sdc, /dev/sdd]
docker: true
fetch_directory: /tmp/file-mistral-action9QQiJj
fsid: 645cad00-0fb0-11e9-9986-40a8f0300018
generate_fsid: false
ip_version: ipv4
ireallymeanit: 'yes'
keys:
- caps: {mgr: allow *, mon: profile rbd, osd: 'profile rbd pool=volumes, profile
rbd pool=backups, profile rbd pool=vms, profile rbd pool=images, profile
rbd pool=metrics'}
key: AQB8nC5cAAAAABAA1+nhyyh0iRhUk8ukawWW7w==
mode: '0600'
name: client.openstack
- caps: {mds: allow *, mgr: allow *, mon: 'allow r, allow command ''auth del'',
allow command ''auth caps'', allow command ''auth get'', allow command ''auth
get-or-create''', osd: allow rw}
key: AQB8nC5cAAAAABAAMWH8j/UaWbj5Fy9Mi00bUQ==
mode: '0600'
name: client.manila
- caps: {mgr: allow *, mon: allow rw, osd: allow rwx}
key: AQB8nC5cAAAAABAALC61TQkEGiZQR95nYlh6Uw==
mode: '0600'
name: client.radosgw
monitor_address_block: 172.16.1.0/24
monitor_secret: AQB8nC5cAAAAABAAoFT43U7osXzwFPrUhRE9IQ==
ntp_service_enabled: false
openstack_config: true
openstack_keys:
- caps: {mgr: allow *, mon: profile rbd, osd: 'profile rbd pool=volumes, profile
rbd pool=backups, profile rbd pool=vms, profile rbd pool=images, profile
rbd pool=metrics'}
key: AQB8nC5cAAAAABAA1+nhyyh0iRhUk8ukawWW7w==
mode: '0600'
name: client.openstack
- caps: {mds: allow *, mgr: allow *, mon: 'allow r, allow command ''auth del'',
allow command ''auth caps'', allow command ''auth get'', allow command ''auth
get-or-create''', osd: allow rw}
key: AQB8nC5cAAAAABAAMWH8j/UaWbj5Fy9Mi00bUQ==
mode: '0600'
name: client.manila
- caps: {mgr: allow *, mon: allow rw, osd: allow rwx}
key: AQB8nC5cAAAAABAALC61TQkEGiZQR95nYlh6Uw==
mode: '0600'
name: client.radosgw
openstack_pools:
- {application: rbd, name: images, pg_num: 128, rule_name: replicated_rule}
- {application: openstack_gnocchi, name: metrics, pg_num: 128, rule_name: replicated_rule}
- {application: rbd, name: backups, pg_num: 128, rule_name: replicated_rule}
- {application: rbd, name: vms, pg_num: 128, rule_name: replicated_rule}
- {application: rbd, name: volumes, pg_num: 128, rule_name: replicated_rule}
osd_objectstore: bluestore
osd_scenario: lvm
pools: []
public_network: 172.16.1.0/24
user_config: true
clients:
hosts:
192.168.24.11: {}
192.168.24.12: {}
192.168.24.14: {}
192.168.24.15: {}
192.168.24.16: {}
192.168.24.18: {}
192.168.24.8: {}
192.168.24.9: {}
mdss:
hosts: {}
mgrs:
hosts:
192.168.24.14: {}
192.168.24.15: {}
192.168.24.8: {}
mons:
hosts:
192.168.24.14: {}
192.168.24.15: {}
192.168.24.8: {}
nfss:
hosts: {}
osds:
hosts:
192.168.24.14: {}
192.168.24.15: {}
192.168.24.8: {}
rbdmirrors:
hosts: {}
rgws:
hosts: {}
----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment