You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first time installing Cloudblock using OCI Free tier. Thanks for putting this detailed project out, it is very instructive =)
During terraform apply -var-file="oci.tfvars" I got stumped by the following error:
[...]
oci_kms_key.ph-kms-storage-key: Creating...
oci_kms_key.ph-kms-disk-key: Creating...
╷
│ Error: Post "https://h5sxwhf3aagdk-management.kms.eu-paris-1.oci.oraclecloud.com/20180608/keys": dial tcp: lookup h5sxwhf3aagdk-management.kms.eu-paris-1.oci.oraclecloud.com on 127.0.0.11:53: no such host
│
│ with oci_kms_key.ph-kms-storage-key,
│ on oci-kms.tf line 7, in resource "oci_kms_key" "ph-kms-storage-key":
│ 7: resource "oci_kms_key" "ph-kms-storage-key" {
│
╵
╷
│ Error: Post "https://h5sxwhfvaacx2-management.kms.eu-paris-1.oci.oraclecloud.com/20180608/keys": dial tcp: lookup h5sxwhfvaacx2-management.kms.eu-paris-1.oci.oraclecloud.com on 127.0.0.11:53: no such host
│
│ with oci_kms_key.ph-kms-disk-key,
│ on oci-kms.tf line 30, in resource "oci_kms_key" "ph-kms-disk-key":
│ 30: resource "oci_kms_key" "ph-kms-disk-key" {
│
╵
When I clicked on the URL, my browser opened to the following content:
{
"code" : "NotAuthenticated",
"message" : "The required information to complete authentication was not provided or was incorrect."
}
I tried to relaunch the same terraform apply -var-file="oci.tfvars" command, but obtained the same errors.
At first I thought it was because I was using the Cloud Shell which was not part of your instructions (but is a great way to skip installing terraform/oci-cli/ansible btw), so I terraform destroy from the Cloud Shell and then tried it from my local machine.
However it failed with a similar error, although only one this time:
╷
│ Error: Post "https://h5sxwky2aaa3c-management.kms.eu-paris-1.oci.oraclecloud.com/20180608/keys": dial tcp: lookup h5sxwky2aaa3c-management.kms.eu-paris-1.oci.oraclecloud.com on 1.1.1.1:53: no such host
│
│ with oci_kms_key.ph-kms-disk-key,
│ on oci-kms.tf line 30, in resource "oci_kms_key" "ph-kms-disk-key":
│ 30: resource "oci_kms_key" "ph-kms-disk-key" {
│
╵
So I started writing up an issue on GH, a few minutes passed and right before submitting the issue I tried to relaunch the terraform apply command. And this time it worked!
So for anyone having the same issue: just wait a few minutes for the kms/vault thingy to be initialized, and then retry with the same command!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, first time installing Cloudblock using OCI Free tier. Thanks for putting this detailed project out, it is very instructive =)
During
terraform apply -var-file="oci.tfvars"
I got stumped by the following error:When I clicked on the URL, my browser opened to the following content:
I tried to relaunch the same
terraform apply -var-file="oci.tfvars"
command, but obtained the same errors.At first I thought it was because I was using the Cloud Shell which was not part of your instructions (but is a great way to skip installing terraform/oci-cli/ansible btw), so I
terraform destroy
from the Cloud Shell and then tried it from my local machine.However it failed with a similar error, although only one this time:
So I started writing up an issue on GH, a few minutes passed and right before submitting the issue I tried to relaunch the
terraform apply
command. And this time it worked!So for anyone having the same issue: just wait a few minutes for the kms/vault thingy to be initialized, and then retry with the same command!
Hope it will come in handy for some.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions