Azure / Azure/azure-cli-extensions

az image copy error

Open
#3,217 1 comment 0 reactions 1 assignee Claimed by @qwordy View on GitHub
extension/image-copy question
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az image copy
Extension Name: image-copy-extension. Version: 0.2.8.`

**Errors:**
```
Command '['/opt/az/bin/python3', '-m', 'azure.cli', 'image', 'show', '--name', 'win2019_std_oxy_v03', '--resource-group', 'US-Templates', '--output', 'json']' returned non-zero exit status 3.
Traceback (most recent call last):
...
**kwargs).stdout
az/lib/python3.6/subprocess.py, ln 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/opt/az/bin/python3', '-m', 'azure.cli', 'image', 'show', '--name', 'win2019_std_oxy_v03', '--resource-group', 'US-Templates', '--output', 'json']' returned non-zero exit status 3.
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az image copy --source-resource-group {} --source-object-name {} --target-location {} --target-resource-group {} --target-subscription {}`

## Expected Behavior

## Environment Summary
```
Linux-4.15.0-1111-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.21.0
azure-cli-iot-ext 0.8.10

Extensions:
image-copy-extension 0.2.8
azure-cli-iot-ext 0.8.10
ai-examples 0.2.5
ssh 0.1.4

```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.