cloudfoundry / cloudfoundry/stratos

Autoscale service NOT shown in the Application menu

Open
#4,986 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
267
Forks
137
Avg merge
5h 14m
Merged PRs (30d)
77

Description

Stratos Version

4.4.0

App-autoscaler Version

5.0.3

Frontend Deployment type
  • Cloud Foundry Application (cf push)
  • Kubernetes, using a helm chart
  • Docker, single container deploying all components
  • npm run start
  • Other (please specify below)
    App-autoscaler bosh release - https://github.com/cloudfoundry/app-autoscaler-release - created a service broker in Cloud Foundry and the service is enabled globally for all ORGs on the platform.
Backend (Jet Stream) Deployment type
  • Cloud Foundry Application (cf push)
  • Kubernetes, using a helm chart
  • Docker, single container deploying all components
  • Other (please specify below)
    App-autoscaler bosh release - https://github.com/cloudfoundry/app-autoscaler-release - created a service broker in Cloud Foundry and the service is enabled globally for all ORGs on the platform.
Expected behaviour

After creating an app-autoscaler service and bind it to an application, in stratos to be able to check the Autoscale service binded to some app, to check the current policies, make changes, see metrics and etc.

App-autoscaler service is created by the SpaceDeveloper so the SpaceDeveloper should be able to see that service in stratos as well and to be able to see the Autoscale tab on the left menu.

Actual behaviour

After creating an app-autoscaler service and bind it to an application, in stratos can't check the Autoscale service because it is not SHOWN as a section/tab on the left menu.

App-autoscaler service is created by the SpaceDeveloper so the SpaceDeveloper should be able to see that service in stratos as well but the Autoscale tab on the left menu is NOT shown.

Autoscale is NOT shown under the Applications tab on the left menu with a SpaceDeveloper role.

If you go under Services tab on the left menu and refresh the page, then the Autoscale is showing on the left until the next action/refresh/click on the page.

With a platform's admin role - Autoscale tab is shown under the Applications menu on the left.

The visilibity of the autoscaler's service is already set to All and that has not been changed recently.

Steps to reproduce the behavior

Steps:

  1. Push a cf app;
  2. Create a app-autoscaler service;
  3. Bind the app to the app-autoscaler service;
  4. Go to stratos;
  5. Filter to the app binded to the app-autoscaler service;
  6. In the menu on the left (Summary/Instances/Routes/Log Stream/Services/Events) NOT able to see any Autoscale;
  7. If you go to Services, refresh the page, then Autoscale is visible in the left menu - if you click on some other section or just refresh the page - Autoscale is gone.
Log output covering before error and any error statements
Insert log hereCopy

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a SpaceDeveloper role using the listed Cloud Foundry and app-autoscaler steps, then compare the application menu with an administrator view. Trace the visibility behavior around the Autoscale section and its refresh-dependent appearance. Done means a SpaceDeveloper can consistently see and use Autoscale for a bound app without navigating through Services or refreshing.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
authorization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.