Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Question]: 使用付费市场镜像执行 ReplaceSystemVolume 时无任何费用提示与人工确认,直接产生扣费

Open
#37 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go
Domain
cli, cloud

Research direction

Start by reviewing the ReplaceSystemVolume command and the DescribeImages output or interface documentation for paid-image attributes. Trace how the CLI handles the selected ImageId and determine where a warning or confirmation could occur. Done should include an agreed confirmation flow for images that may incur third-party license charges.

Written by the indexing model from the issue text.

Description

question
问题背景

使用dsh + volc-cli,在 ECS 实例上重建系统盘,目的是清理一台被入侵的服务器。
镜像候选来自 ve ecs DescribeImages 的输出,我从列表里挑了一个名字像是通用运行环境的镜像:

ve ecs DescribeImages --region cn-beijing --PageSize 100

候选(节选):

  • Docker_v29.1.2_Docker-Compose_v2.39.2_base_veLinux_2.0_64位 ← 本次选中
  • Debian 12 ARM 64 bit
  • Rocky Linux 9.5 64 bit
  • Ubuntu 22.04 ...

随后执行:

ve ecs ReplaceSystemVolume \
  --region cn-beijing \
  --InstanceId i-yegorquozkbw80d3ffvn \
  --ImageId image-yeaw5mk1ki9q7euhfjcb \
  --KeyPairName nc-deploy

命令立即返回成功,没有任何费用提示或确认环节。
事后在费用中心发现该次操作产生了 53.02 元的第三方软件 License 费用。

具体问题

1、检查接口文档, 确定的确有返回付费属性参数。但只是一个普通的参数。
2、我的使用过程中,Agent的确没有给我任何提醒。

3、我认为2这个步骤,agent是否给予操作者提醒是不可控的, 那这种敏感操作上,是否可以给予一次跳转页面的人工确认呢?

补充信息

No response

Dominant language
Go
Stars
67
Forks
8
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from volcengine/volcengine-cli

All issues in volcengine/volcengine-cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.