getfattr: command not found

Bug #1823075 reported by Peng Peng
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Lin Shuicheng

Bug Description

Brief Description
-----------------
at title

Severity
--------
Minor

Steps to Reproduce
------------------

Expected Behaviour
------------------

Actual Behaviour
----------------

Reproducibility
---------------
Reproducible
100%

System Configuration
--------------------
all system

Branch/Pull Time/Commit
-----------------------
master as of 20190401T233000Z

Timestamp/Logs
--------------
[2019-04-02 20:14:01,925] 262 DEBUG MainThread ssh.send :: Send 'getfattr -m . -d /usr/sbin/ntpq'
[2019-04-02 20:14:02,027] 387 DEBUG MainThread ssh.expect :: Output:
-sh: getfattr: command not found

Revision history for this message
Al Bailey (albailey1974) wrote :

/usr/bin/getfattr is provided by attr-2.4.46-13.el7.x86_64

It was being pulled into the ISO through libguestfs,
which was pulled in by python-libguestfs
which was pulled in by openstack-nova-compute

openstack-nova-compute was removed from the ISO on March 20 by
https://review.openstack.org/#/c/644678/

Revision history for this message
Ghada Khalil (gkhalil) wrote :

Marking as release gating; package removed inadvertently. Needs to be re-packaged on the host iso.

Changed in starlingx:
importance: Undecided → Medium
status: New → Triaged
tags: added: stx.2.0 stx.build
tags: added: stx.helpwanted
Changed in starlingx:
assignee: nobody → Cindy Xie (xxie1)
Ghada Khalil (gkhalil)
tags: added: stx.retestneeded
Changed in starlingx:
assignee: Cindy Xie (xxie1) → Lin Shuicheng (shuicheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-root (master)

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

Changed in starlingx:
status: Triaged → In Progress
Ghada Khalil (gkhalil)
tags: removed: stx.helpwanted
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-root (master)

Reviewed: https://review.openstack.org/650625
Committed: https://git.openstack.org/cgit/openstack/stx-root/commit/?id=8e4fcc45f425b68aa9749d1bf95c04ef2d5264d0
Submitter: Zuul
Branch: master

commit 8e4fcc45f425b68aa9749d1bf95c04ef2d5264d0
Author: Shuicheng Lin <email address hidden>
Date: Tue Apr 9 01:11:03 2019 +0800

    Add getfattr tool back to deployment environment

    /usr/bin/getfattr is provided by attr-2.4.46-13.el7.x86_64, which
    was being pulled into the ISO by openstack-nova-compute.
    openstack-nova-compute is removed from ISO since openstack is
    containerized.
    Add attr rpm to the image.inc lst, to explicitly require it be
    included in ISO.

    Test:
    Pass build and confirm attr rpm package is included in ISO.

    Closes-Bug: 1823075

    Change-Id: Ie40af4417ef48151eba5ed89bb0c0311bfbcc155
    Signed-off-by: Shuicheng Lin <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Peng Peng (ppeng)
tags: removed: stx.retestneeded
Revision history for this message
Peng Peng (ppeng) wrote :

Verified

controller-0:~$ which getfattr
/usr/bin/getfattr
controller-0:~$ cat /etc/build.info
###
### StarlingX
### Built from master
###

OS="centos"
SW_VERSION="19.01"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID="20190410T013000Z"

JOB="STX_build_master_master"
<email address hidden>"
BUILD_NUMBER="56"
BUILD_HOST="starlingx_mirror"
BUILD_DATE="2019-04-10 01:30:00 +0000

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.