Skip to content

Can't install software via host details/self-service because it's not label scoped to my host #43863

@marko-lisica

Description

@marko-lisica

Fleet versions 4.84.0-rc.2604072015

Web browser and operating system: Google Chrome


💥  Actual behavior

Error:

{
  "message": "Bad request",
  "errors": [
    {
      "name": "base",
      "reason": "Couldn't install. Host isn't member of the labels defined for this software title."
    }
  ],
  "uuid": "e5be09f0-5f31-43ea-b41c-8fca99853dbc"
}

Before this happened, I had Spotify installed, and then tried to update via self-service. Update showed as successful, but my app was corrupted. More details here:

Image

I removed the app manually from the host

Image

Besides self-service it happens on host details as well:

Image

🛠️ To fix

The app shouldn't appear in the self-service for the host that is not in the scope.

🧑‍💻  Steps to reproduce

These steps:

  • Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
  • Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
  1. Tried to update Spotify via self-service
  2. Got a success status, but the app was corrupted
  3. Remove the app manually
  4. Open self-service and hit install for the app
  5. Failed with error above (not in the scope)

🕯️ More info (optional)

N/A

Metadata

Metadata

Assignees

Labels

#g-softwareSoftware product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documented~assisting qaThis issue can be QA'd by anyone outside the QA team when capacity allows~released bugThis bug was found in a stable release.

Type

No type
No fields configured for issues without a type.

Projects

Status

🐣 In progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions