You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "vivekcloud9559 (via GitHub)" <gi...@apache.org> on 2026/06/24 06:37:31 UTC

[D] Issue while creating the bucket with MINIO in CloudStack 4.22 [cloudstack]

GitHub user vivekcloud9559 created a discussion: Issue while creating the bucket with MINIO in CloudStack 4.22

I have added the object storage for MinIO-

<img width="373" height="543" alt="Image" src="https://github.com/user-attachments/assets/693fe4dc-4a11-4236-940c-bd4aaa6e9f35" />

I have double cheked the details - it's working properly with command line - but when we create bucket it says - 

<img width="562" height="207" alt="Image" src="https://github.com/user-attachments/assets/6a918bfd-a97b-42c7-8f81-1722ebc71d0d" />

I have checked the global setting as well for default region, i have changed that too but still the same issue -

<img width="1045" height="179" alt="Image" src="https://github.com/user-attachments/assets/e36545cd-01cc-4072-9ee2-759ee08655b6" />

I have checked the logs as well - 

2026-05-27 11:05:17,570 DEBUG [o.a.c.s.o.BucketApiServiceImpl] (API-Job-Executor-3:[ctx-ff787543, job-4156, ctx-cf6871d1]) (logid:49a54801) Failed to create bucket with name: tesdt123 com.cloud.utils.exception.CloudRuntimeException: The authorization header is malformed; the region is wrong; expecting 'in-north-clt'.
        at org.apache.cloudstack.storage.datastore.driver.MinIOObjectStoreDriverImpl.createBucket(MinIOObjectStoreDriverImpl.java:125)
        at org.apache.cloudstack.storage.object.store.ObjectStoreImpl.createBucket(ObjectStoreImpl.java:115)
        at org.apache.cloudstack.storage.object.BucketApiServiceImpl.createBucket(BucketApiServiceImpl.java:161)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:109)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
        at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
        at com.sun.proxy.$Proxy456.createBucket(Unknown Source)
        at org.apache.cloudstack.api.command.user.bucket.CreateBucketCmd.execute(CreateBucketCmd.java:188)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:698)
        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:646)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: error occurred
ErrorResponse(code = AuthorizationHeaderMalformed, message = The authorization header is malformed; the region is wrong; expecting 'in-north-clt'., bucketName = tesdt123, objectName = null, resource = /tesdt123, requestId = 18B35558C9438766, hostId = dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8)
request={method=PUT, url=https://north.blob.api.cloudtechtiq.in:35718/tesdt123, headers=Host: north.blob.api.cloudtechtiq.in:35718
Accept-Encoding: identity
User-Agent: MinIO (Linux; amd64) minio-java/dev
Content-MD5: 1B2M2Y8AsgTpgAmY7PhCfg==
x-amz-content-sha256: UNSIGNED-PAYLOAD
x-amz-date: 20260527T053517Z
Authorization: ██
}
response={code=400, headers=Server: nginx/1.18.0 (Ubuntu)
Date: Wed, 27 May 2026 05:35:17 GMT
Content-Type: application/xml
Content-Length: 419
Connection: keep-alive
Accept-Ranges: bytes




GitHub link: https://github.com/apache/cloudstack/discussions/13481

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Issue while creating the bucket with MINIO in CloudStack 4.22 [cloudstack]

Posted by "vivekcloud9559 (via GitHub)" <gi...@apache.org>.
GitHub user vivekcloud9559 added a comment to the discussion: Issue while creating the bucket with MINIO in CloudStack 4.22

Hello @abh1sar,

I am using CloudStack 4.22.0.0. I have also tried without setting objectstore.region but it give me same error.

<img width="439" height="173" alt="Image" src="https://github.com/user-attachments/assets/e7c8ba91-a3fb-4ed6-b580-4cf736294c2a" />

<img width="981" height="187" alt="Image" src="https://github.com/user-attachments/assets/a9c3ed3d-2154-4aef-9b03-8e5c8af8076b" />




GitHub link: https://github.com/apache/cloudstack/discussions/13481#discussioncomment-17416817

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Issue while creating the bucket with MINIO in CloudStack 4.22 [cloudstack]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
GitHub user boring-cyborg[bot] added a comment to the discussion: Issue while creating the bucket with MINIO in CloudStack 4.22

Thanks for opening your first issue here! Be sure to follow the issue template!


GitHub link: https://github.com/apache/cloudstack/discussions/13481#discussioncomment-17416815

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Issue while creating the bucket with MINIO in CloudStack 4.22 [cloudstack]

Posted by "vivekcloud9559 (via GitHub)" <gi...@apache.org>.
GitHub user vivekcloud9559 added a comment to the discussion: Issue while creating the bucket with MINIO in CloudStack 4.22

Hello @abh1sar, So it's not the custom build - it's the normal release.

root@CLT-NOIDA-PROD-CS-01:~# dpkg -l | grep "cloudstack"
ii  cloudstack-common                     4.22.0.0-shapeblue0                     all          A common package which contains files which are shared by several CloudStack packages
ii  cloudstack-management                 4.22.0.0-shapeblue0                     all          CloudStack server library
ii  cloudstack-usage                      4.22.0.0-shapeblue0                     all          CloudStack usage monitor
root@CLT-NOIDA-PROD-CS-01:~#


<img width="1502" height="824" alt="Image" src="https://github.com/user-attachments/assets/2c17c5c1-d9e2-4740-a447-d0f03f4ba3c9" />

Can we do something about it ? 



GitHub link: https://github.com/apache/cloudstack/discussions/13481#discussioncomment-17416819

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Issue while creating the bucket with MINIO in CloudStack 4.22 [cloudstack]

Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
GitHub user abh1sar added a comment to the discussion: Issue while creating the bucket with MINIO in CloudStack 4.22

Hi @vivekcloud9559 which 4.22 minor version are you on? I am not seeing `objectstore.region` setting in my env.
What error do you get without setting `objectstore.region`?
Also, can you review https://github.com/apache/cloudstack/issues/11073 - if is solves your issue?

GitHub link: https://github.com/apache/cloudstack/discussions/13481#discussioncomment-17416816

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Issue while creating the bucket with MINIO in CloudStack 4.22 [cloudstack]

Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
GitHub user abh1sar added a comment to the discussion: Issue while creating the bucket with MINIO in CloudStack 4.22

Is this some CloudStack fork or custom build? Because I don't see any such global setting.

<img width="1383" height="922" alt="Image" src="https://github.com/user-attachments/assets/b5b874cd-b402-4391-9c8e-453819966604" />

GitHub link: https://github.com/apache/cloudstack/discussions/13481#discussioncomment-17416818

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Issue while creating the bucket with MINIO in CloudStack 4.22 [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
GitHub user DaanHoogland added a comment to the discussion: Issue while creating the bucket with MINIO in CloudStack 4.22

@vivekcloud9559 , I do not see this setting either and looking in the source for “objectstore.region” yields nothing.

GitHub link: https://github.com/apache/cloudstack/discussions/13481#discussioncomment-17416844

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org