Bug 1394457

Summary: Appliance console 'q' (quit command) crashes appliance console
Product: Red Hat CloudForms Management Engine Reporter: luke couzens <lcouzens>
Component: ApplianceAssignee: Yuri Rudman <yrudman>
Status: CLOSED DUPLICATE QA Contact: luke couzens <lcouzens>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: abellott, dajohnso, jhardy, obarenbo, yrudman
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: black
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-17 14:35:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description luke couzens 2016-11-12 09:11:05 UTC
Description of problem:Appliance console 'q' (quit command) crashes appliance console

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


How reproducible:100%


Steps to Reproduce:
1.provision appliance
2.run appliance_console
3.type 'q' to quit appliance console

Actual results:appliance console crashes


Expected results:appliance console quits cleanly


Additional info:
http://pastebin.test.redhat.com/429626

Comment 2 Dave Johnson 2016-11-13 01:51:50 UTC
Luke, no worries but just paste the stack track in the BZ so if you search, you can potentially find that a BZ has already been written   ;)


-- press enter/return to continue or q to stop -- q
                                                   /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:983:in `+': no implicit conversion of nil into Array (TypeError)
	from /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:983:in `page_print'
	from /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:722:in `format_statement'
	from /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:617:in `say'
	from /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:257:in `ask'
	from /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:361:in `choose'
	from /var/www/miq/vmdb/gems/pending/appliance_console/prompts.rb:174:in `ask_with_menu'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:159:in `block in <module:ApplianceConsole>'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:109:in `loop'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:109:in `<module:ApplianceConsole>'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:95:in `<main>'
[root@10-16-7-152 ~]#

Comment 3 Yuri Rudman 2016-11-17 14:35:07 UTC
PR: https://github.com/ManageIQ/manageiq-gems-pending/pull/16

This PR removing extra prompt:  "--press enter/return to continue or q to stop --"

Closing this BZ since resolution is to remove this new prompt and it is duplicate for https://bugzilla.redhat.com/show_bug.cgi?id=1394054

*** This bug has been marked as a duplicate of bug 1394054 ***