RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 629372 - [RFE] Change vdsm registration process so that a reboot is not required
Summary: [RFE] Change vdsm registration process so that a reboot is not required
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Barak
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 614460
TreeView+ depends on / blocked
 
Reported: 2010-09-01 19:33 UTC by Perry Myers
Modified: 2016-04-18 06:34 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-13 12:30:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Perry Myers 2010-09-01 19:33:40 UTC
Description of problem:
Currently in RHEVH, vdsm requires a reboot between the registration phase and when vdsm starts for the first time.

Since we are reworking the RHEVH UI to include only core storage config and install in the first phase, that means vdsm will need to be configured in the second phase.  And we don't want to force the user to do a 2nd reboot to get a fully running node.

So we need vdsm to be able to register and start up w/o requiring a reboot.

Comment 1 Dan Kenigsberg 2010-09-12 20:44:35 UTC
IIRC, we intentionally introduced reboot to vdsm installation so that we can be sure(r) that future reboots will work too. We can do a network restart instead (and be less sure). I don't know if we WANT to do that.

Comment 2 Perry Myers 2010-09-12 20:54:15 UTC
Understood.  The problem is, if vdsm requires a reboot then the installation process for RHEVH will require 2 reboots to be complete rather than 1.

Right now process is:

boot RHEVH from install media, configure, install to disk, reboot
vdsm starts on the next boot and you're ready to go

The new process for installing RHEVH (input from both UX and Desktop teams) is to separate configuration from 'installation'.  So this means vdsm will not be configured during the first boot from the install media.  That means the process would be:

boot RHEVH from install media, install to disk, reboot
configure networking and vdsm, reboot
vdsm starts and you're ready to go

It's up to the RHEVM team (eng and PM) to determine how best to configure vdsm in light of the RHEVH usability enhancements.  Core RHEVH will not require 2 reboots to be functional.  But if vdsm requires the 2nd reboot, that will just have to be spelled out in the documentation.

Comment 3 Doron Fediuck 2010-09-13 07:37:05 UTC
(In reply to comment #0)
> Description of problem:
> Currently in RHEVH, vdsm requires a reboot between the registration phase and
> when vdsm starts for the first time.
> 

Sorry Perry & Dan, but this is not the case.
There's no need to reboot a RHEV-H machine due to VDSM installation.
In my past work with Alan, we integrated the registration phases to
fit the oVirt reboot mechanism (ie- first boot is config & install, so
oVirt local installation needs reboot and 2nd boot has everything it needs).

According to these phases, What registration actually has is:

[First boot]

- PXE boot (uses vdsm-config script)
Extract PXE parameters and create basic VDSM configuration file.

- CD/USB (manual) install (uses config-rhev-manager script)
Ask PXE param's from the user and create basic VDSM configuration file.

[Second boot and later]

- Executed by vdsm-reg service (vdsm-reg-setup script)
* Rename brethX bridge if needed.
* Get RHEV-M SSH public key.
* Post local information to RHEV-M.

- (Optional) Certificate generation (vdsm-gen-cert.py script)
* Clean existing key pair & certificates
* Generate new key pair & certificate request.

- (Optional) Registration completion (vdsm-complete.py script)
* Install new certificate
* Set core dump param's
* Cleanup
* Update vdsm configuration (if needed)
* <<<Restart>>> vdsmd service.

Note that the last 2 steps are initiated from RHEV-M by an administrator and won't occur if the RHEV-H machine is already registered.

So as you can see, the only thing we require is service restart so
vdsm can update it's security context & configuration.

One more thing that has to do with reboot, is RHEV-H upgrade, using an alternate ISO. In this case as well, the need for reboot comes from RHEV-H.

Hope this response will clarify things. The BZ itself is not a bug (IE-
your RFE has been answered :)

Comment 4 Perry Myers 2010-09-13 12:30:13 UTC
Thanks for the detailed explanation Doron.  Agreed that this RFE has been satisfied already, so will close as CURRENTRELEASE.


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