question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error trying to move an image from eastus2 to westeurope

See original GitHub issue

Describe the bug

Command Name az image copy Extension Name: image-copy-extension. Version: 0.2.1.

Errors:

Command '['C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\python.exe', '-m', 'azure.cli', 'snapshot', 'create', '--name', 'devopsVS2017-image-20191005203740_os_disk_snapshot', '--resource-group', 'AzureDeOps-rg', '--source', '/subscriptions/6f335c6c-6850-40da-a64c-37021daaa4c6/resourceGroups/AZUREDEOPS-RG/providers/Microsoft.Compute/disks/devopsVS2017_OsDisk_1_bf58f98dc70144cab32b31b4630d8a61', '--output', 'json', '--tags', 'created_by=image-copy-extension']' returned non-zero exit status 1.
Traceback (most recent call last):
pip-install-rg707cll\knack\knack\cli.py, ln 206, in invoke
cli\core\commands\__init__.py, ln 603, in execute
cli\core\commands\__init__.py, ln 661, in _run_jobs_serially
...

To Reproduce:

  • az login
  • az account set -s {}
  • az image copy --source-object-name {} --source-resource-group {} --target-resource-group {} --target-location {} --debug

Expected Behavior

Expected result is a successful move of the VM image to the new location in order to recreate the VM in the targeted resource group and location.

Environment Summary

Windows-10-10.0.18995-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.73 *

Extensions:
azure-devops 0.12.0
image-copy-extension 0.2.1

Additional Context

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
msftbot[bot]commented, Nov 12, 2019

Thanks for working with Microsoft on GitHub! Tell us how you feel about your experience using the reactions on this comment.

1reaction
tamirkamaracommented, Oct 20, 2019

I would add the information above to help the support engineer focus on the actual issue…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot images in an Azure Compute Gallery
You've tried to export from a gallery Image version to a disk but used a LUN position that does not exist on the...
Read more >
when i try to move my picture with.Bottom keep getting error ...
Bottom property is read only (as Right is). You can however manipulate it's value indirectly by changing values of Top or Size properties....
Read more >
Unable To Move Image To Another Album | Piwigo.org
I am attempting to move an image from one folder to another. An error message flashes up for less than a second. I...
Read more >
Not able to move files while using load image activity - Help
if u run this file you will get a error like “The process cannot access the file because it is being used by...
Read more >
Error moving image file to destination directory error when ...
The file you are trying to approve did not get fully loaded to the web site before you tried to approve it. This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found