Bug 1254175 - SystemError Error replacing `/etc/shadow' when update hypervisor
Summary: SystemError Error replacing `/etc/shadow' when update hypervisor
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.5.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.6.0
Assignee: Douglas Schilling Landgraf
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-17 11:02 UTC by Pavel Zhukov
Modified: 2016-02-10 20:06 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-16 10:14:08 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
admin password change (80.86 KB, image/png)
2015-08-17 15:07 UTC, Pavel Zhukov
no flags Details
step 3 Reinstall (49.71 KB, image/png)
2015-08-17 15:07 UTC, Pavel Zhukov
no flags Details
exception (49.99 KB, image/png)
2015-08-17 15:08 UTC, Pavel Zhukov
no flags Details
ovirt-node (54.39 KB, text/plain)
2015-08-18 08:30 UTC, Pavel Zhukov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 45116 0 master ABANDONED password: replace unmount_config to unpersist Never

Description Pavel Zhukov 2015-08-17 11:02:46 UTC
Version-Release number of selected component (if applicable):
rhevh-7.1-20150813.0.el7ev.iso

How reproducible:
100%

Steps to Reproduce:
1. Boot ISO
2. type current password and new password
3. installation stopped with error.

Actual results:
Exception

Expected results:
Successful installation

Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1247576 - VERIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1248371 - MODIFIED

Comment 1 Ying Cui 2015-08-17 11:41:02 UTC
Pavel, 
Could you provide the previous RHEV-H version you used?

I tested three times for this bug:
1. installed rhevh-7.1-20150512.1.el7ev.iso
2. Boot ISO rhevh-7.1-20150813.0.el7ev.iso
3. type current password and new password
4. upgrade rhevh to latest rhevh-7.1-20150813.0.el7ev.iso successful.

I did not encounter any error like bug subject.

Comment 2 Pavel Zhukov 2015-08-17 13:27:46 UTC
(In reply to Ying Cui from comment #1)
> Pavel, 
> Could you provide the previous RHEV-H version you used?
> 
> I tested three times for this bug:
> 1. installed rhevh-7.1-20150512.1.el7ev.iso
> 2. Boot ISO rhevh-7.1-20150813.0.el7ev.iso
> 3. type current password and new password
> 4. upgrade rhevh to latest rhevh-7.1-20150813.0.el7ev.iso successful.
> 
> I did not encounter any error like bug subject.

Tried again without upgrade even:

1) Installed rhevh-7.1-20150813.0.el7ev.iso
2) Boot from the iso
3) Start RHEVH hypervisor -> Reinstall
4) Old PW -> New PW -> Confirm
5) SystemError

Comment 3 Fabian Deutsch 2015-08-17 14:02:13 UTC
Pavel, could you please clarfiy the flow in comment 2:

In the reinstall flow (named in step 3) you can not set an olod and new password (step 4).

Comment 4 Pavel Zhukov 2015-08-17 15:07:10 UTC
Created attachment 1063914 [details]
admin password change

Comment 5 Pavel Zhukov 2015-08-17 15:07:40 UTC
Created attachment 1063915 [details]
step 3 Reinstall

Comment 6 Pavel Zhukov 2015-08-17 15:08:00 UTC
Created attachment 1063916 [details]
exception

Comment 7 Douglas Schilling Landgraf 2015-08-18 01:06:26 UTC
Hi Pavel,

(In reply to Pavel Zhukov from comment #2)
> (In reply to Ying Cui from comment #1)
> > Pavel, 
> > Could you provide the previous RHEV-H version you used?
> > 
> > I tested three times for this bug:
> > 1. installed rhevh-7.1-20150512.1.el7ev.iso
> > 2. Boot ISO rhevh-7.1-20150813.0.el7ev.iso
> > 3. type current password and new password
> > 4. upgrade rhevh to latest rhevh-7.1-20150813.0.el7ev.iso successful.
> > 
> > I did not encounter any error like bug subject.
> 
> Tried again without upgrade even:
> 
> 1) Installed rhevh-7.1-20150813.0.el7ev.iso
> 2) Boot from the iso
> 3) Start RHEVH hypervisor -> Reinstall
> 4) Old PW -> New PW -> Confirm
> 5) SystemError

I have tried to reproduce your report many times but I couldn't yet.

Here my steps:

1) Installed rhevh-7.1-20150813.0.el7ev.iso
2) Reboot the node
3) Boot from the iso
4) Start RHEVH hypervisor -> Reinstall
5) Provided Old PW and New PW -> Confirm
6) System completes the reinstall 

Additionally, I have booted the re-installed rhev-h and with the new password I was to login. 

Is it possible to attach /var/log/ovirt* logs? Pressing F2 you should be able to go to console during the error and setup the network, compress the logs. Might help us to determine the root cause.

Thanks!

Comment 8 Fabian Deutsch 2015-08-18 08:19:11 UTC
I used the exact same steps as in comment 7 and could also not reproduce this issue.

Pavel, can you reliable reproduce this issue, then please check if you are doing something different than in comment 7.

Comment 9 Pavel Zhukov 2015-08-18 08:30:03 UTC
Created attachment 1064227 [details]
ovirt-node

Comment 10 Anatoly Litovsky 2015-08-19 18:53:13 UTC
please perform orignal "first: install using firstboot=1
then please run reinstall with out firstboot
Does it reproduce in that case

Comment 11 Douglas Schilling Landgraf 2015-08-20 02:41:44 UTC
Hi Pavel,

I cannot reproduce your report at all or QE. However, I have noticed in my tests that in ovirt.log/ovirt-node.log there is a umount operation failing for /etc/shadow but again the upgrade still working to me and the password is updated correctly. As I saw such message, I have sent a patch for review which replaces unmount_config call to unpersist and the message I described above is gone. Do you mind to re-test a testing ISO which includes this patch against your system?

The test I have executed:

- Installed ovirt-node-3-5-gerrit_45116.iso (Manual install)
- Rebooted
- Boot from the iso
- Start RHEVH hypervisor -> Reinstall
- Provided Old PW and New PW -> Confirm
- System completes the reinstall 

ISO: http://people.redhat.com/~dlandgra/ovirt-node/
Patch: https://gerrit.ovirt.org/#/c/45116/

Thanks!

Comment 12 Douglas Schilling Landgraf 2015-08-20 14:11:55 UTC
Hi Pavel,

As you noticed the target release changed to 3.6 and as DEV and QE cannot reproduce the report I am lowering the priority for now.

Comment 13 Ying Cui 2015-09-10 10:41:47 UTC
See comment 2, the my steps as following:
1. Installed rhevh-7.1-20150813.0.el7ev.iso
2. Reboot the rhevh
3. Boot from the iso
4. Troubleshooting:
     Install (Basic Video)
5. Provided Old PW and New PW -> Confirm
6. after process 100% done, reboot rhevh

I retested this issue on two machines one is dell and another is HP each 4 times.
I can not reproduce on rhevh-7.1-20150813.0.el7ev.


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