Bug 1089213 - Review Request: openstack-trove - OpenStack DBaaS
Summary: Review Request: openstack-trove - OpenStack DBaaS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Haïkel Guémar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-18 09:25 UTC by Pádraig Brady
Modified: 2015-09-07 14:38 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-07 14:38:06 UTC
Type: ---
Embargoed:
karlthered: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Pádraig Brady 2014-04-18 09:25:50 UTC
Spec URL: http://fedorapeople.org/~pbrady/openstack-trove.spec
SRPM URL: http://fedorapeople.org/~pbrady/openstack-trove-2014.1-0.1.rc1.fc20.src.rpm
Description: OpenStack DBaaS (codename trove) provisioning service.
Fedora Account System Username: pbrady

Comment 1 Pádraig Brady 2014-04-25 16:06:58 UTC
Spec URL: http://fedorapeople.org/~pbrady/openstack-trove.spec
SRPM URL: http://pbrady.fedorapeople.org/openstack-trove-2014.1-1.fc20.src.rpm
Description: OpenStack DBaaS (codename trove) provisioning service.
Fedora Account System Username: pbrady

Comment 2 Pádraig Brady 2014-05-02 18:19:35 UTC
Spec URL: http://fedorapeople.org/~pbrady/openstack-trove.spec
SRPM URL: http://fedorapeople.org/~pbrady/openstack-trove-2014.1-2.fc20.src.rpm
Description: OpenStack DBaaS (codename trove) provisioning service.
Fedora Account System Username: pbrady

Comment 3 Alan Pevec 2014-05-05 09:09:04 UTC
I had question re. pexpect in rhel7, here is the answer for the record:
 https://bugzilla.redhat.com/show_bug.cgi?id=976504#c6

Comment 4 Alan Pevec 2014-05-20 15:26:48 UTC
There are rpmlint errors, comments inline (ignoring bogus speling erors reports):

> openstack-trove-common.noarch: W: non-standard-gid /etc/trove/trove.conf trove
> openstack-trove-common.noarch: W: non-standard-uid /var/run/trove trove
> openstack-trove-common.noarch: W: non-standard-uid /var/lib/trove trove
> openstack-trove-common.noarch: W: non-standard-gid /var/lib/trove trove
> openstack-trove-common.noarch: W: non-standard-uid /var/log/trove trove

Those can be ignored, "trove" group is created in %pre

> openstack-trove-common.noarch: E: non-readable /etc/trove/trove.conf 0640L

Ignore, trove.conf is readable by the "trove" group

> openstack-trove-common.noarch: E: incoherent-logrotate-file /etc/logrotate.d/openstack-trove

Move to the main package to make rpmlint happy?
http://fedoraproject.org/wiki/Common_Rpmlint_issues#incoherent-logrotate-file

> openstack-trove-common.noarch: W: no-manual-page-for-binary trove-mgmt-taskmanager
> openstack-trove-common.noarch: W: no-manual-page-for-binary trove-manage
> openstack-trove-api.noarch: W: no-manual-page-for-binary trove-api
> openstack-trove-taskmanager.noarch: W: no-manual-page-for-binary trove-taskmanager
> openstack-trove-conductor.noarch: W: no-manual-page-for-binary trove-conductor

Please report upstream!

> openstack-trove-api.noarch: W: no-documentation

Bogus, docs are in subpackage!

> openstack-trove-api.noarch: W: only-non-binary-in-usr-lib

Side-effect of below? vvv

> openstack-trove-api.noarch: E: script-without-shebang /usr/lib/systemd/system/openstack-trove-api.service

Removing x bit from .service (same in -taskmanager -conductor -guestagent subpackages) could help unconfuse rpmlint?

> python-trove.noarch: E: explicit-lib-dependency python-httplib2
> python-trove.noarch: E: explicit-lib-dependency python-passlib

Bogus!

> python-trove.noarch: W: summary-not-capitalized C trove Python libraries

-Summary:          %{project} Python libraries
+Summary:          Python libraries for OpenStack %{project}

