MallocArray / obico-oraclecloud

Self Hosted Obico server on Oracle Cloud Free Tier
53 stars 3 forks source link

Missing "namespace" argument #11

Closed sabaatworld closed 1 year ago

sabaatworld commented 1 year ago

I'm seeing the following error when launching the stack. Can you please help me figure it out?

Error: Missing required argument
  with oci_objectstorage_preauthrequest.obico_backup_preauthenticated_request,
  on storage.tf line 11, in resource "oci_objectstorage_preauthrequest" "obico_backup_preauthenticated_request" 
  11:     namespace = "${data.oci_objectstorage_namespace.objectstorage_namespace.namespace}"
The argument "namespace" is required, but no definition was found. 
MallocArray commented 1 year ago

In Oracle Cloud under Menu>Developer Services>Resource Manager>Stacks>and selecting your Obico stack, if you click on the link for "Variables" on the left side under Resources, do you have anything under compartment_ocid? It should have been automatically filled in when creating the stack and in my case, matches the tenancy_ocid value as well.
The stack uses this value to look up namespace your bucket is created in.

Actually, I should ask, did you create the bucket in Step 3 of the Configuration? If it is missing, that could also cause an error.

siyu6974 commented 1 year ago

I'm also having this issue after I encountered the out of capacity error and I was modifying the stack region to another

siyu6974 commented 1 year ago

Same error if I create a new stack with a region different from my home region.

sabaatworld commented 1 year ago

I was also trying the same thing and probably that is why I was seeing this issue. Are there any workarounds for this?

siyu6974 commented 1 year ago

We are kinda stuck here cuz with free tier we can't change change the home region. I guess we have to try again later. I'm setting up this to do the dirty work. Have to say, oracle cloud sucks

MallocArray commented 1 year ago

So sounds like a capacity issue with your Oracle reigon which is a bummer, but I believe that means the Stack configuration is still valid