Bug 1170276
Summary: | Provisioning fails with VMware Compute Resource if the vCenter's datacenter is using nested folders. | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Aaron Thomas <aathomas> | ||||||||||||||||
Component: | Compute Resources | Assignee: | Shlomi Zadok <szadok> | ||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||||||||||||||
Severity: | high | Docs Contact: | |||||||||||||||||
Priority: | high | ||||||||||||||||||
Version: | 6.0.6 | CC: | ahoness, bbuckingham, bkearney, chrobert, cwelton, dcleal, diego.claeys, egolov, ghoule, gpayelka, ifloodmu, jcallaha, jivavra, jmontleo, jswensso, kshirsal, ktordeur, lzap, mmccune, mtessun, nshaik, ohadlevy, pbuchan, prsharma, sgao, snag, sthirugn, szadok, tris.hoar, xdmoon | ||||||||||||||||
Target Milestone: | Unspecified | Keywords: | ReleaseNotes, Reopened, Triaged | ||||||||||||||||
Target Release: | Unused | ||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||
OS: | Linux | ||||||||||||||||||
URL: | http://projects.theforeman.org/issues/8581 | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||
Clone Of: | |||||||||||||||||||
: | 1314090 (view as bug list) | Environment: | |||||||||||||||||
Last Closed: | 2016-09-27 11:58:40 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: | |||||||||||||||||||
Bug Depends On: | 1142861 | ||||||||||||||||||
Bug Blocks: | 1190823, 1314090 | ||||||||||||||||||
Attachments: |
|
Description
Aaron Thomas
2014-12-03 16:30:33 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. Created attachment 964745 [details]
foreman-debug
Created attachment 964747 [details]
sosreport
Connecting redmine issue http://projects.theforeman.org/issues/8581 from this bug fixed by upstream foreman PRs: https://github.com/theforeman/foreman/pull/2014 and https://github.com/theforeman/foreman/pull/2095. Can be cherry picked with: Fog repo git: https://github.com/fog/fog.git Fog commit sha1: 23bd65232bbcd0b3ae67ac40abebb9757dfa9280 Fog commit url: https://github.com/shlomizadok/fog/commit/23bd65232bbcd0b3ae67ac40abebb9757dfa9280 Foreman repo git: https://github.com/theforeman/foreman.git Foreman commit sha1: de764bf506e0b1bc3ca66f477d06f57c502e002b Foreman commit url: https://github.com/shlomizadok/foreman/commit/de764bf506e0b1bc3ca66f477d06f57c502e002b Also seems like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1142861 - can you please verify and close if so? When vCenter's datacenter is using nested folders, failed to display "Cluster", maybe related patches are not applied yet, so change status to Assigned. Please check picture attached, thanks! Created attachment 1012119 [details]
cluster in folder
Created attachment 1012122 [details]
failed to display
Can you guys re-test, I see the patch in the fog library now. If it fails, the patch is not correct. First of all are we talking about 6.1.0 or 6.0.4? Lukas is referencing 6.0 repos and fog 1.21.0 which is part of 6.0, yet this bug is ACK'ed against Satellite 6.1.0 which is fog 1.24.0. If it needs to be fixed in Satellite 6.1.0 and Satellite 6.0.z please open separate bugs. The patch is applied during build based on what was provided. http://git.app.eng.bos.redhat.com/git/katello-thirdparty.git/tree/rubygem-fog/fog-add-full-path-vsphere.patch?h=SATELLITE-6.1.0 http://git.app.eng.bos.redhat.com/git/katello-thirdparty.git/tree/rubygem-fog/fog-add-full-path-vsphere.patch?h=SATELLITE-6.0.4 Since this bug is ACK'ed against Satellite 6.1.0, I verified it on Satellite-6.1.0-RHEL-7-20150407.1, it still failed to show cluster in nested folders, so change status to Assigned. 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://access.redhat.com/errata/RHSA-2015:1592 Accidentally closed with 6.1.1 errata From a rel note perspective, this is covered afaik as part of BZ 1223962: VMware Compute Resource issue in the Release notes. Upstream bug component is Compute Resources Until this is resolved I am working around it on Satellite 6.1.2 by doing the following [root@sat-dev ~]# cp /opt/rh/ruby193/root/usr/share/gems/gems/fog-1.24.0/lib/fog/vsphere/requests/compute/list_clusters.rb{,.old} [root@sat-dev ~]# curl https://raw.githubusercontent.com/fog/fog/master/lib/fog/vsphere/requests/compute/list_clusters.rb -o /opt/rh/ruby193/root/usr/share/gems/gems/fog-1.24.0/lib/fog/vsphere/requests/compute/list_clusters.rb [root@sat-dev ~]# katello-service restart Still same issue with Satellite 6.1.4. The work around from Tristan hoar was working for me but it's not available any more ??? Tristan, can you please put it online again. Thanks. Is there a timeline or other workaround. This was working for a period with 6.0 but seems to have regressed after upgrading to 6.1. This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Reset docs contact <> daobrien ** SATELLITE 6.1 HOTFIX INSTRUCTIONS ** This patch only applies to Satellite 6.1 1) Download attached 170276-HOTFIX.patch hotfix patch file to your Satellite 2) cp 170276-HOTFIX.patch /opt/rh/ruby193/root/usr/share/gems/gems/fog-1.24.1/ 3) cd /opt/rh/ruby193/root/usr/share/gems/gems/fog-1.24.1/ 4) patch -p1 < 170276-HOTFIX.patch 5) katello-service restart 6) resume operations Created attachment 1174702 [details]
hotfix patch
Hi Mike, Customer in case# 01611941 has tried entire system update (and katello-installer --upgrade) and the hotfix but it still doesn't work. Please find attached screenshot shared by customer in ticket. Preetesh Created attachment 1177131 [details]
Case-01611941
Verified in Satellite 6.1.10 Snap 1.1 Cluster now shows up as expected. See attached screenshot for verification. Created attachment 1203794 [details]
verification screenshot
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://access.redhat.com/errata/RHBA-2016:1938 |