> python-trove.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/trove/db/sqlalchemy/migrate_repo/manage.py 0644L /usr/bin/env

Remove first line #!/usr/bin/env python (same for other reports of this: fakemode.py conductor.py manage.py guest.py taskmanager.py api.py rpc/__init__.py )

> python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/mongodb/override.config.template

This is empty upstream, not sure why? (repeated for redis/override.config.template)

> openstack-trove.src: E: specfile-error warning: bogus date in %changelog: Sun Apr 25 2014 Pádraig Brady <pbrady> - 2014.1-2

Don't work over midnight and over weekends :)

Comment 5 Alan Pevec 2014-05-20 15:42:14 UTC
> Bogus, docs are in subpackage!

Or not: why is with_doc 0 ?

Comment 6 Pádraig Brady 2014-05-21 09:12:13 UTC
(In reply to Alan Pevec from comment #4)

> > openstack-trove-common.noarch: E: incoherent-logrotate-file /etc/logrotate.d/openstack-trove
> 
> Move to the main package to make rpmlint happy?
> http://fedoraproject.org/wiki/Common_Rpmlint_issues#incoherent-logrotate-file

that would be inconsistent with other openstack packages

> > openstack-trove-api.noarch: W: no-documentation

Actual trove package maintainer can fix that up later

> > openstack-trove-api.noarch: W: only-non-binary-in-usr-lib
> > openstack-trove-api.noarch: E: script-without-shebang /usr/lib/systemd/system/openstack-trove-api.service
> 
> Removing x bit from .service (same in -taskmanager -conductor -guestagent
> subpackages) could help unconfuse rpmlint?

done

> > python-trove.noarch: W: summary-not-capitalized C trove Python libraries
> 
> -Summary:          %{project} Python libraries
> +Summary:          Python libraries for OpenStack %{project}

done

> > python-trove.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/trove/db/sqlalchemy/migrate_repo/manage.py 0644L /usr/bin/env
> 
> Remove first line #!/usr/bin/env python (same for other reports of this:
> fakemode.py conductor.py manage.py guest.py taskmanager.py api.py
> rpc/__init__.py )

done while maintaining timestamps

> > openstack-trove.src: E: specfile-error warning: bogus date in %changelog: Sun Apr 25 2014 Pádraig Brady <pbrady> - 2014.1-2

done

Comment 7 Pádraig Brady 2014-05-21 09:14:52 UTC
Spec URL: http://fedorapeople.org/~pbrady/openstack-trove.spec
SRPM URL: http://fedorapeople.org/~pbrady/openstack-trove-2014.1-3.fc20.src.rpm
Description: OpenStack DBaaS (codename trove) provisioning service.
Fedora Account System Username: pbrady

Comment 8 Sergey Gotliv 2014-06-16 16:05:32 UTC
s/guest-info/guest_info.

Comment 9 Pádraig Brady 2014-06-17 02:06:23 UTC
Spec URL: http://fedorapeople.org/~pbrady/openstack-trove.spec
SRPM URL: http://fedorapeople.org/~pbrady/openstack-trove-2014.1-4.fc20.src.rpm
Description: OpenStack DBaaS (codename trove) provisioning service.
Fedora Account System Username: pbrady

Comment 10 Haïkel Guémar 2014-06-23 15:28:54 UTC
A first pass.

Requirements could be simplified:
* python-heatclient pulls in python-httplib2, python-iso8601, and python-keystoneclient (which pulls in python-babel)
* python-keystoneclient pulls in python-oslo-config (which pulls-in python-argparse and python-six)

Removing unnecessary explicit requires is a MUST, but that's an issue affecting all openstack packages.

As for the configuration files, they are set to 0640 in all openstack-* packages so I assume this is an implicit convention.

About the patches:
* version.diff: set a placeholder that is replaced at packages build time using sed
* authtoken.diff: authentication configuration
* db-config.diff: database configuration 
* el6-parallel-deps.diff: EL6 (alas usual) hack to use the right version of some python modules (sqlalchemy, routes, etc.)
These are RDO specific patches, so non-upstreamable, so they're OK.

