Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1101313

Summary: Restoring a Backup to a Fresh Installation - Local database configuration.
Product: Red Hat Enterprise Virtualization Manager Reporter: Stephen Gordon <sgordon>
Component: DocumentationAssignee: Andrew Dahms <adahms>
Status: CLOSED CURRENTRELEASE QA Contact: Laura Novich <lnovich>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: gklein, jhradile, lnovich, rbalakri, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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 19:09:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stephen Gordon 2014-05-26 19:03:07 UTC
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 20:02:59 UTC
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-17 00:01:19 UTC
Fixed in 28277, 28243, 28279.

Comment 3 Andrew Dahms 2014-08-19 11:25:55 UTC
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.