action #31771

0ac2c9f6cd1bd5f2d7091e1c08096152ed02a23f failing on chattr

Added by apachelogger about 2 years ago. Updated almost 2 years ago.

Status:ResolvedStart date:14/02/2018
Priority:HighDue date:
Assignee:coolo% Done:

0%

Category:Concrete Bugs
Target version:Done
Difficulty:
Duration:

Description

0ac2c9f6cd1bd5f2d7091e1c08096152ed02a23f introduced a call runcmd('/usr/bin/chattr', '-f', '+C', $basedir); with the intent of disabling COW.
Problem is runcmd dies on !0 and chattr can easily come back !0 if the underlying filesystem gets angry

e.g.

root@packet-openqa-neon-001:/tmp# mkdir x
root@packet-openqa-neon-001:/tmp# /usr/bin/chattr -V +C x
chattr 1.42.13 (17-May-2015)
Flags of x set as -------------e-C
/usr/bin/chattr: Operation not supported while setting flags on x

which in turn will abort the entire os-autoinst.

chattr issues should probably be non-fatal.


Related issues

Related to openQA Project - action #31894: Worker fails on 'chattr' command with xfs filesystem Rejected 16/02/2018

History

#1 Updated by coolo about 2 years ago

  • Category set to Concrete Bugs
  • Priority changed from Normal to High
  • Target version set to Current Sprint

#2 Updated by szarate about 2 years ago

  • Related to action #31894: Worker fails on 'chattr' command with xfs filesystem added

#3 Updated by coolo about 2 years ago

  • Status changed from New to Resolved

#4 Updated by szarate almost 2 years ago

  • Target version changed from Current Sprint to Done

#5 Updated by szarate almost 2 years ago

  • Assignee set to coolo

Also available in: Atom PDF