quickstart fails, tries to install both Ceph Jewel and Luminous

Bug #1777693 reported by Frank Zdarsky
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
wes hayutin

Bug Description

A fresh OOOQ deployment with default parameters fails in the image customization step running repo_setup.sh, because OOOQ tries to install both Ceph Jewel and Luminous packages.

How to reproduce
================
export VIRTHOST=lab.redhat.local
curl -O https://raw.githubusercontent.com/openstack/tripleo-quickstart/master/quickstart.sh
bash quickstart.sh --install-deps
bash quickstart.sh --clean $VIRTHOST

Expected result
===============
Quickstart successfully deploys the undercloud.

Actual result
=============
Ansible playbook fails with:

TASK [modify-image : Run virt-customize on the provided image] *****************************************************************************
task path: /home/remote/fzdarsky/.quickstart/usr/local/share/ansible/roles/modify-image/tasks/libguestfs.yml:
Tuesday 19 June 2018 17:44:22 +0200 (0:00:00.152) 0:57:09.116 **********
fatal: [lab.redhat.local]: FAILED! => {"changed": true, "cmd": "virt-customize --run /home/stack/repo_setup.sh -a /home/stack/undercloud.qcow2 > /home/stack/_home_stack_repo_setup.sh.log 2>&1", "delta": "0:04:37.789817", "end": "2018-06-19 11:52:09.836755", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2018-06-19 11:47:32.046938", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

whereby the _home_stack_repo_setup.sh.log shows:

Resolving Dependencies
--> Running transaction check
---> Package centos-release-ceph-luminous.noarch 0:1.0-1.el7.centos will be installed
--> Processing Conflict: centos-release-ceph-luminous-1.0-1.el7.centos.noarch conflicts centos-release-ceph < 12.2
--> Finished Dependency Resolution
 Error: centos-release-ceph-luminous conflicts with centos-release-ceph-jewel-1.0-1.el7.centos.noarch
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
virt-customize: error: /home/stack/repo_setup.sh: command exited with an
error

Tags: quickstart
Revision history for this message
Frank Zdarsky (frank-zdarsky) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart (master)

Fix proposed to branch: master
Review: https://review.openstack.org/576597

Changed in tripleo:
assignee: nobody → wes hayutin (weshayutin)
status: New → In Progress
Revision history for this message
Frank Zdarsky (frank-zdarsky) wrote :

LGTM; ran OOOQ with this patch and can confirm it addressed the issue for me. Thanks!

Revision history for this message
wes hayutin (weshayutin) wrote :
Changed in tripleo:
status: In Progress → Fix Released
importance: Undecided → Critical
Changed in tripleo:
milestone: none → rocky-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart (master)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/576597
Reason: The gate is suffering of timeouts, we need to clear it. Please do not restore or recheck this patch, I'll take care of it when gate is stable again.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart (master)

Reviewed: https://review.openstack.org/576597
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart/commit/?id=156793198fc77fc8da3ce0fd7d3f51015b80aca4
Submitter: Zuul
Branch: master

commit 156793198fc77fc8da3ce0fd7d3f51015b80aca4
Author: Wes Hayutin <email address hidden>
Date: Tue Jun 19 13:53:28 2018 -0400

    centos defaults with ceph jewel, ensure luminous

    Closes-Bug: #1777693
    Change-Id: If2b553c0d0128f963f9a17dbf5175e7b6fd6eacc

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart 2.1.1

This issue was fixed in the openstack/tripleo-quickstart 2.1.1 release.

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.