Bug 831935 - engine installer should add the VDSM account by default to the engine server
Summary: engine installer should add the VDSM account by default to the engine server
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-iso-uploader
Version: 3.1 RC
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: Barak
QA Contact:
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-14 06:19 UTC by shu ming
Modified: 2012-09-07 15:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-07 15:56:59 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description shu ming 2012-06-14 06:19:30 UTC
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 07:46:15 UTC
actually, i think the iso uploader should be the one creating this

Comment 2 Dennis van der Veen 2012-09-07 14:02:07 UTC
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 15:56:59 UTC
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.