Rocky Ceph/SUSE builds fail due to missing ceph_uid

Bug #1805637 reported by Jesse Pretorius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Jean-Philippe Evrard

Bug Description

OSA stable/rocky uses the stable-3.1 branch of ceph-ansible. When building, the following task failure happens:

2018-11-26 17:28:49.842602 | opensuse-423 | TASK [ceph-defaults : create ceph initial directories] *************************
2018-11-26 17:28:49.952237 | opensuse-423 | fatal: [aio1_ceph-mon_container-20aa8631]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ceph_uid' is undefined\n\nThe error appears to have been in '/etc/ansible/roles/ceph-ansible/roles/ceph-defaults/tasks/create_ceph_initial_dirs.yml': line 18, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: create ceph initial directories\n ^ here\n"}

In the ceph-ansible stable-3.2 branch, this is resolved by https://github.com/ceph/ceph-ansible/commit/7172737f13cba38c8a80f1ad99c091c8726af9b9

Once there is an equivalent patch which fixes the suse/ceph builds for rocky, we can re-enable voting for the job.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-ansible (stable/rocky)

Related fix proposed to branch: stable/rocky
Review: https://review.openstack.org/620607

Changed in openstack-ansible:
assignee: nobody → Jean-Philippe Evrard (jean-philippe-evrard)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible (stable/rocky)

Reviewed: https://review.openstack.org/620607
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=d43ee8690221167ad69db74f65715229abb842ca
Submitter: Zuul
Branch: stable/rocky

commit d43ee8690221167ad69db74f65715229abb842ca
Author: Jesse Pretorius <email address hidden>
Date: Wed Nov 28 14:01:58 2018 +0000

    Set SUSE ceph-distro job to non-voting

    In https://review.openstack.org/616481 we switched OSA stable/rocky
    from ceph-ansible 3.2 to 3.1, but https://review.openstack.org/614463
    made the job voting before that merged. The 3.1 builds for SUSE do not
    work (see related bug), so we switch this job to non-voting. Whenever
    the issue is fixed upstream, we can revert this (and add the missing
    gate job too).

    Change-Id: I70059d1b0f9eb774519420b14239ab7e3081e7eb
    Related-Bug: #1805637

tags: added: in-stable-rocky
Changed in openstack-ansible:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.