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

[managed-openshift/ibmcloud] Error when running 'terraform apply' #76

Closed
ronanb3 opened this issue Jun 22, 2021 · 1 comment
Closed
Assignees

Comments

@ronanb3
Copy link

ronanb3 commented Jun 22, 2021

I always have this error when running 'terraform apply'

I run 'terraform apply' again and it works fine.

Error: Error Getting Subnet (02b7-cd6365b1-8117-4f60-b89d-4e3fe0d6a7de): provided token is invalid or expired
{
    "StatusCode": 401,
    "Headers": {
        "Cache-Control": [
            "max-age=0, no-cache, no-store, must-revalidate"
        ],
        "Cf-Cache-Status": [
            "DYNAMIC"
        ],
        "Cf-Ray": [
            "663405b15cd2d6c5-FRA"
        ],
        "Cf-Request-Id": [
            "0ad461e2d50000d6c5cf8d4000000001"
        ],
        "Connection": [
            "keep-alive"
        ],
        "Content-Length": [
            "134"
        ],
        "Content-Type": [
            "application/json; charset=utf-8"
        ],
        "Date": [
            "Tue, 22 Jun 2021 08:14:17 GMT"
        ],
        "Expect-Ct": [
            "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""
        ],
        "Expires": [
            "-1"
        ],
        "Pragma": [
            "no-cache"
        ],
        "Server": [
            "cloudflare"
        ],
        "Strict-Transport-Security": [
            "max-age=31536000; includeSubDomains"
        ],
        "Vary": [
            "Accept-Encoding"
        ],
        "X-Content-Type-Options": [
            "nosniff"
        ],
        "X-Request-Id": [
            "613e6d0d-3999-4f72-a34b-3ba71d08b42c"
        ],
        "X-Xss-Protection": [
            "1; mode=block"
        ]
    },
    "Result": {
        "errors": [
            {
                "code": "not_authorized",
                "message": "provided token is invalid or expired"
            }
        ],
        "trace": "613e6d0d-3999-4f72-a34b-3ba71d08b42c"
    },
    "RawResult": null
}                         


  on portworx/portworx.tf line 21, in data "ibm_is_subnet" "this":
  21: data "ibm_is_subnet" "this" {



Error: Error updating database user (portworxuser) entry: Request failed with status code: 403, ServerErrorResponse: {"errors":"forbidden"}

  on portworx/portworx.tf line 90, in resource "ibm_database" "etcd":
  90: resource "ibm_database" "etcd" {

@ronanb3 ronanb3 changed the title Error when running 'terraform apply' [managed-openshift/ibmcloud] Error when running 'terraform apply' Jun 22, 2021
@praveshcompiles praveshcompiles self-assigned this Jul 14, 2021
@prsahoo
Copy link
Contributor

prsahoo commented Jul 22, 2022

We dont see this issue anymore with the latest refreshed scripts. Creation of Cloud Pak for Data cluster on IBM Cloud using Portworx storage is successful. Closing this issue. Please re-open if you hit it again. Thank you.

@prsahoo prsahoo closed this as completed Jul 22, 2022
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

No branches or pull requests

3 participants