Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Errno::ENAMETOOLONG: File name too long @ rb_sysopen #123

Open
gaelik opened this issue Jun 1, 2020 · 0 comments
Open

ERROR: Errno::ENAMETOOLONG: File name too long @ rb_sysopen #123

gaelik opened this issue Jun 1, 2020 · 0 comments
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected.

Comments

@gaelik
Copy link

gaelik commented Jun 1, 2020

Version:

knife-tidy (2.0.12)

chef -v

Chef Workstation version: 0.18.3
Chef Infra Client version: 15.10.12
Chef InSpec version: 4.18.111
Chef CLI version: 2.0.10
Test Kitchen version: 2.5.0
Cookstyle version: 6.3.4

Environment:

Linux RHEL 7

Scenario:

Trying to mail the report associated to a tidy run

knife tidy notify -c ~user/.chef/knife.rb --smtp_from user@example.com

Steps to Reproduce:

knife tidy notify -c ~user/.chef/knife.rb --smtp_from user@example.com

Expected Result:

A mail is sent to all admins emails

Actual Result:

knife tidy notify -c ~user/.chef/knife.rb --smtp_from user@example.com

Reading from /reports directory
Fetching report data for organization xxxxx
Parsing file /reports/xxxxx_unused_cookbooks.json
ERROR: Errno::ENAMETOOLONG: File name too long @ rb_sysopen - {
"cookbook_one": [
"0.1.44",
"0.1.45",
"0.1.49",
"0.1.50",
"0.1.51"
],
"cookbook_two": [

@gaelik gaelik added Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected. labels Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

1 participant