Re: [I] Registry 404 error - failed to │ retrieve authentication checksums for provider [cloudstack-terraform-provider]

2024-03-04 Thread via GitHub


kiranchavala commented on issue #29:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/29#issuecomment-1978067391

   @synergiator are you still facing the issue, can i go ahead and close the 
issue if its resolved 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] cannot unmarshal object into Go struct field RegisterTemplateResponse.template of type string [cloudstack-terraform-provider]

2024-03-04 Thread via GitHub


kiranchavala closed issue #47: cannot unmarshal object into Go struct field 
RegisterTemplateResponse.template of type string
URL: https://github.com/apache/cloudstack-terraform-provider/issues/47


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] cannot unmarshal object into Go struct field RegisterTemplateResponse.template of type string [cloudstack-terraform-provider]

2024-03-04 Thread via GitHub


kiranchavala commented on issue #47:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/47#issuecomment-1978057738

   Thanks @ccycv  Closing the issue as its resolved


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PROPOSE] RM for Cloudstack Terraform Provider

2024-03-04 Thread Rohit Yadav
Thanks for stepping up and sharing your plan.

Regards.
 



From: Suresh Kumar Anaparti 
Sent: Monday, March 4, 2024 5:36:55 PM
To: us...@cloudstack.apache.org 
Cc: dev@cloudstack.apache.org 
Subject: Re: [PROPOSE] RM for Cloudstack Terraform Provider

+1, on the timelines.

Nice to see terraform provider release after a long time, thanks for
volunteering Kiran!

Regards,
Suresh

On Mon, Mar 4, 2024 at 5:30 PM Kiran Chavala 
wrote:

