Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1323219

Summary: Review Request: openstack-trove-ui - OpenStack Dashboard plugin for Trove project
Product: [Community] RDO Reporter: Pete MacKinnon <pmackinn>
Component: Package ReviewAssignee: hguemar
Status: CLOSED CURRENTRELEASE QA Contact: hguemar
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: chris.brown, egafford, karlthered, ltoscano
Target Milestone: ---Flags: hguemar: rdo-review+
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-18 06:01:05 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:
Bug Depends On:    
Bug Blocks: 1290163    
Description Flags
Fix bytecode files symlinks none

Comment 1 Luigi Toscano 2016-04-05 11:16:07 UTC
I could not test in depth, but the package generated from the above RPM works on the RC1 of RDO Mitaka. The pages are displayed and can be browsed, and the buttons triggers actions, but I didn't test if the actions really works with a live datastore.

Comment 4 hguemar 2016-04-12 09:29:52 UTC
Spec URL:

To fasten the review, I fixed the packaging:
* include python bytecode
* requires: openstack-dashboard
* Sources uses 

I also rebuild 6.0.0 RC2 as automated reviewing tool does not support delorean-style spec file.

Comment 5 hguemar 2016-04-12 09:36:17 UTC
Package Review

[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed

===== MUST items =====

[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Apache (v2.0)", "Unknown or generated", "*No copyright* Apache
     (v2.0)". 14 files have unknown license. Detailed output of
     licensecheck in /home/haikel/openstack-trove-ui/review-openstack-
[x]: Package requires other packages for directories it uses.
     Note: No known owner of /etc/openstack-dashboard/enabled
[x]: Package must own all directories that it creates.
     Note: Directories without known owners: /etc/openstack-
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

[x]: Python eggs must not download any dependencies during the build
[x]: A package which is used by another package via an egg interface should
     provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Package contains BR: python2-devel or python3-devel
[x]: Binary eggs must be removed in %prep

===== SHOULD items =====

[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

[x]: Rpmlint is run on all installed packages.
[x]: Spec file according to URL is the same as in SRPM.

Checking: openstack-trove-ui-6.0.0-0.1.0rc2.fc25.noarch.rpm
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/_1731_project_database_backups_panel.pyo
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/_1730_project_database_backups_panel.pyc
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/_1731_project_database_backups_panel.pyc
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/_1730_project_database_backups_panel.pyo
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/_1740_project_database_clusters_panel.pyc
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/_1720_project_databases_panel.pyc
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/_1740_project_database_clusters_panel.pyo
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/_1710_database_panel_group.pyc
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/_1710_database_panel_group.pyo
openstack-trove-ui.noarch: W: non-conffile-in-etc /etc/openstack-dashboard/enabled/_1720_project_databases_panel.pyo
2 packages and 0 specfiles checked; 0 errors, 15 warnings.

openstack-trove-ui (rpmlib, GLIBC filtered):


Source checksums
---------------- :
  CHECKSUM(SHA256) this package     : 1c2c4fda2b0adff90891b3fbf312ac76ecc688d9dbb00c9f6b68b6a01f724ce0
  CHECKSUM(SHA256) upstream package : 1c2c4fda2b0adff90891b3fbf312ac76ecc688d9dbb00c9f6b68b6a01f724ce0

Generated by fedora-review 0.6.0 (3c5c9d7) last change: 2015-05-20
Command line :/usr/bin/fedora-review -n /home/haikel/openstack-trove-ui/ -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Python, Generic, Shell-api
Disabled plugins: Java, C/C++, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby

Comment 6 hguemar 2016-04-12 09:36:43 UTC
Review approved, I'll do the import today.

Comment 8 Luigi Toscano 2016-04-20 16:45:58 UTC
The dashboard can be installed and work properly. 

When the package is removed, few stale files are left under /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/, but they *do not* affect the restart of httpd, unlike openstack-sahara-ui where they prevents the restart, not sure if it's a red herring: 


Comment 9 Haïkel Guémar 2016-04-22 21:54:02 UTC
Created attachment 1149929 [details]
Fix bytecode files symlinks

Comment 10 Luigi Toscano 2016-04-25 10:29:46 UTC
The build with the patch in #c9 (6.0.0-2) correctly cleans the files, but I think it should be done the other way, see

Comment 11 Elise Gafford 2016-05-12 17:25:31 UTC
Review to reverse symlinks at

Comment 12 Christopher Brown 2017-06-17 19:46:15 UTC
This was accepted so this bug can be closed.