Bug 713000
Summary: | Migration stops if old admin server cannot be stopped | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Rich Megginson <rmeggins> | ||||
Component: | Migration | Assignee: | Rich Megginson <rmeggins> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 1.2.8 | CC: | amsharma, nhosoi, rmeggins | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-07 16:53:16 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 434915 | ||||||
Attachments: |
|
Created attachment 510879 [details]
0001-Bug-713000-Migration-stops-if-old-admin-server-canno.patch
To ssh://git.fedorahosted.org/git/389/admin.git 7edcc2b..81f194a master -> master commit 81f194a1f6ae1e3f658832081844b2908b2dd0ee Author: Rich Megginson <rmeggins> Date: Fri Jul 1 07:34:52 2011 -0600 Reviewed by: nkinder (Thanks!) Branch: master Fix Description: If the admin server could not be stopped, just assume it is not running and return a success code. Platforms tested: Fedora 15 x86_64 Flag Day: no Doc impact: no Steps to verify: 1. Stops the admin server. 2. Start migration. Note: Migration should continue if you attempt to stop admin server and it is not running. This is what we follow : <richm> ami: on the source, stop the servers before creating the tarball <ami> richm, : yeah <richm> on the destination, follow these steps: <richm> untar the tarball <richm> setup-ds.pl -u <richm> service dirsrv start <richm> setup-ds-admin.pl -u -ddd -l /tmp/setup2.log ...other parameters for config ds upgrade as documented... <richm> service dirsrv-admin start So here we are doing the migration when the server is in stopped state And it works fine. Hence marking VERIFIED. |
>> /usr/sbin/migrate-ds-admin.pl -ddd --crossplatform --oldsroot=/mnt/old-fds/opt/fedora-ds --actualsroot=/opt/fedora-ds General.ConfigDirectoryAdminPwd=FDS_password >> >> Beginning migration of Administration server from /mnt/old-fds/opt/fedora-ds . . . >> +++stopping admin server returns status 256: output server not running >> >> +Warning: Could not stop admin server: status 256: output server not running >> >> Exiting . . . >> Log file is '/tmp/migrate3A8KRY.log' Migration should continue if you attempt to stop admin server and it is not running.