> Hi All,
>
> Greetings
>
> I'd like to propose and put myself forward as the release manager for
> v0.5.0 release of  cloudstack-terraform-provider(
> https://github.com/apache/cloudstack-terraform-provider)  if no
> objections are there.
>
>
> Since the last release of the cloudstack-terraform-provider (v0.4.0) was
> in 2022. I am proposing to have the v0.5.0 as a quicker release.
>
>
> I am also proposing the keep the scope of v0.5 release minimal and it
> should only contain minor improvements and bug fixes
>
>
> Regarding timeline for the v0.5.0 release, I am targeting it by March 25th
> 2024.
>
> We can have a alpha release of v0.5.0 by March 18th 2024 which allows the
> community users to test and report any issues.
>
>
> After the v0.5 release we can spend some more time on adding new features
> and improvements to the cloudstack-terraform-provider and do a proper
> release of v0.6.0 in the coming months
>
>
> Please ping me (@kiranchavala) on GitHub, in case you want to include any
> Issue/PR in the v0.5.0 release.
>
> Please let me know if you have any thoughts/comments.
>
>
>
> [1]
> https://github.com/apache/cloudstack-terraform-provider/compare/v0.4.0...main
>
> [2] https://github.com/apache/cloudstack-terraform-provider/milestone/2
>
> [3] https://github.com/apache/cloudstack-terraform-provider/issues
>
>
>
>
>
> Regards
> Kiran
>
>
>
>


Re: [PROPOSE] RM for Cloudstack Terraform Provider

2024-03-04 Thread Suresh Kumar Anaparti
+1, on the timelines.

Nice to see terraform provider release after a long time, thanks for
volunteering Kiran!

Regards,
Suresh

On Mon, Mar 4, 2024 at 5:30 PM Kiran Chavala 
wrote:

> Hi All,
>
> Greetings
>
> I'd like to propose and put myself forward as the release manager for
> v0.5.0 release of  cloudstack-terraform-provider(
> https://github.com/apache/cloudstack-terraform-provider)  if no
> objections are there.
>
>
> Since the last release of the cloudstack-terraform-provider (v0.4.0) was
> in 2022. I am proposing to have the v0.5.0 as a quicker release.
>
>
> I am also proposing the keep the scope of v0.5 release minimal and it
> should only contain minor improvements and bug fixes
>
>
> Regarding timeline for the v0.5.0 release, I am targeting it by March 25th
> 2024.
>
> We can have a alpha release of v0.5.0 by March 18th 2024 which allows the
> community users to test and report any issues.
>
>
> After the v0.5 release we can spend some more time on adding new features
> and improvements to the cloudstack-terraform-provider and do a proper
> release of v0.6.0 in the coming months
>
>
> Please ping me (@kiranchavala) on GitHub, in case you want to include any
> Issue/PR in the v0.5.0 release.
>
> Please let me know if you have any thoughts/comments.
>
>
>
> [1]
> https://github.com/apache/cloudstack-terraform-provider/compare/v0.4.0...main
>
> [2] https://github.com/apache/cloudstack-terraform-provider/milestone/2
>
> [3] https://github.com/apache/cloudstack-terraform-provider/issues
>
>
>
>
>
> Regards
> Kiran
>
>
>
>


Re: [I] Improvement issue for AutoScale VM Groups with Terraform. [cloudstack-terraform-provider]

2024-03-04 Thread via GitHub


btzq commented on issue #75:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/75#issuecomment-1976429789

   GOOD! Someone raised this as a feature request!
   
   Right now in our environment, we provision the infra with terraform, and 
deploy our apps with ansible. 
   
   The pain point right now is that we have to:
   - Spin up a temporary VM
   - Deploy app to VM
   - Convert to template
   - Destroy VM
   - Create Autoscale Group with Template
   
   This whole process if pretty manual and prone to human error. 
   Could i request for this terraform enhancement to somehow automated this 
process? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PROPOSE] RM for Cloudstack Terraform Provider

2024-03-04 Thread Kiran Chavala
Hi All,

Greetings

I'd like to propose and put myself forward as the release manager for v0.5.0 
release of  
cloudstack-terraform-provider(https://github.com/apache/cloudstack-terraform-provider)
  if no objections are there.


Since the last release of the cloudstack-terraform-provider (v0.4.0) was in 
2022. I am proposing to have the v0.5.0 as a quicker release.


I am also proposing the keep the scope of v0.5 release minimal and it should 
only contain minor improvements and bug fixes


Regarding timeline for the v0.5.0 release, I am targeting it by March 25th 2024.

We can have a alpha release of v0.5.0 by March 18th 2024 which allows the 
community users to test and report any issues.


After the v0.5 release we can spend some more time on adding new features and 
improvements to the cloudstack-terraform-provider and do a proper release of 
v0.6.0 in the coming months


Please ping me (@kiranchavala) on GitHub, in case you want to include any 
Issue/PR in the v0.5.0 release.

Please let me know if you have any thoughts/comments.



[1] 
https://github.com/apache/cloudstack-terraform-provider/compare/v0.4.0...main

[2] https://github.com/apache/cloudstack-terraform-provider/milestone/2

[3] https://github.com/apache/cloudstack-terraform-provider/issues





Regards
Kiran

 



Re: [PR] Improves service offering resource [cloudstack-terraform-provider]

2024-03-04 Thread via GitHub


fabiomatavelli commented on code in PR #64:
URL: 
https://github.com/apache/cloudstack-terraform-provider/pull/64#discussion_r1510994351


##
.github/workflows/testacc.yml:
##
@@ -0,0 +1,79 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Acceptance Test
+
+on: [push, pull_request]
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
github.ref }}-testacc
+  cancel-in-progress: true
+
+jobs:
+  testacc:
+name: Acceptance Test
+runs-on: ubuntu-22.04
+env:
+  CLOUDSTACK_API_URL: http://localhost:8080/client/api
+steps:
+  - uses: actions/checkout@v3
+  - name: Set up Go
+uses: actions/setup-go@v3
+with:
+  go-version: 1.19.x
+  - name: Wait Cloudstack to be ready
+run: |
+  echo "Starting Cloudstack health check"
+  T=0
+  until [ $T -gt 20 ]  || curl -sfL http://localhost:8080 --output 
/dev/null
+  do
+echo "Waiting for Cloudstack to be ready..."
+((T+=1))
+sleep 30
+  done
+  - name: Setting up Cloudstack
+run: |
+  docker exec $(docker container ls --format=json -l | jq -r .ID) 
python /root/tools/marvin/marvin/deployDataCenter.py -i 
/root/setup/dev/advanced.cfg
+  curl -sf --location "${CLOUDSTACK_API_URL}" \
+--header 'Content-Type: application/x-www-form-urlencoded' \
+--data-urlencode 'command=login' \
+--data-urlencode 'username=admin' \
+--data-urlencode 'password=password' \
+--data-urlencode 'response=json' \
+--data-urlencode 'domain=/' -j -c cookies.txt --output /dev/null
+  CLOUDSTACK_USER_ID=$(curl -fs 
"${CLOUDSTACK_API_URL}?command=listUsers=json" -b cookies.txt | jq -r 
'.listusersresponse.user[0].id')
+  CLOUDSTACK_API_KEY=$(curl -s 
"${CLOUDSTACK_API_URL}?command=getUserKeys=${CLOUDSTACK_USER_ID}=json"
 -b cookies.txt | jq -r '.getuserkeysresponse.userkeys.apikey')
