cancel
Showing results for 
Search instead for 
Did you mean: 
Syed
Community Manager
Community Manager
  • 5,321 Views

Welcome to the Managing Virtual Machines with Red Hat OpenShift (DO316) course in RHLC!

We are excited to launch a space dedicated to the Red Hat Training course, Managing Virtual Machines with Red Hat OpenShift Virtualization!

To gain the most value from this group - click the "Join Group" button in the upper right hand corner of the group home page.

We encourage group members to collaborate in this group to discuss topics, ask questions, share best practices and tips, provide course feedback, and share their accomplishments as it relates to DO316.

Read more about Managing Virtual Machines with Red Hat OpenShift Virtualization here.

Labels (5)
24 Replies
ikkeT
Mission Specialist
Mission Specialist
  • 3,667 Views

BTW, none of these graph queries work. They give "Bad Request" in graph. The namespace selector somehow doesn't work.
0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 3,666 Views

Hello @ikkeT !

Thanks for reaching out !

Where exactly are you facing this issue in DO316 course ? Please help me with some more details, eg.- a screenshot, chapter and section details , lab name etc.  so that we can check this out for you. 

0 Kudos
ikkeT
Mission Specialist
Mission Specialist
  • 3,665 Views

ah, I thought you get the location, as the chat was at the course page. Here is the direct link, it's the chapter about monitoring query:

 

https://role.rhu.redhat.com/rol-rhu/app/courses/do316-4.10/pages/ch02s06

 

The namespace options here break it, if you take away the namespace filter, it works.

Screenshot from 2023-11-16 16-18-59.png

Chetan_Tiwary_
Community Manager
Community Manager
  • 2,945 Views

@ikkeT Sure let me take a look !

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 2,932 Views

@ikkeT I am able to see the  vcpu wait metric in that chapter section :

Chetan_Tiwary__0-1700153362205.png

 

Chetan_Tiwary__1-1700153559744.png

 

 

If you still see the issue then please raise a support case. 

0 Kudos
ikkeT
Mission Specialist
Mission Specialist
  • 2,799 Views

You are not doing what the instructions say. Instructions have this part there:

{namespace=~".*-vms"}

It works for me also without them, but if you copy paste the instructions as guided, it won't work.

Chetan_Tiwary_
Community Manager
Community Manager
  • 2,798 Views

Ok @ikkeT Let me check that and I will get back to you. 

0 Kudos
ikkeT
Mission Specialist
Mission Specialist
  • 2,790 Views

For some reason, if you go through adminstrator view to observe it works, but if you go via developer view to observe, it won't work. Some bug with OCP perhaps?

 

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 2,781 Views

@ikkeT The course at step 6 tells you to login as admin and then go to observe --> metrics option. This option is not present in developer view hence the query wont work for all projects. 

In developers view you can have the graph for individual projects

Chetan_Tiwary__0-1700233299305.png

hence the bad request when you run query with * vms in all projects :

Chetan_Tiwary__2-1700233460843.png

whereas in administrator view you have the Observe --> metrics option :

Chetan_Tiwary__1-1700233342545.png

and it is for all namespaces not for a particular namespaces :

Chetan_Tiwary__3-1700233507358.png

Also refer ch02s05 wherein the course mentions this :

Chetan_Tiwary__5-1700233946212.png

"Only cluster administrators have access to all namespaces concurrently in the Observe → Metrics interface.

From the Developer perspective, you can navigate to Observe and then click the Dashboard tab to review various metrics, including CPU and memory usage charts, current network usage, bandwidth, and storage I/O for individual projects."

so, I dont think this is a bug but by design. 

 

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