Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a ds request is immediately fulfilled, the DS is not updating in TP #4269

Closed
2 of 16 tasks
mitchell852 opened this issue Jan 9, 2020 · 0 comments · Fixed by #4273
Closed
2 of 16 tasks

When a ds request is immediately fulfilled, the DS is not updating in TP #4269

mitchell852 opened this issue Jan 9, 2020 · 0 comments · Fixed by #4273
Labels
regression bug a bug in existing functionality introduced by a new version Traffic Portal v1 related to Traffic Portal version 1
Milestone

Comments

@mitchell852
Copy link
Member

mitchell852 commented Jan 9, 2020

I'm submitting a ...

  • bug report
  • new feature / enhancement request
  • improvement request (usability, performance, tech debt, etc.)
  • other

Traffic Control components affected ...

  • CDN in a Box
  • Documentation
  • Grove
  • Traffic Control Client
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • unknown

Current behavior:

When dsRequests are turned on in traffic_portal_properties.json and a delivery service is updated, a delivery service request is created. However, if the user has the overrideRole (also defined in traffic_portal_properties.json), they can fulfill the delivery service request immediately and immediately apply the delivery service changes.

Fulfilling the delivery service request immediately will:

  1. update the underlying delivery service and
  2. fetch the updated delivery service to recreate the ds form

2 should only happen after 1 is done. That is not happening and therefore 2 is fetching the old ds.

Expected / new behavior:

2 should only happen after 1 is done. ^^ see above.

Minimal reproduction of the problem with instructions:

  • Turn dsRequests on in traffic_portal_properties.json
  • Set the overrideRole in traffic_portal_properties.json (i.e. admin)
  • Login to TP as a user with the overrideRole
  • Update an existing delivery service. For example, change the routing name.
  • Fulfill the ds request immediately
  • Notice that the routing name did not change in the Delivery Service URL(s) section
  • Refresh the browser. Notice that the routing name has now changed in the Delivery Service URL(s) section.
@mitchell852 mitchell852 added bug something isn't working as intended Traffic Portal v1 related to Traffic Portal version 1 regression bug a bug in existing functionality introduced by a new version labels Jan 9, 2020
@rawlinp rawlinp added this to the 4.0.0 milestone Jan 9, 2020
@mitchell852 mitchell852 removed the bug something isn't working as intended label Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression bug a bug in existing functionality introduced by a new version Traffic Portal v1 related to Traffic Portal version 1
Projects
None yet
2 participants