+  CLOUDSTACK_SECRET_KEY=$(curl -fs 
"${CLOUDSTACK_API_URL}?command=getUserKeys=${CLOUDSTACK_USER_ID}=json"
 -b cookies.txt | jq -r '.getuserkeysresponse.userkeys.secretkey')
+
+  echo "::add-mask::$CLOUDSTACK_API_KEY"
+  echo "::add-mask::$CLOUDSTACK_SECRET_KEY"
+
+  echo "CLOUDSTACK_API_KEY=$CLOUDSTACK_API_KEY" >> $GITHUB_ENV
+  echo "CLOUDSTACK_SECRET_KEY=$CLOUDSTACK_SECRET_KEY" >> $GITHUB_ENV

Review Comment:
   @vishesh92 I've added the CMK to the CI so extra resources can be added. But 
there are still issues with other resources.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] add api call createConsoleEndpoint [cloudstack-go]

2024-03-04 Thread via GitHub


sbrueseke commented on PR #78:
URL: https://github.com/apache/cloudstack-go/pull/78#issuecomment-1976323997

   @weizhouapache @rohityadavcloud can you please review this PR?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] restore methods with 4.19 optional API params [cloudstack-go]

2024-03-04 Thread via GitHub


weizhouapache commented on PR #77:
URL: https://github.com/apache/cloudstack-go/pull/77#issuecomment-1976309995

   
   > Another alternative approach I can think of is generating multiple modules 
as per the ACS version. Every release of cloudstack-go will have multiple 
modules for different ACS versions which are being supported at the time. (e.g. 
4.18, 4.19, etc.). We can ignore minor version for this and ensure that we are 
backward compatible for all major versions. This would still require a code 
change, but can be easily done my a simple "Find & Replace" of the module.
   > 
   > e.g. `"github.com/apache/cloudstack-go/v2/cloudstack"` will need to be 
replaced with `"github.com/apache/cloudstack-go/v2/cloudstack/4.19"`
   
   @vishesh92 
   good opinion :thumbsup:


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] restore methods with 4.19 optional API params [cloudstack-go]

2024-03-04 Thread via GitHub


vishesh92 commented on PR #77:
URL: https://github.com/apache/cloudstack-go/pull/77#issuecomment-1976261911

   If someone upgrades their cloudstack-go SDK and builds their project, the 
build will fail only if some method which is now changed is being used. Any 
good IDE should be able to list down the parts of code where a change needs to 
be done.
   
   IMO, we should mention the methods in the release notes instead of ensuring 
backward compatibility for cloudstack-go. 
   
   Another alternative approach I can think of is generating multiple modules 
as per the ACS version. Every release of cloudstack-go will have multiple 
modules for different ACS versions which are being supported at the time. (e.g. 
4.18, 4.19, etc.). We can ignore minor version for this and ensure that we are 
backward compatible for all major versions. This would still require a code 
change, but can be easily done my a simple "Find & Replace" of the module.
   
   e.g. `"github.com/apache/cloudstack-go/v2/cloudstack"` will need to be 
