Git Product home page Git Product logo

Comments (10)

likexian avatar likexian commented on July 27, 2024

Hello @virain
Sorry for the long long delay due to no notifications.
Is this happen now?

from packer-plugin-tencentcloud.

virain avatar virain commented on July 27, 2024

Hello @likexian
I'm not sure. It took too long. I forgot the problem

from packer-plugin-tencentcloud.

likexian avatar likexian commented on July 27, 2024

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.

virain avatar virain commented on July 27, 2024

@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.

nicholasleeeee avatar nicholasleeeee commented on July 27, 2024

@virain not sure if it’s the same issue that I face. Try changing the instance name?

from packer-plugin-tencentcloud.

virain avatar virain commented on July 27, 2024

@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.

likexian avatar likexian commented on July 27, 2024

Yes, try change the instance name, when there are multiple buildings, uses difference instance name.

from packer-plugin-tencentcloud.

nywilken avatar nywilken commented on July 27, 2024

@likexian it seems like this issue is safe to close. Please advise if there is any work to do here.

from packer-plugin-tencentcloud.

likexian avatar likexian commented on July 27, 2024

Hello @nywilken please close.

from packer-plugin-tencentcloud.

nywilken avatar nywilken commented on July 27, 2024

Thank you for supporting this issue @likexian closing at your request.

from packer-plugin-tencentcloud.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.