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

Issue with Linux provider using oci_identity_users{} - works on Windows provider #277

Closed
richlewis469 opened this issue Sep 29, 2017 · 5 comments

Comments

@richlewis469
Copy link

Terraform Version

# Run this command to get the terraform version: $ terraform -v Terraform v0.10.6

OCI Provider Version

# Execute the plugin directly to get the version: $ \/terraform-provider-oci 2017/09/29 16:12:38 [INFO] terraform-provider-oci 2.0.1 This binary is a plugin. These are not meant to be executed directly. Please execute the program that consumes these plugins, which will load any plugins automatically

Description:

Include a description with repro steps, expected result and actual result

Executing Terraform oci_identity_users{} on Windows Provider returns correct result, executing on Linux causes a SIGSEGV and crashes Terraform.

Terraform Plan

A self-contained terraform file that reproduces the issue. If this is not provided, your ticket may be closed. See Attachments

oci_identity_users-crash.tar.gz

crash.log

windows capture

linux-capture.txt

Signed-off-by: Rich Lewis [email protected]

@codycushing
Copy link
Contributor

Just to rule out the obvious here, which plugin binaries are you using per os/arch?

@richlewis469
Copy link
Author

Windows/amd64 - Terraform v0.10.6
Windows/amd64 - terraform-provider-oci_v2.0.0

Linux/amd64 - Terraform v0.10.6
Linux/amd64 - terraform-provider-oci 2.0.0

I can provide the test case as a Vagrant automated image if that would help.

@briangustafson
Copy link
Member

I tried running the plan on the latest OCI Oracle Linux 7.4 image, and it works there. So it would be helpful if you could provide the specific OS or image that is used.

briangustafson added a commit that referenced this issue Oct 12, 2017
Merges a change from the SDK, which is an attempt to track down issues such as #277.
briangustafson added a commit that referenced this issue Oct 12, 2017
Merges a change from the SDK, which is an attempt to track down issues such as #277.
@codycushing
Copy link
Contributor

Hi there, if you can repro this with build v2.0.2 running in debug mode and provide the output it will help us investigate. Be sure to cleanse any sensitive data present in the output.

Example debug command:
$ DEBUG=true TF_LOG=DEBUG terraform apply

@richlewis469
Copy link
Author

OK, performed more debuging. Pinned issue down to the way Windows uses TYPE to pull values from fingerprint file versus Linux using CAT. Used direct value instead of reading from file in the environment variables, and it worked correctly. Closing Issue, as OS Specific Behavior.

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

No branches or pull requests

3 participants