Bug 789419
Summary: | no way to manually add (import) top level servers to inventory | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | John Mazzitelli <mazz> | ||||||
Component: | Core UI | Assignee: | Charles Crouch <ccrouch> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 4.2 | CC: | ccrouch, hbrock, hrupp, mazz, skondkar, spinder | ||||||
Target Milestone: | --- | ||||||||
Target Release: | JON 3.0.1 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | 751097 | Environment: | |||||||
Last Closed: | 2013-09-03 15:05:40 UTC | Type: | --- | ||||||
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: | 751097 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
John Mazzitelli
2012-02-10 18:30:41 UTC
since two people have see this behavior in RHQ, it might be best to get this into jon 3.0.1 too. see bug #751097 and bug #720456 for what was fixed around this area. specifically, master commits: 7f74d06 and d47438f The two commits from master have been cherry-picked: http://git.fedorahosted.org/git?p=rhq/rhq.git;a=commitdiff;h=0d4efdc http://git.fedorahosted.org/git?p=rhq/rhq.git;a=commitdiff;h=f3c5218 After cherry-picking those, there was an additional NPE I had to fix to get import working: http://git.fedorahosted.org/git?p=rhq/rhq.git;a=commitdiff;h=1979ff1 I'll check whether this NPE affects master as well. This was already fixed in master by commit 36fec92. Apparently that commit did not get properly merged into the 3.0.x branch. I realized the cherry-picks did not merge in to the 3.0.x branch cleanly, because there had been a bunch of other commits to master that modified ResourceTypeRepsository in the time between the two commits I cherry-picked. So I decided it would be safest to copy the HEAD version of ResourceTypeRepository from master to the 3.0.x branch: http://git.fedorahosted.org/git?p=rhq/rhq.git;a=commitdiff;h=39ac89b It turns out there was only one other change to ResourceTypeRepsository that happened in master *after* the release/jon3.0.x branch got created: http://git.fedorahosted.org/git?p=rhq/rhq.git;a=commitdiff;h=36fec92 So my last commit (39ac89b) essentially incorporates the changes from that commit. Here's the comment from that commit: "Fix issue in handling of non-cached metadata types in type repo. Also,optimize further by only querying for metadata that is not already cached for the requested types." Moving to ON_QA for testing with JON 3.0.1.GA RC5 or better: https://brewweb.devel.redhat.com//buildinfo?buildID=199114 Verified on JON 3.0.1.GA RC5 (Build Number: dd8a001:fbca611) The right-click menu on the platform in the tree and import button menu in Platform->Inventory->Child Resources is populated with child types. Please refer the attached screenshots. Created attachment 563889 [details]
Screenshot-Right_click_Menu
Created attachment 563890 [details]
Screenshot-Import_Menu
Bulk closing of old issues in VERIFIED state. |