Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1101313 - Restoring a Backup to a Fresh Installation - Local database configuration.
Restoring a Backup to a Fresh Installation - Local database configuration.
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation (Show other bugs)
3.3.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Andrew Dahms
Laura Novich
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-26 15:03 EDT by Stephen Gordon
Modified: 2016-01-26 20:59 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Build Name: 22464, Administration Guide-3.3-1 Build Date: 29-04-2014 13:00:50 Topic ID: 28277-592742 [Specified]
Last Closed: 2014-09-11 15:09:51 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 Stephen Gordon 2014-05-26 15:03:07 EDT
Title: Restoring a Backup to a Fresh Installation

Step 4 specifies:

"""
For local databases, add the two following lines immediately underneath the line starting with Local at the bottom of the file:

host    [database name]    [user name]    0.0.0.0/0  md5
host    [database name]    [user name]    ::0/0      md5
"""

What it doesn't mention is that rather than adding to the file these should replace the default directives:

"""
# IPv4 local connections:
host    all         all         127.0.0.1/32          ident
# IPv6 local connections:
host    all         all         ::1/128               ident
"""

Otherwise it's not possible to connect to the database.
Comment 1 Stephen Gordon 2014-05-26 16:02:59 EDT
As an aside the string "Run the following command and follow the prompts to configure the Manager, selecting to manually configure the database when prompted:" doesn't seem to be accurate with regards to the most recent 3.3 rhevm-setup packages.

It auto-detects that the database is already there and handles it, no manual configuration or prompt is involved.
Comment 2 Andrew Dahms 2014-06-16 20:01:19 EDT
Fixed in 28277, 28243, 28279.
Comment 3 Andrew Dahms 2014-08-19 07:25:55 EDT
Documentation Link
------------------------------
http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5-Beta/html-single/Administration_Guide/index.html#Backing_up_Red_Hat_Enterprise_Virtualization_Manager_using_the_engine-backup_Command

What Changed
------------------------------
The following topics were revised to clarify that the definitions should overwrite the existing entries in the first topic, and update the output displayed on success for all topics:

Restoring a Backup to a Fresh Installation [28227-673619]

Restoring a Backup to Overwrite an Existing Installation [28243-673624]

Restoring a Backup with Different Credentials [28279-673626]

Updated revision history: [34613-651628]

NVR
------------------------------
Red_Hat_Enterprise_Virtualization-Administration_Guide-3.5-Beta-en-US-3.5-7

Moving to ON_QA.

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