Bug 1403529 - Unable to access the virtual machine configuration: provisioning error
Summary: Unable to access the virtual machine configuration: provisioning error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Replication
Version: 5.6.0
Hardware: All
OS: All
unspecified
high
Target Milestone: GA
: 5.6.4
Assignee: Nick Carboni
QA Contact: Alex Newman
URL:
Whiteboard: replication:provision
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-11 04:00 UTC by Josh Carter
Modified: 2020-02-14 18:17 UTC (History)
7 users (show)

Fixed In Version: 5.6.4.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-09 17:05:21 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0474 0 normal SHIPPED_LIVE CFME 5.6.4 bug fixes and enhancement update 2017-03-09 22:03:14 UTC

Comment 5 Greg McCullough 2016-12-11 21:24:56 UTC
Found that the storage ems_ref value from the HostStorage model was returning a nil which was passed to VMware.  A nil value for storage means to provision the template to the same storage which the host did not have access to.

The root cause of the HostStorage nil value was determined to be a rubyrep error during the provider refresh.  Note: In version 5.6 the ems_ref value is stored in the reserves table.

Comment 7 Nick Carboni 2016-12-14 22:26:41 UTC
This was being caused by a regression in rubyrep which caused the trigger which recorded the changes to the reserves table to always fail.

This was fixed in rubyrep in this PR https://github.com/ManageIQ/rubyrep/pull/10

The new tag of rubyrep was included in darga in this PR to ManageIQ https://github.com/ManageIQ/manageiq/pull/13186

I have removed the cfme-future and cfme-5.7.z flags because rubyrep does not exist in those versions.

Comment 9 CFME Bot 2016-12-15 20:16:40 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/15ac122e7a26866e4cf2890e9132e5edc39baf30

commit 15ac122e7a26866e4cf2890e9132e5edc39baf30
Author:     Nick Carboni <ncarboni>
AuthorDate: Wed Dec 14 17:22:25 2016 -0500
Commit:     Nick Carboni <ncarboni>
CommitDate: Wed Dec 14 17:22:25 2016 -0500

    Move rubyrep to the newest version
    
    This includes a fix which ensures the special trigger row variables,
    NEW and OLD are not quoted in trigger functions.
    
    This was breaking replication for the reserves table.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1403529

 Gemfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 11 errata-xmlrpc 2017-03-09 17:05:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0474.html


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