Comments (10)
Hello @virain
Sorry for the long long delay due to no notifications.
Is this happen now?
from packer-plugin-tencentcloud.
Hello @likexian
I'm not sure. It took too long. I forgot the problem
from packer-plugin-tencentcloud.
Hello @virain
I am sorry about that, I have try create a image and confirm it works.
If you still have any problems, please post it here.
from packer-plugin-tencentcloud.
@likexian Now the same problem occurs again. This time, after packaging multiple images successfully, the error invalidinstanceid.notfound occurs again. It seems that CVM was not created successfully, packer could not get the instance, and I could not see the creation of CVM from Tencent cloud console.Does the API have restrictions on creating CVMs, which makes it impossible to create CVMs after creating a certain number of CVMs?
==> tencentcloud-cvm.tencentcloud: Trying to create a new instance...
==> tencentcloud-cvm.tencentcloud: Trying to create a new instance...
tencentcloud-cvm.tencentcloud: Subnet found: default
==> tencentcloud-cvm.tencentcloud: Trying to use existing securitygroup: sg-ni4d1vkh...
tencentcloud-cvm.tencentcloud: Subnet found: default
==> tencentcloud-cvm.tencentcloud: Trying to use existing securitygroup: sg-ni4d1vkh...
tencentcloud-cvm.tencentcloud: Waiting for instance ready
tencentcloud-cvm.tencentcloud: Waiting for instance ready
tencentcloud-cvm.tencentcloud: Securitygroup found: default
2021/11/13 14:32:35 packer-builder-tencentcloud-cvm plugin: 2021/11/13 14:32:35 step_run_instance.go:198: [DEBUG]getUserData: user_data:
==> tencentcloud-cvm.tencentcloud: Trying to create a new instance...
tencentcloud-cvm.tencentcloud: Securitygroup found: default
2021/11/13 14:32:36 packer-builder-tencentcloud-cvm plugin: 2021/11/13 14:32:36 step_run_instance.go:198: [DEBUG]getUserData: user_data:
==> tencentcloud-cvm.tencentcloud: Trying to create a new instance...
tencentcloud-cvm.tencentcloud: Waiting for instance ready
tencentcloud-cvm.tencentcloud: Waiting for instance ready
==> tencentcloud-cvm.tencentcloud: Failed to wait for instance ready: instance(ins-lf982wdg) not exist
==> tencentcloud-cvm.tencentcloud: Deleting instance because of error...
==> tencentcloud-cvm.tencentcloud: Failed to wait for instance ready: instance(ins-qfv552ci) not exist
==> tencentcloud-cvm.tencentcloud: Deleting instance because of error...
==> tencentcloud-cvm.tencentcloud: Failed to wait for instance ready: instance(ins-dxj5drnm) not exist
==> tencentcloud-cvm.tencentcloud: Deleting instance because of error...
==> tencentcloud-cvm.tencentcloud: Failed to terminate instance(ins-lf982wdg), please delete it manually: [TencentCloudSDKError] Code=InvalidInstanceId.NotFound, Message=The specified instance ID `['ins-lf982wdg']` is not found., RequestId=a8ff558e-7a6f-47ad-818e-f95a43f0fc08
2021/11/13 14:32:36 [INFO] (telemetry) ending tencentcloud-cvm.tencentcloud
Build 'tencentcloud-cvm.tencentcloud' errored after 2 seconds 462 milliseconds: instance(ins-lf982wdg) not exist
2021/11/13 14:32:36 [INFO] (telemetry) ending tencentcloud-cvm.tencentcloud
==> tencentcloud-cvm.tencentcloud: Failed to terminate instance(ins-qfv552ci), please delete it manually: [TencentCloudSDKError] Code=InvalidInstanceId.NotFound, Message=The specified instance ID `['ins-qfv552ci']` is not found., RequestId=f0abe63c-1399-4ad9-bfd4-6b025769923e
Build 'tencentcloud-cvm.tencentcloud' errored after 2 seconds 477 milliseconds: instance(ins-qfv552ci) not exist
==> tencentcloud-cvm.tencentcloud: Failed to wait for instance ready: instance(ins-m5qgd6km) not exist
==> tencentcloud-cvm.tencentcloud: Deleting instance because of error...
2021/11/13 14:32:36 [INFO] (telemetry) ending tencentcloud-cvm.tencentcloud
==> tencentcloud-cvm.tencentcloud: Failed to terminate instance(ins-dxj5drnm), please delete it manually: [TencentCloudSDKError] Code=InvalidInstanceId.NotFound, Message=The specified instance ID `['ins-dxj5drnm']` is not found., RequestId=e2be99c0-2f7a-4beb-819b-458687f00c5d
Build 'tencentcloud-cvm.tencentcloud' errored after 2 seconds 650 milliseconds: instance(ins-dxj5drnm) not exist
==> tencentcloud-cvm.tencentcloud: Failed to terminate instance(ins-m5qgd6km), please delete it manually: [TencentCloudSDKError] Code=InvalidInstanceId.NotFound, Message=The specified instance ID `['ins-m5qgd6km']` is not found., RequestId=2dcd4b8f-a9d4-4d27-9829-dc3c5bc2575a
2021/11/13 14:32:36 [INFO] (telemetry) ending tencentcloud-cvm.tencentcloud
==> Wait completed after 2 seconds 749 milliseconds
2021/11/13 14:32:36 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2021/11/13 14:32:36 machine readable: tencentcloud-cvm.tencentcloud,error []string{"instance(ins-m5qgd6km) not exist"}
==> Builds finished but no artifacts were created.
2021/11/13 14:32:36 [INFO] (telemetry) Finalizing.
Build 'tencentcloud-cvm.tencentcloud' errored after 2 seconds 749 milliseconds: instance(ins-m5qgd6km) not exist
==> Wait completed after 2 seconds 749 milliseconds
==> Some builds didn't complete successfully and had errors:
--> tencentcloud-cvm.tencentcloud: instance(ins-m5qgd6km) not exist
==> Builds finished but no artifacts were created.
2021/11/13 14:32:38 waiting for all plugin processes to complete...
2021/11/13 14:32:38 /usr/bin/packer: plugin process exited
2021/11/13 14:32:38 /usr/bin/packer: plugin process exited
2021/11/13 14:32:38 /usr/bin/packer: plugin process exited
2021/11/13 14:32:38 /usr/bin/packer: plugin process exited
from packer-plugin-tencentcloud.
@virain not sure if itβs the same issue that I face. Try changing the instance name?
from packer-plugin-tencentcloud.
@virain not sure if itβs the same issue that I face. Try changing the instance name?
Yep,Change the instance name to create
from packer-plugin-tencentcloud.
Yes, try change the instance name, when there are multiple buildings, uses difference instance name.
from packer-plugin-tencentcloud.
@likexian it seems like this issue is safe to close. Please advise if there is any work to do here.
from packer-plugin-tencentcloud.
Hello @nywilken please close.
from packer-plugin-tencentcloud.
Thank you for supporting this issue @likexian closing at your request.
from packer-plugin-tencentcloud.
Related Issues (9)
- ForceStop option is ignored and is always true
- TencentCloudSDKError Code=InvalidPermission, Message=Bandwidth package user does not support the value `TRAFFIC_POSTPAID_BY_HOUR` in the parameter `.InternetAccessible.InternetChargeType` HOT 7
- [TencentCloud] `source_image_name` failed to retrieve source image by name HOT 3
- The url in the github About is wrong HOT 5
- Sao Paulo region is not supported HOT 4
- Does this plugin support Windows? HOT 5
- The force option is no longer working HOT 2
- Find source image by filters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-plugin-tencentcloud.