Bug 1289138 - Always display whole traceback on console
Always display whole traceback on console
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda (Show other bugs)
6.8
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Anaconda Maintenance Team
Release Test Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-07 09:13 EST by Marian Csontos
Modified: 2015-12-07 10:40 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-07 10:40:54 EST
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)

  None (edit)
Description Marian Csontos 2015-12-07 09:13:26 EST
Description of problem:
A failed kickstart installation displays UI trimming the most useful part of python exception.

Looks nice but is useless when:
- installing from kickstart - where all I have is dead console in the file.
- running in beaker where job will be killed on time out and the machine recycled.

I guess this has potential to be highly annoying for many admins.

Is there a workaround not requiring one to rerun the job, and with until it starts just to capture the trace?

Configuration:

I have 2 consoles specified on kernel cmdline: "console=tty0 console=ttyS1,115200"
None of them contains useful exception.

Version-Release number of selected component (if applicable):
13.21.229 (in rhel-6.8 nightly 20151202)

How reproducible:
Being a design decision presume 100% reproducibility.

Steps to Reproduce:
1. kickstart installation, using text installation. provide ks containing some error.
I guess in my case it has something to do with simple clear text password in the ks.

Actual results:
UI on console trimming the most useful part of the traceback.

Expected results:
Full trace must be provided at least when installing from kickstart.

Additional info:

Welcome to Red Hat Enterprise Linux for x86_64
                ┌───────────┤ Exception Occurred ├────────────┐
                │                                             │
                │ anaconda 13.21.229 exception report       ↑ │
                │ Traceback (most recent call first):       ▮ │
                │   File "/usr/lib/anaconda/users.py", line ▒ │
                │ 245, in setUserPassword                   ▒ │
                │     self.admin.setpassUser(user,          ▒ │
                │ cryptPassword(password, algo=algo), True) ▒ │
                │   File "/usr/lib/anaconda/users.py", line ▒ │
                │ 253, in setRootPassword                   ▒ │
                │     return self.setUserPassword("root",   ▒ │
                │ password, isCrypted, lock, algo)          ▒ │
                │   File "/usr/lib/anaconda/instdata.py",   ▒ │
                │ line 181, in write                        ↓ │
                │                                             │
                │    ┌────┐       ┌──────┐      ┌───────┐     │
                │    │ OK │       │ Save │      │ Debug │     │
                │    └────┘       └──────┘      └───────┘     │
                │                                             │
                │                                             │
                └─────────────────────────────────────────────┘
  
  <Tab>/<Alt-Tab> between elements   |  <Space> selects   |  <F12> next screen
Comment 2 Marian Csontos 2015-12-07 10:35:19 EST
Is this a rel-eng issue? Why is this ancient version used? Is the compose wrong?

Bug 1182595 mentions 13.21.230.

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