Description of problem: Host files contents obtained by fleecing don't show up in the UI. The Contents section for the file shows 'Cannot display binary content'. Version-Release number of selected component (if applicable): 5.4.0.1.20150512111354_4368716 How reproducible: Every time Steps to Reproduce: 1. Register Openstack Infra provider 2. Run Smartstate Analysis on the Infra provider nodes 3. Go to one of the nodes 4. Click on Configuration for one of the Openstack services 5. Click on the file you want to retrieve contents for Actual results: The Contents line shows 'Cannot display binary content' Expected results: The content of the file shows up in the Contents. Additional info: File content can be obtained via the rails console. I found the 'Cannot display binary content' in the patch here: https://github.com/ManageIQ/manageiq/commit/e2c68f13eaf45c22984d07ac3fe89ab3b9fd6393
This issue has been addressed here: https://github.com/ManageIQ/manageiq/pull/2938
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/d65a551239b2ea41c7d598dd514dbdeb494ee8f9 commit d65a551239b2ea41c7d598dd514dbdeb494ee8f9 Author: Ladislav Smola <lsmola> AuthorDate: Mon May 18 14:25:33 2015 +0200 Commit: Ladislav Smola <lsmola> CommitDate: Mon May 18 14:29:27 2015 +0200 Check for non MIME ascii content Some OpenStack files are not MIME types, but we want to show them. E.g. .conf or .ini. Adding check for ascii files if they are not MIME type. https://bugzilla.redhat.com/show_bug.cgi?id=1222508 vmdb/app/models/filesystem.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=d6b6cfe3b776c68af63c7dc4da3dc12723877269 commit d6b6cfe3b776c68af63c7dc4da3dc12723877269 Author: Ladislav Smola <lsmola> AuthorDate: Mon May 18 14:25:33 2015 +0200 Commit: Martin Povolny <mpovolny> CommitDate: Wed Jun 3 08:23:38 2015 +0200 Check for non MIME ascii content Some OpenStack files are not MIME types, but we want to show them. E.g. .conf or .ini. Adding check for ascii files if they are not MIME type. https://bugzilla.redhat.com/show_bug.cgi?id=1222508 vmdb/app/models/filesystem.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
I could reproduce this in 5.5.0.11. Just some of the files are showing the 'Cannot display binary content' message. For instance /etc/nova/nova.conf shows Contents Cannot display binary content whilst /etc/nova/rootwrap.conf displays the file content.
seems to be a duplicate of: https://bugzilla.redhat.com/show_bug.cgi?id=1221149 going to be handled by adding a "Download" link Milan Zazrivec is taking care of this one. *** This bug has been marked as a duplicate of bug 1221149 ***