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

Add Oracle cloud provider #6

Merged
merged 3 commits into from
Jun 1, 2021
Merged

Add Oracle cloud provider #6

merged 3 commits into from
Jun 1, 2021

Conversation

dennis-pg
Copy link
Contributor

  • Oracle Cloud Infrastructure detection added
  • The metadata server method used by satellite does not seem consistent, so have kept that as un-implemented for now.
  • OCI uses a similar metadata server address to Azure, and since the Azure metadata check relied on the code to throw an error while hitting the endpoint, it introduced issues in OCI instances. Here, it returned a 404 but did not throw an error. As a result OCI instances were (and still are for current versions of cloud_detect) being detected as Azure instances. So have added code to check response status in the Azure Provider.

Signed-off-by: Dennis P George <dennisgeorge.mec@gmail.com>
Signed-off-by: Dennis P George <dennisgeorge.mec@gmail.com>
Signed-off-by: Dennis P George <dennisgeorge.mec@gmail.com>
@dennis-pg
Copy link
Contributor Author

Failing test is due to the issue mentioned for python 3.4 for tox which will be removed following the move to Github actions PR. Else seems fine @dgzlopes

@dgzlopes dgzlopes merged commit 323fed2 into dgzlopes:master Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants