"I want to try this" sample in USECASES.md fails to apply
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-ceph |
In Progress
|
Undecided
|
Tim Freund |
Bug Description
I tried to configure a virtual machine using the single machine trial configuration suggested in USECASES.md:
class { 'ceph::conf':
fsid => generate(
mon_host => $::ipaddress_eth0,
authenticatio
}
ceph::mon { 'a':
public_addr => $::ipaddress_eth0,
osd_pool_
authenticatio
};
ceph::osd { '/dev/vdb': };
This failed with a syntax error:
Error: Could not parse for environment production: Syntax error at ';' at /tmp/ceph.puppet:10
In addition to the syntax error, it looks like the module has changed slightly since this sample was made. I found that the following passed syntax checks and applied cleanly on a new virtual machine running Ubuntu 14.04:
class { 'ceph':
fsid => generate(
mon_host => $::ipaddress_eth0,
authenticatio
osd_pool_
}
ceph::mon { 'a':
public_addr => $::ipaddress_eth0,
authenticatio
}
ceph::osd { '/dev/vdb': }
I will submit a patch with this change, and I am willing to make any suggested changes or additions.
Two additional considerations for RHEL and CentOS: The manifest above does not apply cleanly to RHEL or CentOS machines unless the user first installs the xfsprogs package and applies the following puppet code:
class { 'ceph::repo':
}
Ceph isn't available in the default RHEL repositories, and mkfs doesn't include XFS capabilities in a default RHEL installation. I suspect that both of these items may warrant their own bug reports.
Changed in puppet-ceph: | |
assignee: | nobody → Tim Freund (timfreund) |
Fix proposed to branch: master /review. openstack. org/147668
Review: https:/