replaced with `"github.com/apache/cloudstack-go/v2/cloudstack/4.19"`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Improves service offering resource [cloudstack-terraform-provider]

2024-03-04 Thread via GitHub


vishesh92 commented on code in PR #64:
URL: 
https://github.com/apache/cloudstack-terraform-provider/pull/64#discussion_r1510811590


##
.github/workflows/testacc.yml:
##
@@ -0,0 +1,79 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Acceptance Test
+
+on: [push, pull_request]
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
github.ref }}-testacc
+  cancel-in-progress: true
+
+jobs:
+  testacc:
+name: Acceptance Test
+runs-on: ubuntu-22.04
+env:
+  CLOUDSTACK_API_URL: http://localhost:8080/client/api
+steps:
+  - uses: actions/checkout@v3
+  - name: Set up Go
+uses: actions/setup-go@v3
+with:
+  go-version: 1.19.x
+  - name: Wait Cloudstack to be ready
+run: |
+  echo "Starting Cloudstack health check"
+  T=0
+  until [ $T -gt 20 ]  || curl -sfL http://localhost:8080 --output 
/dev/null
+  do
+echo "Waiting for Cloudstack to be ready..."
+((T+=1))
+sleep 30
+  done
+  - name: Setting up Cloudstack
+run: |
+  docker exec $(docker container ls --format=json -l | jq -r .ID) 
python /root/tools/marvin/marvin/deployDataCenter.py -i 
/root/setup/dev/advanced.cfg
+  curl -sf --location "${CLOUDSTACK_API_URL}" \
+--header 'Content-Type: application/x-www-form-urlencoded' \
+--data-urlencode 'command=login' \
+--data-urlencode 'username=admin' \
+--data-urlencode 'password=password' \
+--data-urlencode 'response=json' \
+--data-urlencode 'domain=/' -j -c cookies.txt --output /dev/null
+  CLOUDSTACK_USER_ID=$(curl -fs 
"${CLOUDSTACK_API_URL}?command=listUsers=json" -b cookies.txt | jq -r 
'.listusersresponse.user[0].id')
+  CLOUDSTACK_API_KEY=$(curl -s 
"${CLOUDSTACK_API_URL}?command=getUserKeys=${CLOUDSTACK_USER_ID}=json"
 -b cookies.txt | jq -r '.getuserkeysresponse.userkeys.apikey')
+  CLOUDSTACK_SECRET_KEY=$(curl -fs 
"${CLOUDSTACK_API_URL}?command=getUserKeys=${CLOUDSTACK_USER_ID}=json"
 -b cookies.txt | jq -r '.getuserkeysresponse.userkeys.secretkey')
+
+  echo "::add-mask::$CLOUDSTACK_API_KEY"
+  echo "::add-mask::$CLOUDSTACK_SECRET_KEY"
+
+  echo "CLOUDSTACK_API_KEY=$CLOUDSTACK_API_KEY" >> $GITHUB_ENV
+  echo "CLOUDSTACK_SECRET_KEY=$CLOUDSTACK_SECRET_KEY" >> $GITHUB_ENV

Review Comment:
   @fabiomatavelli Tests for projects are failing. You also need to create a 
project named "terraform" for all acceptance tests to pass.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



AW: CSEUG - September, Germany

2024-03-04 Thread S . Brüseke - proIO GmbH
Hi Ivet,

I would love to do a talk at this event. This time a technical one instead of a 
user story if this makes sense.

Regards,
Swen

-Ursprüngliche Nachricht-
Von: Ivet Petrova  
Gesendet: Mittwoch, 28. Februar 2024 16:29
An: dev ; us...@cloudstack.apache.org
Cc: Apache CloudStack Marketing 
Betreff: CSEUG - September, Germany

Hi all,

I would like to propose to organise the CSEUG next meeting on September 12th in 
Germany.
I already had a few informal conversations with community members in Germany, 
who are willing to help.
Do you all think the date is OK and we can meet there?

I consider the usual formal of half day talks and will need 5-6 speakers on 
place.

Best regards,


 



- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet. 

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail in error) 
please notify 
the sender immediately and destroy this e-mail.  
Any unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.