cancel
Showing results for 
Search instead for 
Did you mean: 
Jace
Cadet
Cadet
  • 1,295 Views

DataVolumeError in Chapter 2-4 Guided Exercise: Create and Access a Virtual Machine

Jump to solution

I encounter a error in Guided Exercise: Create and Access a Virtual Machine.

It says the default storage class - nfs has no volumeSanpshotClass.

Screenshot 2024-04-30 at 2.33.42 PM.pngScreenshot 2024-04-30 at 2.34.15 PM.png

 

Is this kind of bug or miss-confuration in the storage class?

How chould I walk this around?

1 Solution

Accepted Solutions
Wasim_Raja
Moderator
Moderator
  • 1,219 Views

@Jace Thank you for reaching out.

I tried the exercise and I am unable to see any issues, can you please delete and recreate the lab and try the exercise again.

Wasim_Raja_0-1715246145067.png

 

View solution in original post

Tags (4)
4 Replies
Wasim_Raja
Moderator
Moderator
  • 1,220 Views

@Jace Thank you for reaching out.

I tried the exercise and I am unable to see any issues, can you please delete and recreate the lab and try the exercise again.

Wasim_Raja_0-1715246145067.png

 

Tags (4)
rgertzbe
Cadet
Cadet
  • 1,160 Views

Hello
I get the same error 
Also after re-creating the lab (lab finish & lab start)
I assume it has something to do with the rootdisk definitionScreenshot from 2024-05-15 15-42-49.png

*I'm working on 4.14 version

0 Kudos
hi5
Cadet
Cadet
  • 1,127 Views

replace image name with 'mariadb-server.qcow2', this worked for me, if you check utility PVC URL, provided image doesnt exist there, so I have replaced with this image to make it work.

amac2024
Cadet
Cadet
  • 489 Views

tl;dr 

If you are getting this error, most likely you have a typo in your URL.  Log in to the utility server and check the file is there in /var/www/html/openshift4/images/ directory.

Got the same error and there was a typo in my URL.  Fixed it in the yaml, but the VM still never created.  Had to delete the VM and start again.  Made a different error in the URL and got the exact same error.  Came here and saw this thread.  The file and URL are now correct in the course 4.14 version (rhel9-mariadb.qcow2 and  http://utility.lab.example.com:8080/openshift4/images/rhel9-mariadb.qcow2).  Needed to log on to the utility classroom server and naviagate to /var/www/html/openshift4/.....   to make sure the file is there and that httpd was running and listening on port 8080.

Bottom line, if you are getting this error, most likely you have a typo in your URL.  Log in to the utility server and check the file is there in /var/www/html/openshift4/images/ directory.

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