Description of problem: Getting the error page when selecting the policy event timeline of an availabilty zone. Tested/found on Amazon cloud Version-Release number of selected component (if applicable): Version 5.8.2.3.20171016155816_aaec796 How reproducible: Always Steps to Reproduce: 1. Setup Amazon Cloud provider 2. Create a policy 3. Create an instance 4. assign the policy to the instance, execute it 5. go to the instance's availability zone/timeline 6. select policy events, all categories/click apply Actual results: Getting on the error page Expected results: Should see the TL and the policy events of the instance Additional info:
Bug also found on Azure
GregB, it seems that you should know more about this one. In UI you cannot access Timelines in Availability zones for Policy events but you can do it for ems_events. It crushes on unknown column availability_zone_id for policy_events. You introduced availability_zone_id for ems_events but not for policy_events. Either it's missing from policy_event or UI shouldn't show timelines for Availability zones. Can you assign it to someone or let me know if it shouldn't be shown in UI? Thanks, Zita PS: I'm not sure it's a blocker as it doesn't work in Fine or Darga either.
Heh, if this goes all the way back to Darga, then it's definitely a long standing bug that no one has ever hit. I agree we should remove the blocker flag. As far as fixing it, I'm guessing that there's some work involved in making sure that Availability Zones play nicely with policies at all. My suggestion is to not show timelines for Availability Zones. And, then we would later revisit this to make sure Availability Zones work with Policies and re-enable timelines for Availability Zones. I'll run this by PM for validation before re-assigning back to UI for hiding the timelines. In the meantime, Thiebaut, can you tell us the policy you assigned to the instance? A screenshot of the policy page would be most useful.
Hello, I don't have a screenshot, but i can tell you what was inside, it is very easy: condition: if vm/instance power state is off action: power off/powering off -> run smart state analysis
Zita, I asked Loic if we could remove blocker from this BZ, but he said "no". Is there an easy way to hide to ability to hide the timelines options for Availability Zones? If so, I think that's what we should do for now.
Greg, it should be easy. I will work on it asap. Thanks for info.
https://github.com/ManageIQ/manageiq-ui-classic/pull/3154
*** Bug 1528559 has been marked as a duplicate of this bug. ***