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

Unable to create new f5_sslkey or f5_sslcertificate due to missing /tmp/*** directory structure #38

Open
jcwarp opened this issue Jun 6, 2018 · 4 comments
Labels

Comments

@jcwarp
Copy link

jcwarp commented Jun 6, 2018

Error: Could not set 'present' on ensure: REST failure: HTTP status code 400 detected. Body of failure is: {"code":400,"message":"Unable to copy (/etc/ssl/certs/company.com.chain) into tempfile (/var/system/tmp/tmsh/5WhAFq/company.com.chain), No such file or directory","errorStack":[],"apiError":26214401} at /etc/puppetlabs/code/environments/production/site/dm/manifests/f5_config.pp:62
Error: Could not set 'present' on ensure: REST failure: HTTP status code 400 detected. Body of failure is: {"code":400,"message":"Unable to copy (/etc/ssl/certs/company.com.chain) into tempfile (/var/system/tmp/tmsh/5WhAFq/company.com.chain), No such file or directory","errorStack":[],"apiError":26214401} at /etc/puppetlabs/code/environments/production/site/dm/manifests/f5_config.pp:62
Wrapped exception:
REST failure: HTTP status code 400 detected. Body of failure is: {"code":400,"message":"Unable to copy (/etc/ssl/certs/company.com.chain) into tempfile (/var/system/tmp/tmsh/5WhAFq/company.com.chain), No such file or directory","errorStack":[],"apiError":26214401}

@scshitole scshitole added the bug label Nov 8, 2018
@scshitole
Copy link
Member

@jcwarp just checking you were trying to use

f5_sslcertificate { '/Common/sslcertificate':
    certificate_name  => "test",
    from_local_file => "/var/tmp/test.crt",
}

@jcwarp
Copy link
Author

jcwarp commented Nov 8, 2018

Yes, that is basically it.

@frankmundt
Copy link

I am getting the same error and I'm using version 1.9.0 of the puppet module.

@frankmundt
Copy link

What is the minimum version of the F5 that is needed to support the SSL Key and Certificate upload?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants