nfs icon indicating copy to clipboard operation
nfs copied to clipboard

ERROR: Option network must be one of: required! You passed...

Open sergiuionescu opened this issue 9 years ago • 5 comments

I am getting the following issue: 9: nfs_export "/var/www" do 10>> network '*' 11: writeable true 12: anonuser node['lamp']['share']['user'] 13: anongroup node['lamp']['share']['group'] 14: sync true

    16:  end

...

[2015-10-10T11:41:47+00:00] ERROR: Option network must be one of: required! You passed "*".

Please merge this pull request: https://github.com/atomic-penguin/cookbook-nfs/pull/67

Thanks.

sergiuionescu avatar Oct 10 '15 11:10 sergiuionescu

I just started seeing this too... I am passing a CIDR range in but it is still failing.. Option network must be one of: required! You passed "10.129.0.0/16".

joshzitting avatar Oct 20 '15 17:10 joshzitting

This seems related to #67 being merged in. I hard code to 2.2.5 instead of the latest 2.2.6 and it converges correctly.

amaltson avatar Oct 26 '15 13:10 amaltson

This is a dupe of #67 - 2.2.6 isn't released yet.

CloCkWeRX avatar Oct 26 '15 14:10 CloCkWeRX

@CloCkWeRX 2.2.6 is already released and it seems to work with chef-client 2.5.1 but not lower versions (we're on 2.4.3).

amaltson avatar Oct 26 '15 19:10 amaltson

@amaltson I definitely tested on 12.4.latest (as of 12 days ago) and didn't have any problems with the test. Can you provide some more details about the error you're encountering?

joerocklin avatar Oct 26 '15 19:10 joerocklin