No unowned directories.

Most of the rpmlint warnings and errors have been answered above.

I have a question: could we remove these files or are they required ?
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/mongodb/override.config.template
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/redis/override.config.template
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/couchbase/override.config.template

Comment 11 Haïkel Guémar 2014-06-24 09:53:10 UTC
It installs and the API endpoint works under rawhide.
It builds under all Fedora: http://koji.fedoraproject.org/koji/taskinfo?taskID=7070451

Forget my previous comment on the configuration files permissions, they hold sensitive data like credentials.

You must also use macroized scriptlets for systemd (required for systemd presets).
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Macroized_scriptlets_.28Fedora_18.2B.29 

I'm still advancing in my review but at the moment, the only blockers are the systemd macros, the explicit requirements (unless there's a valid explanation).

Comment 12 Pádraig Brady 2014-06-24 10:36:36 UTC
I disagree about minimizing dependencies.
If trove needs X and Y it should depend on those.
Reducing that because Y also depends on X only introduces a possibly hard to track failure, as dependencies are adjusted in future.

The spec is using systemd macros isn't it?
Now it was using the depending on the older systemd-units package,
which is now provided by the systemd package itself.
So I'll clean that up, but it shouldn't have caused any issue.

Comment 13 Pádraig Brady 2014-06-24 10:41:21 UTC
Spec URL: http://fedorapeople.org/~pbrady/openstack-trove.spec
SRPM URL: http://fedorapeople.org/~pbrady/openstack-trove-2014.1-5.fc20.src.rpm
Description: OpenStack DBaaS (codename trove) provisioning service.
Fedora Account System Username: pbrady

Comment 14 Haïkel Guémar 2014-06-24 11:18:19 UTC
Minimizing dependencies is a must in Fedora guidelines, but in openstack case, I agree it will be difficult to track dependencies, at least without looking at the global picture. 
For systemd, I mixed up but yes, it should be fine.

For notice, I haven't mentionned the %defattr sections, though the packages only support EPEL6+ and rawhide, they're legit (giving ownership of trove specific directories to the trover user/group)

Formal review will be up soon.

Comment 15 Haïkel Guémar 2014-06-24 11:25:45 UTC
Ok, it's almost ok, just sed -i 's/%define/%global/g' in the spec and it could be approved.
http://fedoraproject.org/wiki/Packaging:Guidelines#.25global_preferred_over_.25define

Comment 16 Pádraig Brady 2014-06-24 12:45:29 UTC
Spec URL: http://fedorapeople.org/~pbrady/openstack-trove.spec
SRPM URL: http://fedorapeople.org/~pbrady/openstack-trove-2014.1-6.fc20.src.rpm
Description: OpenStack DBaaS (codename trove) provisioning service.
Fedora Account System Username: pbrady

Comment 17 Haïkel Guémar 2014-06-24 13:44:14 UTC
Since this packages complies with Fedora general and Python specific guidelines, I hereby approve it into Fedora Packages Collection.

Formal review is posted below.


Package Review
==============

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



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

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[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)".
     9 files have unknown license. Detailed output of licensecheck in
     /home/haikel/1089213-openstack-trove/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib/systemd/system,
     /etc/logrotate.d, /usr/lib/systemd
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Each %files section contains %defattr if rpm < 4.4
     Note: %defattr present but not needed
