Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1575115 - OSP13 - Container configuration generation fails if the host file system is xfs that was created with ftype=0 [NEEDINFO]
OSP13 - Container configuration generation fails if the host file system is x...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations (Show other bugs)
13.0 (Queens)
All All
urgent Severity urgent
: beta
: 13.0 (Queens)
Assigned To: Carlos Camacho
Marius Cornea
: Triaged
Depends On: 1564671
Blocks: 1580463 1580469 1580476
  Show dependency treegraph
 
Reported: 2018-05-04 15:31 EDT by Carlos Camacho
Modified: 2018-06-27 09:56 EDT (History)
27 users (show)

See Also:
Fixed In Version: openstack-tripleo-validations-8.4.1-4.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1564671
: 1580463 (view as bug list)
Environment:
Last Closed: 2018-06-27 09:55:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
mcornea: needinfo? (ccamacho)


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1765121 None None None 2018-05-04 15:31 EDT
Red Hat Knowledge Base (Solution) 3459291 None None None 2018-05-24 14:32 EDT
OpenStack gerrit 562282 None master: MERGED tripleo-validations: Validate that there should not be XFS volumes with ftype=0 (I895fc83d148523c283664080b7b1bf75d53d9e... 2018-05-07 11:27 EDT
OpenStack gerrit 564109 None stable/queens: MERGED tripleo-validations: Validate that there should not be XFS volumes with ftype=0 (I895fc83d148523c283664080b7b1bf75d53d9e... 2018-05-07 11:27 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:56 EDT

  None (edit)
Comment 9 Marius Cornea 2018-05-16 16:54:30 EDT
Hey Carlos,

I see this ticket has attached a tripleo-validation patch. I'm assuming we're going to document the need to run validation before upgrade or do this validation gets triggered automatically before upgrade? Please let me know so I can proceed to validate it.

Thanks!
Comment 10 Carlos Camacho 2018-05-21 10:51:31 EDT
Hey Marius, currently the only thing we can do is to validate that there are no volumes affected by this issue.

This validation is part of the pre-upgrade tasks, so if the validations are not disabled this should run.

I have duplicated this bug into:

OSP12 - https://bugzilla.redhat.com/show_bug.cgi?id=1580463
OSP11 - https://bugzilla.redhat.com/show_bug.cgi?id=1580469
OSP10 - https://bugzilla.redhat.com/show_bug.cgi?id=1580476

For tracking all the backports.
Comment 11 Marius Cornea 2018-05-21 19:08:10 EDT
(In reply to Carlos Camacho from comment #10)
> Hey Marius, currently the only thing we can do is to validate that there are
> no volumes affected by this issue.
> 
> This validation is part of the pre-upgrade tasks, so if the validations are
> not disabled this should run.
> 

Since this bug is filed against OSP13 I believe this should be used for keeping track of running the validation before the overcloud fast forward upgrade? If so at which step in the fast forward upgrade procedure do we expect this validation to run? I'd assume that before 'openstack overcloud ffwd-upgrade prepare' but I just want to make sure I get it right before trying to validate it. Thanks!
Comment 12 Marius Cornea 2018-05-24 22:33:55 EDT
I tried validating this BZ and upgraded an affected environment to OSP13 undercloud then tried to run this validation via:

(undercloud) [stack@undercloud-0 ~]$ mistral execution-get-output $(openstack workflow execution create -f value -c ID tripleo.validations.v1.run_groups '{"group_names": ["pre-upgrade"]}')

and only got this output:

{}
Comment 13 Marius Cornea 2018-05-25 10:44:44 EDT
Steps to run the validation:

(undercloud) [stack@undercloud-0 ~]$ uuid=$(openstack workflow execution create tripleo.validations.v1.run_validation '{"validation_name": "check-ftype"}'  -f json | jq -r -c '.ID');

(undercloud) [stack@undercloud-0 ~]$ mistral execution-get-output $uuid

{
    "status": "FAILED", 
    "result": null, 
    "stderr": "[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option, In favor of become which is a\n generic framework . This feature will be removed in version 2.8. Deprecation \nwarnings can be disabled by setting deprecation_warnings=False in ansible.cfg.\n [WARNING]: Could not match supplied host pattern, ignoring: overcloud\n", 
    "stdout": "Task 'Check ftype' failed:\nHost: localhost\nMessage: XFS volumes formatted using ftype=0 are incompatible with the docker overlayfs driver. Run xfs_info in localhost.localdomain and fix those volumes before proceeding with the upgrade.\n\n\nFailure! The validation failed for all hosts:\n* localhost\n"
}

We can see that the validation doesn't run on the overcloud nodes. I suspect this is because the tripleo ansible inventory doesn't contain the overcloud nodes yet as they get added after running overcloud ffwd-upgrade prepare but at that point the upgrade process has already started and running the validation should prevent the upgrade process from starting.
Comment 16 errata-xmlrpc 2018-06-27 09:55:29 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:2086

Note You need to log in before you can comment on or make changes to this bug.