Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

while running terraform plan its showing "provider.matchbox: no PEM certificates were parsed" #2923

Open
srihithasri opened this issue Feb 9, 2018 · 5 comments

Comments

@srihithasri
Copy link

Versions

Tectonic version (release or commit hash):

tectonic_1.8.4-tectonic.3

Terraform version (terraform version):

Terraform v0.10.7

Platform (aws|azure|openstack|metal|vmware):

metak

What happened?

while running terraform plan i am getting this issue "Error running plan: 1 error(s) occurred:

* provider.matchbox: no PEM certificates were parsed'
 even though i gave proper certificates

What you expected to happen?

terraform should run and able to pwoer on nodes

How to reproduce it (as minimally and precisely as possible)?

regenrated correct keys and even tried using pem format but still not working

Anything else we need to know?

enter text here

References

https://coreos.com/tectonic/docs/latest/install/bare-metal/metal-terraform.html

Feature Request

Environment

enter text here

Desired Feature

enter text here

Other Information

enter text here
@srihithasri
Copy link
Author

inorder to update terraform version how can i do it in coreos since i didnt find any command to update according to document

@robszumski
Copy link
Member

Terraform is included with the Installer. It is added to your path as part of:

$ export PATH=$(pwd)/tectonic-installer/darwin:$PATH

Can you share how you generated or validated your certificates?

@srihithasri
Copy link
Author

srihithasri commented Feb 10, 2018 via email

@pmb311
Copy link

pmb311 commented May 14, 2018

This happened to me when I forgot to include the path to the platform in the command.

It worked when I did the following:
terraform plan -var-file=path/to/terraform.tfvars platforms/metal

@13567436138
Copy link

I got the same error,and you method didnot solve the problem

  • provider.matchbox: failed to create Matchbox client or connect to matchbox.example.com:8081: tls: failed to find any PEM data in certificate input

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

No branches or pull requests

5 participants