primecoin01이라는 Google 계산 엔진 영구 디스크의 비공개 이미지를 만들었습니다. 나중에 새 이미지를 만들려고합니다. regexp가 이미지를 나열하는 과정과 gcloud.compute.instances.delete 과정에서 모두 올바르지 않다고 말하는 것으로 실패합니다. 영구 디스크를 사용하여 이미지를 만드는 첫 번째 단계입니다. 그것은 내가 이미지 이름을 만들었고 지금은 명령 gcloud 계산 이미지 목록 또는 gcloud 계산 인스턴스를 삭제할 수 없습니다 인스턴스 0 - 키 디스크 부팅. 내 목록에서이 이미지를 삭제하는 방법을 모르겠습니다.
primecoin01이 정규 표현식 기준을 확실히 충족 시키므로 이미지의 이름을 왜 분명히 지정했는지 전혀 알지 못합니다.``primecoin01 All help 크게 감사드립니다. 아래Google 계산 엔진 목록/인스턴스 삭제가 실패했습니다. regexp
세부 사항 :
C:\Program Files\Google\Cloud SDK>gcloud compute images list
NAME PROJECT ALIAS DEPRECATED STATUS
centos-6-v20141021 centos-cloud centos-6 READY
centos-7-v20141021 centos-cloud centos-7 READY
coreos-alpha-494-0-0-v20141108 coreos-cloud READY
coreos-beta-444-5-0-v20141016 coreos-cloud READY
coreos-stable-444-5-0-v20141016 coreos-cloud coreos READY
backports-debian-7-wheezy-v20141021 debian-cloud debian-7-backports READY
debian-7-wheezy-v20141021 debian-cloud debian-7 READY
container-vm-v20141016 google-containers container-vm READY
opensuse-13-1-v20141102 opensuse-cloud opensuse-13 READY
rhel-6-v20141021 rhel-cloud rhel-6 READY
rhel-7-v20141021 rhel-cloud rhel-7 READY
sles-11-sp3-v20140930 suse-cloud sles-11 READY
sles-11-sp3-v20141105 suse-cloud sles-11 READY
sles-12-v20141023 suse-cloud READY
ERROR: (gcloud.compute.images.list) Some requests did not succeed:
- Invalid value '``primecoin01'. Values must match the following regular expression: '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z]
(?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))'
및
C:\Program Files\Google\Cloud SDK>gcloud compute instances delete instance-0 --keep-disks boot
ERROR: (gcloud.compute.instances.delete) Unable to fetch a list of zones. Specifying [--zone] may fix this issue:
- Invalid value '``primecoin01'. Values must match the following regular expression: '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z] (?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))'
및
C:\Program Files\Google\Cloud SDK>gcloud compute instances delete instance-0 --keep-disks boot --zone us-central1-b
The following instances will be deleted. Attached disks configured to
be auto-deleted will be deleted unless they are attached to any other
instances. Deleting a disk is irreversible and any data on the disk
will be lost.
- [instance-0] in [us-central1-b]
Do you want to continue (Y/n)? y
ERROR: (gcloud.compute.instances.delete) Failed to fetch some instances:
- Invalid value '``primecoin01'. Values must match the following regular expression: '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z]
(?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))'
개발자 콘솔에서 인스턴스와 이미지를 제거해 보셨습니까? 또한 이름이 <''primecoin01>처럼 보이는데, 이는 오류를 야기 할 수 있습니다. – Marilu
내 개발자 콘솔에서 primecoin01이라는 디스크가 instance-0이라는 인스턴스에 연결되어 있습니다. 그것은 내가 실제로 작동하는데 약 2 시간을 소비 한 유일한 디스크입니다. 스냅 샷 시도, 복제 등은 위에 나열된 메시지로 인해 실패합니다. 유일하게 작동하는 디스크에서 모든 작업을 지우지 않으려는 경우 위의 이름이 지정되지 않았습니다. 나는 그들이 프라임 (prime)이라는 단어 또는 비슷한 것을 빠져 나가는 지 모르겠다. 나는 위에서 언급 한대로 실패 목록을 알고 있습니다. 감사. –