Bug 1378487

Summary: Mkfs.xfs missing from AWS AMI
Product: [Fedora] Fedora Reporter: Ryan Cook <rcook>
Component: fedora-productimg-cloudAssignee: Matthew Miller <mattdm>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: karlthered, mail, mattdm, sgallagh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-26 15:54:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ryan Cook 2016-09-22 14:07:00 UTC
Description of problem: The package mkfs.xfs is missing from the AMI on AWS. This makes cloud-init more difficult as it will not allow for cloud-init to create a xfs partition on assigned storage. 


Version-Release number of selected component (if applicable):
ami-2a5d9a47

How reproducible:
Launch a new instance and use the following cloud-init/user-data

#cloud-config
cloud_config_modules:
- disk_setup
- mounts

fs_setup:
- label: etcd_storage
  filesystem: xfs
  device: /dev/xvdc
  partition: auto

runcmd:
- mkdir -p /var/lib/etcd

mounts:
- [ /dev/xvdc, /var/lib/etcd, xfs, "defaults" ]


Steps to Reproduce:
1. Launch instance in AWS using above cloud-init
2. cat /var/log/cloud-init-output.log
3.

Actual results:

2016-09-22 03:03:20,623 - cc_disk_setup.py[WARNING]: Cannot create fstype 'xfs'.  No mkfs.xfs command

Expected results:
Filesystem is provisioned

Additional info:
The package xfsprogs needs to be added to the image. If this is added this will allow devices to be partitioned with xfs

Comment 1 Ryan Cook 2017-03-26 15:54:17 UTC
Feel free to close as i believe it has been resolved in the latest version of Fedora cloud ami