Description of problem:
When selecting a retirement date in CFME 5.6.4, no time is selected only the date.
The specific retirement time is reported in the success flash message when the retirement date is set.
I'm observing retirement times of GMT-5 hours, with the default time being 00:00 on the selected date.
This means if I select a retirement date of 2/5/2017, the flash message and Lifecycle table will reflect a retirement date of 2/4/2017, at 19:00. This is 00:00 - 05:00.
The offset is not effected by the timezone setting for the appliance. By default the timezone was GMT, and after changing it to a different zone than GMT-5, the retirement date selection continued to offset the retirement by 5 hours.
Version-Release number of selected component (if applicable):
Every time a date is selected, regardless of appliance timezone configuration.
Steps to Reproduce:
1. Provision instance
2. Select retirement date for instance
3. Note flash message and Lifecycle table on instance summary reflect the day prior to the user selected date
Retirement is set to date prior to that selected by the user
Retirement date is set to the exact day the user selected.
Created attachment 1261714 [details]
Created attachment 1261716 [details]
I attached a screen shot for my server settings. What are your settings for the Appliance Time Zone and Default Locale?
The video that I posted in comment #4 (https://bugzilla.redhat.com/show_bug.cgi?id=1419150#c4) includes the settings page, showing:
Appliance Time Zone: UTC
Default Locale: Global Default
Taking a bit closer look, the labels for the fields are different between your screenshot and the video that I took on CFME 5.6.4. Not sure why that is, your screenshot doesn't match what I'm seeing in 56z or 57z
I'm sorry I haven't gotten back to you sooner.
I spent some time looking into it today and although there are two places in the UI that specify the time zone, the display settings time zone(the setting from your video) is what changed the retirement date display value in my tests.
The retirement display date changed based on the settings, but the actual vm retirement date was correct.
Can you setup an appliance where I can see the issue?
Responded with private comment including an appliance where the issue can be recreated. Appliance available for 7 days.
I initially thought this was an Automate issue, but after further investigation, it looks like a UI issue.
UI issue reported against 5.6 and fixed in 5.7 and master.
Can we close this as a duplicate?
Jeff's BZ 1316632 captures the behavior sufficiently, especially if linked with my description here.
Agreed on marking duplicate
*** This bug has been marked as a duplicate of bug 1316632 ***