Ironic node deployment fails when local repo created by fuel-mirror used

Bug #1594387 reported by Rodion Tikunov
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
High
MOS Maintenance
Mitaka
Fix Released
High
Rodion Tikunov

Bug Description

Found in MOS 8.0
Packages tftpd-hpa and syslinux are required for deploy ironic node but they are not synced by fuel-mirror.

Steps to reproduce:
1. Create env with 1 controller + 1 ironic node
2. Create local repos:
fuel-mirror create -G mos -I /usr/share/fuel-mirror/ubuntu.yaml
fuel-mirror create -G ubuntu -I /usr/share/fuel-mirror/ubuntu.yaml
fuel-mirror apply -G mos -I /usr/share/fuel-mirror/ubuntu.yaml
fuel-mirror apply -G ubuntu -I /usr/share/fuel-mirror/ubuntu.yaml
3. Deploy cluster.

Expected result:
Cluster deployed successfully

Actual result:
Deployment has failed with such error:
2016-06-20 13:35:04 ERR (/Stage[main]/Tftp/Package[tftpd-hpa]/ensure) E: Unable to locate package tftpd-hpa
2016-06-20 13:35:04 ERR (/Stage[main]/Tftp/Package[tftpd-hpa]/ensure) Reading state information...
2016-06-20 13:35:04 ERR (/Stage[main]/Tftp/Package[tftpd-hpa]/ensure) Building dependency tree...
2016-06-20 13:35:04 ERR (/Stage[main]/Tftp/Package[tftpd-hpa]/ensure) change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install tftpd-hpa' returned 100: Reading package lists..

Changed in fuel:
importance: Undecided → High
milestone: none → 8.0-updates
status: New → Confirmed
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

expected result

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
description: updated
tags: removed: need-info
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-mirror (master)

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

Changed in fuel:
assignee: nobody → Rodion Tikunov (rtikunov)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-mirror (master)

Reviewed: https://review.openstack.org/331690
Committed: https://git.openstack.org/cgit/openstack/fuel-mirror/commit/?id=487a0a7e0522b0db976bee44ecc3848c1711fd15
Submitter: Jenkins
Branch: master

commit 487a0a7e0522b0db976bee44ecc3848c1711fd15
Author: Rodion Tikunov <email address hidden>
Date: Mon Jun 20 17:19:10 2016 +0300

    Added packages tftpd-hpa and syslinux for Ubuntu

    Ironic nodes require packages tftpd-hpa and syslinux for successfull
    deployment.

    Change-Id: I588ca8eef6da7c6a6cc9947c8d119f8d287a8353
    Closes-bug: #1594387

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → In Progress
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Rodion, why the issue is in progress for 9.1?
Fix as merged, does it mean that we need to merge another fix?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-mirror (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/347177

Revision history for this message
Rodion Tikunov (rtikunov) wrote :

The fix was merged in master and not cherry-picked for 9.1 yet.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-mirror (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/347181

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-mirror (stable/mitaka)

Reviewed: https://review.openstack.org/347177
Committed: https://git.openstack.org/cgit/openstack/fuel-mirror/commit/?id=74b356ec489639e020687ae6d767ae836938d10b
Submitter: Jenkins
Branch: stable/mitaka

commit 74b356ec489639e020687ae6d767ae836938d10b
Author: Rodion Tikunov <email address hidden>
Date: Mon Jun 20 17:19:10 2016 +0300

    Added packages tftpd-hpa and syslinux for Ubuntu

    Ironic nodes require packages tftpd-hpa and syslinux for successfull
    deployment.

    Change-Id: I588ca8eef6da7c6a6cc9947c8d119f8d287a8353
    Closes-bug: #1594387
    (cherry picked from commit 487a0a7e0522b0db976bee44ecc3848c1711fd15)

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.1 snapshot #269.

tags: removed: on-verification
Sergii Rizvan (srizvan)
Changed in fuel:
assignee: Rodion Tikunov (rtikunov) → MOS Maintenance (mos-maintenance)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-mirror (stable/8.0)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: stable/8.0
Review: https://review.opendev.org/347181
Reason: This repo is retired now, no further work will get merged.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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