Bug 1378487 - Mkfs.xfs missing from AWS AMI
Summary: Mkfs.xfs missing from AWS AMI
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-productimg-cloud
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Matthew Miller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-22 14:07 UTC by Ryan Cook
Modified: 2017-03-26 15:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-26 15:54:17 UTC
Type: Bug


Attachments (Terms of Use)

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


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