[-]: Package contains desktop file if it is a GUI application.
[-]: 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 names).
[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.
[x]: 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.
[x]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 61440 bytes in 3 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]: Package installs properly.
[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 %doc.
[x]: Package requires other packages for directories it uses.
[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]: %config files are marked noreplace or the reason is justified.
[x]: Macros in Summary, %description expandable at SRPM build time.
[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
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: No %config files under /usr.
[x]: Package do not use a name that already exist
[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
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

Python:
[x]: Python eggs must not download any dependencies during the build process.
[x]: A package which is used by another package via an egg interface should
     provide egg info.
[ ]: 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 =====

Generic:
[-]: 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).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in openstack-
     trove-common , openstack-trove-api , openstack-trove-taskmanager ,
     openstack-trove-conductor , openstack-trove-guestagent , python-trove
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Patches link to upstream bugs/comments/lists or are otherwise justified.
[x]: Scriptlets must be sane, if used.
[x]: 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
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Files in /run, var/run and /var/lock uses tmpfiles.d when appropriate
[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
     $RPM_BUILD_ROOT)
[x]: Dist tag is present (not strictly required in GL).
[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 =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: openstack-trove-2014.1-6.fc21.noarch.rpm
          openstack-trove-common-2014.1-6.fc21.noarch.rpm
          openstack-trove-api-2014.1-6.fc21.noarch.rpm
          openstack-trove-taskmanager-2014.1-6.fc21.noarch.rpm
          openstack-trove-conductor-2014.1-6.fc21.noarch.rpm
          openstack-trove-guestagent-2014.1-6.fc21.noarch.rpm
          python-trove-2014.1-6.fc21.noarch.rpm
          openstack-trove-2014.1-6.fc21.src.rpm
openstack-trove.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-common.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-common.noarch: W: spelling-error %description -l en_US config -> con fig, con-fig, configure
openstack-trove-common.noarch: W: non-standard-gid /etc/trove/trove.conf trove
openstack-trove-common.noarch: E: non-readable /etc/trove/trove.conf 0640L
openstack-trove-common.noarch: W: non-standard-uid /var/run/trove trove
openstack-trove-common.noarch: W: non-standard-uid /var/lib/trove trove
openstack-trove-common.noarch: W: non-standard-gid /var/lib/trove trove
openstack-trove-common.noarch: E: incoherent-logrotate-file /etc/logrotate.d/openstack-trove
openstack-trove-common.noarch: W: non-standard-uid /var/log/trove trove
openstack-trove-common.noarch: W: no-manual-page-for-binary trove-mgmt-taskmanager
openstack-trove-common.noarch: W: no-manual-page-for-binary trove-manage
openstack-trove-api.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-api.noarch: W: only-non-binary-in-usr-lib
openstack-trove-api.noarch: W: no-documentation
openstack-trove-api.noarch: W: no-manual-page-for-binary trove-api
openstack-trove-taskmanager.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-taskmanager.noarch: W: only-non-binary-in-usr-lib
openstack-trove-taskmanager.noarch: W: no-documentation
openstack-trove-taskmanager.noarch: W: non-standard-gid /etc/trove/trove-taskmanager.conf trove
openstack-trove-taskmanager.noarch: E: non-readable /etc/trove/trove-taskmanager.conf 0640L
openstack-trove-taskmanager.noarch: W: no-manual-page-for-binary trove-taskmanager
openstack-trove-conductor.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-conductor.noarch: W: only-non-binary-in-usr-lib
openstack-trove-conductor.noarch: W: no-documentation
openstack-trove-conductor.noarch: W: non-standard-gid /etc/trove/trove-conductor.conf trove
openstack-trove-conductor.noarch: E: non-readable /etc/trove/trove-conductor.conf 0640L
openstack-trove-conductor.noarch: W: no-manual-page-for-binary trove-conductor
openstack-trove-guestagent.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-guestagent.noarch: W: only-non-binary-in-usr-lib
openstack-trove-guestagent.noarch: W: no-documentation
openstack-trove-guestagent.noarch: W: non-standard-gid /etc/trove/trove-guestagent.conf trove
openstack-trove-guestagent.noarch: E: non-readable /etc/trove/trove-guestagent.conf 0640L
openstack-trove-guestagent.noarch: W: non-standard-gid /etc/trove/guest_info trove
openstack-trove-guestagent.noarch: E: non-readable /etc/trove/guest_info 0640L
openstack-trove-guestagent.noarch: W: no-manual-page-for-binary trove-guestagent
python-trove.noarch: E: explicit-lib-dependency python-httplib2
python-trove.noarch: E: explicit-lib-dependency python-passlib
python-trove.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/couchbase/config.template
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/mongodb/override.config.template
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/redis/override.config.template
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/couchbase/override.config.template
openstack-trove.src: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
8 packages and 0 specfiles checked; 12 errors, 32 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint openstack-trove-guestagent openstack-trove-common openstack-trove-api openstack-trove python-trove openstack-trove-taskmanager openstack-trove-conductor
openstack-trove-guestagent.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-guestagent.noarch: W: only-non-binary-in-usr-lib
openstack-trove-guestagent.noarch: W: no-documentation
openstack-trove-guestagent.noarch: W: non-standard-gid /etc/trove/trove-guestagent.conf trove
openstack-trove-guestagent.noarch: E: non-readable /etc/trove/trove-guestagent.conf 0640L
openstack-trove-guestagent.noarch: W: non-standard-gid /etc/trove/guest_info trove
openstack-trove-guestagent.noarch: E: non-readable /etc/trove/guest_info 0640L
openstack-trove-guestagent.noarch: W: no-manual-page-for-binary trove-guestagent
openstack-trove-common.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-common.noarch: W: spelling-error %description -l en_US config -> con fig, con-fig, configure
openstack-trove-common.noarch: W: non-standard-gid /etc/trove/trove.conf trove
openstack-trove-common.noarch: E: non-readable /etc/trove/trove.conf 0640L
openstack-trove-common.noarch: W: non-standard-uid /var/run/trove trove
openstack-trove-common.noarch: W: non-standard-uid /var/lib/trove trove
openstack-trove-common.noarch: W: non-standard-gid /var/lib/trove trove
openstack-trove-common.noarch: E: incoherent-logrotate-file /etc/logrotate.d/openstack-trove
openstack-trove-common.noarch: W: non-standard-uid /var/log/trove trove
openstack-trove-common.noarch: W: no-manual-page-for-binary trove-mgmt-taskmanager
openstack-trove-common.noarch: W: no-manual-page-for-binary trove-manage
openstack-trove-api.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-api.noarch: W: only-non-binary-in-usr-lib
openstack-trove-api.noarch: W: no-documentation
openstack-trove-api.noarch: W: no-manual-page-for-binary trove-api
openstack-trove.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
python-trove.noarch: E: explicit-lib-dependency python-httplib2
python-trove.noarch: E: explicit-lib-dependency python-passlib
python-trove.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/couchbase/config.template
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/mongodb/override.config.template
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/redis/override.config.template
python-trove.noarch: E: zero-length /usr/lib/python2.7/site-packages/trove/templates/couchbase/override.config.template
openstack-trove-taskmanager.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-taskmanager.noarch: W: only-non-binary-in-usr-lib
openstack-trove-taskmanager.noarch: W: no-documentation
openstack-trove-taskmanager.noarch: W: non-standard-gid /etc/trove/trove-taskmanager.conf trove
openstack-trove-taskmanager.noarch: E: non-readable /etc/trove/trove-taskmanager.conf 0640L
openstack-trove-taskmanager.noarch: W: no-manual-page-for-binary trove-taskmanager
openstack-trove-conductor.noarch: W: spelling-error %description -l en_US codename -> code name, code-name, codependent
openstack-trove-conductor.noarch: W: only-non-binary-in-usr-lib
openstack-trove-conductor.noarch: W: no-documentation
openstack-trove-conductor.noarch: W: non-standard-gid /etc/trove/trove-conductor.conf trove
openstack-trove-conductor.noarch: E: non-readable /etc/trove/trove-conductor.conf 0640L
openstack-trove-conductor.noarch: W: no-manual-page-for-binary trove-conductor
7 packages and 0 specfiles checked; 12 errors, 31 warnings.
# echo 'rpmlint-done:'



Requires
--------
openstack-trove-guestagent (rpmlib, GLIBC filtered):
    /bin/sh
    /usr/bin/python
    config(openstack-trove-guestagent)
    openstack-trove-common
    python-pexpect

openstack-trove-common (rpmlib, GLIBC filtered):
    /bin/sh
    /usr/bin/python
    config(openstack-trove-common)
    python-trove
    shadow-utils
    systemd

openstack-trove-api (rpmlib, GLIBC filtered):
    /bin/sh
    /usr/bin/python
    openstack-trove-common

openstack-trove (rpmlib, GLIBC filtered):
    openstack-trove-api
    openstack-trove-conductor
    openstack-trove-taskmanager

python-trove (rpmlib, GLIBC filtered):
    MySQL-python
    python(abi)
    python-babel
    python-cinderclient
    python-eventlet
    python-greenlet
    python-heatclient
    python-httplib2
    python-iso8601
    python-jinja2
    python-jsonschema
    python-keystoneclient
    python-kombu
    python-lxml
    python-migrate
    python-netaddr
    python-novaclient
    python-oslo-config
    python-passlib
    python-paste-deploy
    python-qpid
    python-routes
    python-sqlalchemy
    python-swiftclient
    python-troveclient
    python-webob

openstack-trove-taskmanager (rpmlib, GLIBC filtered):
    /bin/sh
    /usr/bin/python
    config(openstack-trove-taskmanager)
    openstack-trove-common

openstack-trove-conductor (rpmlib, GLIBC filtered):
    /bin/sh
    /usr/bin/python
    config(openstack-trove-conductor)
    openstack-trove-common



Provides
--------
openstack-trove-guestagent:
    config(openstack-trove-guestagent)
    openstack-trove-guestagent

openstack-trove-common:
    config(openstack-trove-common)
    openstack-trove-common

openstack-trove-api:
    openstack-trove-api

openstack-trove:
    openstack-trove

python-trove:
    python-trove

openstack-trove-taskmanager:
    config(openstack-trove-taskmanager)
    openstack-trove-taskmanager

openstack-trove-conductor:
    config(openstack-trove-conductor)
    openstack-trove-conductor



Source checksums
----------------
https://launchpad.net/trove/icehouse/2014.1/+download/trove-2014.1.tar.gz :
  CHECKSUM(SHA256) this package     : 8a9cec9e32e3eb9522f90221fe7387b6cbc3de18d138a7c8d9ee5e48f89c57b7
  CHECKSUM(SHA256) upstream package : 8a9cec9e32e3eb9522f90221fe7387b6cbc3de18d138a7c8d9ee5e48f89c57b7

Comment 18 Pádraig Brady 2014-06-24 16:50:41 UTC
New Package SCM Request
=======================
Package Name: openstack-trove
Short Description: OpenStack DBaaS (codename trove) provisioning service.
Upstream URL: https://wiki.openstack.org/wiki/Trove
Owners: pbrady
Branches: f20 el6
InitialCC:

Comment 19 Gwyn Ciesla 2014-06-24 18:09:59 UTC
Git done (by process-git-requests).

Comment 20 Sergey Gotliv 2014-06-25 12:30:49 UTC
One small remark:

guest_info - should be located under /etc/ not under /etc/trove as it today.
This file is injected in runtime and unfortunately its location is /etc

Comment 21 Haïkel Guémar 2014-06-25 12:44:26 UTC
+1 I missed it, it could be fixed directly in git
It would be nice to patch it upstream to have a trove subdirectory though, since guest_info is quite a generic name (simple patches to Trove templates and the TaskManager models)

Comment 22 Pádraig Brady 2014-06-25 13:53:26 UTC
trove tarball also has /etc/trove/conf.d/guest_info

Since /etc/trove is better, conf.d is a more standard location
to drop files external to the guestagent package,
I'll use that path throughout.

Comment 23 Pádraig Brady 2014-06-25 15:54:30 UTC
Re comment #22, I still think /etc/trove/conf.d/guest_info is a better location,
and that is honored by our guest. There is a caveat though where we might
have to cater for existing VM that only handled the /etc/guest_info location.

  I'm submitted a change upstream for comment:
  https://review.openstack.org/102566

We can change back if that's rejected upstream

Comment 24 Sergey Gotliv 2014-06-26 05:19:07 UTC
Updating link to the upstream patch suggesting a change mentioned in comment #22:

https://review.openstack.org/#/c/100381/


Note You need to log in before you can comment on or make changes to this bug.