Skip to content

Number of pods of created AppWrapper not logged correctly #646

Open
@ChristianZaccaria

Description

@ChristianZaccaria

Describe the Bug

After creating an AppWrapper, the logs display that there are 0 pods while there are actually 3 pods running.

The reason for this is that the pods created have the label i.e., ray.io/cluster when they should have appwrapper.mcad.ibm.com. As discussed in this PR, it seems the controller owning the resource / generic item is overwriting the label applied by MCAD.

Steps to Reproduce the Bug

  1. With MCAD running
  2. Create an AppWrapper
  3. Search in the MCAD logs for There are.
  4. See 0 pods of your AppWrapper, when there should be 3.
    image

AND

  1. With MCAD running
  2. Create an AppWrapper
  3. Check the pods' labels

Expected Behavior

When an AppWrapper is created, the logs should display the correct number of pods for the AppWrapper.

Component Versions

Kuberay: v0.5.0
MCAD: latest main branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions