Bug 831935 - engine installer should add the VDSM account by default to the engine server
engine installer should add the VDSM account by default to the engine server
Status: CLOSED NEXTRELEASE
Product: oVirt
Classification: Community
Component: ovirt-iso-uploader (Show other bugs)
3.1 RC
Unspecified Unspecified
high Severity unspecified
: ---
: ---
Assigned To: Barak
integration
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-14 02:19 EDT by shu ming
Modified: 2012-09-07 11:56 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-09-07 11:56:59 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)

  None (edit)
Description shu ming 2012-06-14 02:19:30 EDT
Description of problem:
oVirt engine install doesn't create a default VDSM account with uid 36 by default.

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

How reproducible:
100%

Steps to Reproduce:
1.
 root@ichigo-dom237 /]# engine-iso-uploader upload -i isos-cluster5 /RHEL6.3-20120531.0-Server-

x86_64-DVD1.iso 
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): 
ERROR: A user named vdsm with a UID and GID of 36 must be defined on the system to mount the ISO storage domain on isos-cluster5 as Read/Write
[root@ichigo-dom237 /]# 
  
Actual results:
The command complained:
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): 
ERROR: A user named vdsm with a UID and GID of 36 must be defined on the system to mount the ISO storage domain on isos-cluster5 as Read/Write

A vdsm account must be added to the system manually

Expected results:
VDSM account should be added by the installer by default.

Additional info:
Comment 1 Itamar Heim 2012-06-14 03:46:15 EDT
actually, i think the iso uploader should be the one creating this
Comment 2 Dennis van der Veen 2012-09-07 10:02:07 EDT
Still having this problem. 

Running 
RHEVM: 3.1.0-12.el6ev
VDSM: 4.9.6-28.0.el6_3

How reproducible: constantly  
Steps to Reproduce: 
1. rhevm-iso-uploader -i ISO_DOMAIN upload [file]
2. Please provide the REST API password for the admin@internal RHEV-M user (CTRL+D to abort):

Actual results: 
ERROR: A user named vdsm with a UID and GID of 36 must be defined on the system to mount the ISO storage domain on ISO_DOMAIN as Read/Write

Expected results:  
Successfully upload file

workaround:
added group and user manually
1. groupadd kvm -g 36
2. useradd -u 36 -g kvm -c "Node Virtualization Manager" -s /sbin/nologin -d      /var/lib/vdsm -m -r vdsm (copied from hypervisor)
3. rhevm-iso-uploader -i ISO_DOMAIN upload [file]
4. chmod 644 uploaded file

then it works
Comment 3 Itamar Heim 2012-09-07 11:56:59 EDT
this has been fixed in http://gerrit.ovirt.org/#/c/7247/ and will be part of next ovirt release.
(for rhevm, a more advanced build has this backported)

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