Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1403529 - Unable to access the virtual machine configuration: provisioning error
Unable to access the virtual machine configuration: provisioning error
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Replication (Show other bugs)
5.6.0
All All
unspecified Severity high
: GA
: 5.6.4
Assigned To: Nick Carboni
Alex Newman
replication:provision
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-10 23:00 EST by Josh Carter
Modified: 2018-01-19 16:01 EST (History)
7 users (show)

See Also:
Fixed In Version: 5.6.4.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-03-09 12:05:21 EST
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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0474 normal SHIPPED_LIVE CFME 5.6.4 bug fixes and enhancement update 2017-03-09 17:03:14 EST

  None (edit)
Comment 5 Greg McCullough 2016-12-11 16:24:56 EST
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 17:26:41 EST
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 15:16:40 EST
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/15ac122e7a26866e4cf2890e9132e5edc39baf30

commit 15ac122e7a26866e4cf2890e9132e5edc39baf30
Author:     Nick Carboni <ncarboni@redhat.com>
AuthorDate: Wed Dec 14 17:22:25 2016 -0500
Commit:     Nick Carboni <ncarboni@redhat.com>
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 12:05:21 EST
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.