Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timed out when waiting for image ready #140

Open
fengz63 opened this issue Jan 25, 2024 · 0 comments
Open

timed out when waiting for image ready #140

fengz63 opened this issue Jan 25, 2024 · 0 comments

Comments

@fengz63
Copy link

fengz63 commented Jan 25, 2024

when I create an instance on ecs, it will fist upoad os image. When waiting for the image ready, an error with read time out for 443 port occurs. The log is as follows

python3 ../lifsea-ci/cli.py --key_id $access_key_id --key_secret $access_key_secret overrides_build --image_name tmp/LifseaOS-3.20240125.dev.0-qemu.x86_64.qcow2
[2024-01-25 19:42:57,883][INFO][utils.import_image:292] Request: import_image {'DiskDeviceMapping': [{'OSSBucket': 'llifsea', 'OSSObject': 'tmp/LifseaOS-3.20240125.dev.0-qemu.x86_64.qcow2'}], 'ImageName': 'LifseaOS-3.20240125.dev.0-qemu.x86_64.qcow2', 'Platform': 'Aliyun', 'RegionId': 'cn-hangzhou', 'Tag': []}; Response: {'headers': {'date': 'Thu, 25 Jan 2024 11:42:57 GMT', 'content-type': 'application/json;charset=utf-8', 'content-length': '146', 'connection': 'keep-alive', 'keep-alive': 'timeout=25', 'access-control-allow-origin': '*', 'access-control-expose-headers': '*', 'x-acs-request-id': '861F9D14-A162-5FFB-B195-56D9287A61EF', 'x-acs-trace-id': '1a3060b7a3203aabf3d57fec074a6e31', 'etag': '1dAjMLmvAwBs6NefqCxvwpw6'}, 'statusCode': 200, 'body': {'ImageId': 'm-bp122w42o0rbfmfqzytw', 'RegionId': 'cn-hangzhou', 'RequestId': '861F9D14-A162-5FFB-B195-56D9287A61EF', 'TaskId': 't-bp122w42o0rbfmfkali3'}}
[2024-01-25 19:44:58,136][INFO][utils.wait_image_ready:124] Sleep 120s, waiting for image available...
Traceback (most recent call last):
  File "../lifsea-ci/cli.py", line 241, in <module>
    main()
  File "../lifsea-ci/cli.py", line 237, in main
    return args.func(args)
  File "../lifsea-ci/cli.py", line 145, in overrides_build
    image_id = ciutil.import_image(args.image_name)
  File "/root/lifsea/lifsea-for-ack/lifseaos/lifsea-ci/utils.py", line 293, in import_image
    self.wait_image_ready(resp.body.image_id)
  File "/root/lifsea/lifsea-for-ack/lifseaos/lifsea-ci/utils.py", line 121, in wait_image_ready
    describe_images_request)
  File "/usr/local/lib/python3.6/site-packages/alibabacloud_ecs20140526/client.py", line 20962, in describe_images
    return self.describe_images_with_options(request, runtime)
  File "/usr/local/lib/python3.6/site-packages/alibabacloud_ecs20140526/client.py", line 20857, in describe_images_with_options
    self.call_api(params, req, runtime)
  File "/usr/local/lib/python3.6/site-packages/alibabacloud_tea_openapi/client.py", line 1799, in call_api
    return self.do_request(params, request, runtime)
  File "/usr/local/lib/python3.6/site-packages/alibabacloud_tea_openapi/client.py", line 1321, in do_request
    raise UnretryableException(_last_request, _last_exception)
Tea.exceptions.UnretryableException: HTTPSConnectionPool(host='ecs.aliyuncs.com', port=443): Read timed out. (read timeout=10.0)

Is there anyone know how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant