Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1323292 - Invalid date/time crashes appliance_console
Invalid date/time crashes appliance_console
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance (Show other bugs)
5.5.0
Unspecified Unspecified
high Severity medium
: GA
: 5.6.0
Assigned To: Joe Vlcek
luke couzens
cli:black:appliance
: ZStream
Depends On:
Blocks: 1327727
  Show dependency treegraph
 
Reported: 2016-04-01 14:20 EDT by luke couzens
Modified: 2016-06-29 11:47 EDT (History)
6 users (show)

See Also:
Fixed In Version: 5.6.0.4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1327727 (view as bug list)
Environment:
Last Closed: 2016-06-29 11:47:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description luke couzens 2016-04-01 14:20:46 EDT
Description of problem: setting the date incorrectly crashes out appliance_console


Version-Release number of selected component (if applicable):5.5.3.2


How reproducible:100%


Steps to Reproduce:
1.ssh into appliance
2.start appliance_console
3.select Set Timezone, Date, and Time
4.select timezone
5.set date with invalid day 
6.set time
7.say yes to configuration

Actual results:appliance_console crash


Expected results:invalid date/time supplied


Additional info: date/time I used

Date and Time Configuration

        Timezone area: America
        Timezone city: New_York
        Date:          2016-03-65
        Time:          22:50:13

Apply time and timezone configuration? (Y/N): y
Applying time and timezone configuration...
/opt/rh/rh-ruby22/root/usr/share/ruby/time.rb:300:in `local': argument out of range (ArgumentError)
	from /opt/rh/rh-ruby22/root/usr/share/ruby/time.rb:300:in `make_time'
	from /opt/rh/rh-ruby22/root/usr/share/ruby/time.rb:364:in `parse'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:307:in `block in <module:ApplianceConsole>'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:114:in `loop'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:114:in `<module:ApplianceConsole>'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:98:in `<main>'
[root@host-192-168-100-77 ~]#
Comment 2 Joe Vlcek 2016-04-04 13:49:45 EDT
This issue will be resolved as a side effect of the fix for:
https://bugzilla.redhat.com/show_bug.cgi?id=1318752
Comment 4 luke couzens 2016-04-26 13:57:48 EDT
Verified in 5.6.0.4-beta2.3
Comment 6 errata-xmlrpc 2016-06-29 11:47:03 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348

Note You need to log in before you can comment on or make changes to this bug.