ikkeT
Mission Specialist
Mission Specialist
  • 854 Views

error in Cloning Virtual Machines

Jump to solution

The chapter 7s4 has an error. There is something missing while taking copy of the disk.

```
From the terminal, edit the /home/student/DO316/labs/advanced-clone/dv.yaml file that the lab command has prepared. The file defines a DataVolume resource named documentroot-clone1. Under the .spec.source.pvc section, update the name parameter to specify the source PVC.

...

source:
    pvc:
      name: webroot

```

I believe you should not use the name webroot as shown in the DataVolume definition. You should likely take a clone of the disk first, and use that name, e.g. webroot-clone. Following the instructions as such will lead to fail, it will not create any new pvc to use in while adding new disk.

1 Solution

Accepted Solutions
Chetan_Tiwary_
Moderator
Moderator
  • 840 Views

Hello @ikkeT !

Please elaborate on what you mean by "Following the instructions as such will lead to fail, it will not create any new pvc to use in while adding new disk."

As per step 5.2 it wants you to "Use an existing PVC" and that is webroot as in step 4.1.

I followed the instruction and did not get any error in the lab :

Chetan_Tiwary__0-1701351005419.png

Chetan_Tiwary__1-1701351103232.png

Were you talking about some other scenario not in the lab ?

View solution in original post

5 Replies
Chetan_Tiwary_
Moderator
Moderator
  • 841 Views

Hello @ikkeT !

Please elaborate on what you mean by "Following the instructions as such will lead to fail, it will not create any new pvc to use in while adding new disk."

As per step 5.2 it wants you to "Use an existing PVC" and that is webroot as in step 4.1.

I followed the instruction and did not get any error in the lab :

Chetan_Tiwary__0-1701351005419.png

Chetan_Tiwary__1-1701351103232.png

Were you talking about some other scenario not in the lab ?

ikkeT
Mission Specialist
Mission Specialist
  • 830 Views

Ok, you got different results. Mine went just here:

äh, I'm not allowed to upload images.

Well, it just says documentroot-clone1 has phase CloneScheduled, and never went further.

Chetan_Tiwary_
Moderator
Moderator
  • 827 Views

Np @ikkeT !

Are you not able to see these options while replying ? 

Chetan_Tiwary__0-1701355098647.png

Or you can copy paste the screenshot in the text area also. 

ikkeT
Mission Specialist
Mission Specialist
  • 821 Views

Hmmm, earlier it said I don't have permissions to add images. Now it works. Thanks!

Screenshot from 2023-11-30 16-30-05.png

Chetan_Tiwary_
Moderator
Moderator
  • 819 Views

Ok great to know that @ikkeT !

0 Kudos
Join the discussion
You must log in to join this conversation.