Giter VIP home page Giter VIP logo

Comments (8)

derekbekoe avatar derekbekoe commented on September 23, 2024

@Wolf7horne Are you attempting to use this against Public Azure?

from azure-cli-extensions.

Wolf7horne avatar Wolf7horne commented on September 23, 2024

@derekbekoe Yes I am.

from azure-cli-extensions.

tamirkamara avatar tamirkamara commented on September 23, 2024

@Wolf7horne:

  1. Can you share your full command?
  2. Is it a managed image (an image created from a managed vm/disk)?
  3. Does the source disk still exists in your subscription?

from azure-cli-extensions.

Wolf7horne avatar Wolf7horne commented on September 23, 2024

@tamirkamara

  1. az image copy --source-resource-group WestUS --source-object-name Goldv9Image --target-resource-group EastUS --targe-location eastus2 --cleanup
  2. osDisk and dataDisk both have managedDisk = null, another thing to note is that it is already generalized as well.
  3. Yes it does

from azure-cli-extensions.

tamirkamara avatar tamirkamara commented on September 23, 2024

@Wolf7horne
I think this means that the vm isn't based on managed disks. Can you rerun the command with --debug and send the full output?

from azure-cli-extensions.

PoisonousJohn avatar PoisonousJohn commented on September 23, 2024

@tamirkamara the same issue, full output attached.

Full command az image copy --source-resource-group batch_template_vms --source-object-name template-batch-vm-image-54509 --target-location northeurope --target-resource-group batch_experiments --cleanup --debug 2> log.txt

log.txt

from azure-cli-extensions.

tamirkamara avatar tamirkamara commented on September 23, 2024

@PoisonousJohn
This extension is using the managed disk of the source vm from which the image was created.
In the output it looks like the disk source is in a blob. What was the process to create your image? Was the vm managed-disk based?

Tamir

from azure-cli-extensions.

PoisonousJohn avatar PoisonousJohn commented on September 23, 2024

@tamirkamara as it was mentioned by @Wolf7horne, the case is related to blob-based image (non-managed disk).

I understand that for now this extension assumes you're using image disk. Do you have any plans on supporting blob images?

from azure-cli-extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.