Issue #16157 has been reported by Rahul Gopinath.

----------------------------------------
Bug #16157: solaris zpool does not know how to handle mirroring or raidz with 
multiple disks.
https://projects.puppetlabs.com/issues/16157

Author: Rahul Gopinath
Status: Accepted
Priority: Normal
Assignee: Rahul Gopinath
Category: Solaris
Target version: 3.x
Affected Puppet version: 0.22.1
Keywords: 
Branch: 


The command

    ./ext/envpuppet puppet apply -e "zpool{ mypool: ensure=>present, 
raidz=>['$(pwd)/dsk1','$(pwd)/dsk2', '$(pwd)/dsk3'] }"

     Error: /Stage[main]//Zpool[mypool]/ensure: change from absent to present 
failed: Execution of '/sbin/zpool create mypool raidz1 
/home/rahul/src/puppet/dsk1 raidz1 /home/rahul/src/puppet/dsk2 raidz1 
/home/rahul/src/puppet/dsk3' returned 1: invalid vdev specification: raidz1 
requires at least 2 devices

Fails because puppet is trying to run

    zpool create mypool raidz dsk1 raidz dsk2 raidz dsk3 

rather than

    zpool create mypool raidz dsk1 dsk2 dsk3 



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to