Daniel Badea 2936d5d568 ceph-disk prepare invalid data disk value
ceph-disk prepare data OSD parameter contains a new line causing
puppet manifest to fail:

1. $data = generate('/bin/bash','-c',"/bin/readlink -f ${name}")

   is expanded together with a new line in:

   exec { $ceph_prepare:
     command   => "/usr/sbin/ceph-disk prepare ${cluster_option}
                    ${cluster_uuid_option} ${uuid_option}
                    --fs-type xfs --zap-disk ${data} ${journal}"

   just before ${journal} is expanded. Puppet reports:

     sh: line 1: : command not found

   when trying to run '' (default journal value).

2. 'readlink' should be called when running ceph-disk prepare
   command, not when the puppet resource is defined. Let
   exec's shell call readlink instead of using puppet's
   generate() . See also:

     ff2b2e6898

Added --verbose and --log-stdout options to log commands executed
by 'ceph-disk prepare' and identify where it fails.

Closes-Bug: 1800889
Change-Id: I6b71147706edb97d5a1e6579924d45b999efe98f
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
2018-10-31 19:55:26 +00:00
2018-09-28 08:10:39 +08:00
2018-09-28 09:01:42 +08:00
2018-10-15 15:09:33 +00:00
2018-10-09 23:07:55 +08:00
2018-09-25 05:43:29 -05:00
2018-09-20 23:20:14 +08:00
2018-10-12 15:07:01 -05:00
2018-10-18 21:15:57 +08:00
2018-05-31 07:36:35 -07:00
2018-10-24 10:07:45 -05:00

stx-integ

StarlingX Integration

Description
StarlingX Integration and packaging
Readme 52 MiB
Languages
Shell 33.2%
JavaScript 23.8%
Perl 14.2%
Python 10.2%
Makefile 7.1%
Other 11.4%