Bug 1523100
| Summary: | Package review: tripleo-ipsec - Ansible role to configure IPSEC tunnels for TripleO | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Juan Antonio Osorio <josorior> | ||||||
| Component: | Package Review | Assignee: | Matthias Runge <mrunge> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | hguemar | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | trunk | CC: | atelang, dbecker, jpena, karlthered, kbasil, mburns, morazi, mrunge, nkinder, panbalag, rhel-osp-director-maint | ||||||
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged | ||||||
| Target Release: | trunk | Flags: | mrunge:
rdo-review+
|
||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | 1519931 | Environment: | |||||||
| Last Closed: | 2018-01-09 14:03:01 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: | 1519931 | ||||||||
| Bug Blocks: | 1486366 | ||||||||
| Attachments: |
|
||||||||
|
Description
Juan Antonio Osorio
2017-12-07 08:45:58 UTC
Here's a link to the role's repository: https://review.openstack.org/#/admin/projects/openstack/tripleo-ipsec and https://git.openstack.org/cgit/openstack/tripleo-ipsec/summary Initial licensecheck output: $ licensecheck -r . ./.gitreview: *No copyright* UNKNOWN ./.zuul.yaml: *No copyright* UNKNOWN ./LICENSE: UNKNOWN ./README.md: *No copyright* UNKNOWN ./setup.cfg: *No copyright* UNKNOWN ./setup.py: Apache (v2.0) GENERATED FILE ./tox.ini: *No copyright* UNKNOWN ./defaults/main.yml: *No copyright* UNKNOWN ./files/ipsec-resource-agent.sh: GPL (v2) (with incorrect FSF address) ./handlers/main.yml: *No copyright* UNKNOWN ./meta/main.yml: *No copyright* UNKNOWN ./tasks/firewall.yml: *No copyright* UNKNOWN ./tasks/hardcoded-network-discover.yml: *No copyright* UNKNOWN ./tasks/ipsec-conf.yml: *No copyright* UNKNOWN ./tasks/ipsec.yml: *No copyright* UNKNOWN ./tasks/legacy-ipsec-conf.yml: *No copyright* UNKNOWN ./tasks/legacy.yml: *No copyright* UNKNOWN ./tasks/main.yml: *No copyright* UNKNOWN ./tasks/resource-agent.yml: *No copyright* UNKNOWN ./tasks/setup.yml: *No copyright* UNKNOWN ./tasks/uninstall.yml: *No copyright* UNKNOWN ./templates/ipsec-node-to-node-private-or-clear.conf.j2: *No copyright* GENERATED FILE ./templates/ipsec-node-to-node-private.conf.j2: *No copyright* GENERATED FILE ./templates/ipsec-node-to-node-tunnels.secrets.j2: *No copyright* UNKNOWN ./templates/ipsec-opportunistic-private-or-clear.conf.j2: *No copyright* GENERATED FILE ./templates/ipsec-opportunistic-private.conf.j2: *No copyright* GENERATED FILE ./templates/ipsec-vip-tunnels.conf.j2: *No copyright* GENERATED FILE ./templates/ipsec-vip-tunnels.secrets.j2: *No copyright* UNKNOWN ./templates/legacy-ipsec-node-to-node-tunnels.conf.j2: *No copyright* GENERATED FILE ./templates/legacy-ipsec-node-to-node-tunnels.secrets.j2: *No copyright* UNKNOWN ./templates/policy.j2: *No copyright* GENERATED FILE ./tests/deploy-ipsec-tripleo.yml: *No copyright* UNKNOWN ./tests/inventory: *No copyright* UNKNOWN ./tests/test.yml: *No copyright* UNKNOWN ./zuul.d/layout.yml: *No copyright* UNKNOWN Licensecheck is failing to identify the license in file LICENSE, which is GPL v3. Thus, the repository is licensed as GPL v3. Created attachment 1364880 [details]
tripleo-ipsec.spec
Created attachment 1364881 [details]
ansible-tripleo-ipsec.spec
while the code looks ok, there is not even a release, no tag. That makes it hard to do a review based on any release. The licensing is ok, the spec file is readable and uses macros consistently. It also does not include any bundled content. 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: "GPL (v2) (with incorrect FSF address)", "Unknown or
generated". 42 files have unknown license. Detailed output of
licensecheck in /home/hguemar/dist-git-delorean/centos-
master/data/repos/b5/ff/b5ffd14a044c069eb69119e3542837aa504db019_dev
/ansible-tripleo-ipsec/licensecheck.txt
[x]: Package requires other packages for directories it uses.
Note: No known owner of /usr/share/ansible
[x]: Package must own all directories that it creates.
Note: Directories without known owners: /usr/share/ansible,
/usr/lib/python2.7, /usr/lib/python2.7/site-packages
[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.
[-]: 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.
[-]: 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]: 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 %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
work.
[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
%{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local
===== 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).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: SourceX tarball generation or download is documented.
Note: Package contains tarball without URL, check comments
[-]: 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.
[-]: Spec use %global instead of %define unless justified.
Note: %define requiring justification: %define upstream_version
0.0.1.dev147
[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]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: SourceX is a working URL.
===== EXTRA items =====
Generic:
[x]: Rpmlint is run on all installed packages.
Note: There are rpmlint messages (see attachment).
Rpmlint
-------
Checking: ansible-tripleo-ipsec-0.0.1-0.20171211143842.b5ffd14.el7.noarch.rpm
ansible-tripleo-ipsec-0.0.1-0.20171211143842.b5ffd14.el7.src.rpm
ansible-tripleo-ipsec.noarch: E: no-changelogname-tag
ansible-tripleo-ipsec.noarch: E: non-executable-script /usr/share/ansible/roles/tripleo-ipsec/files/ipsec-resource-agent.sh 644 /bin/sh
ansible-tripleo-ipsec.src: E: no-changelogname-tag
ansible-tripleo-ipsec.src: W: invalid-url Source0: tripleo-ipsec-0.0.1.dev147-0.20171211143842.b5ffd14.tar.gz
2 packages and 0 specfiles checked; 3 errors, 1 warnings.
Rpmlint (installed packages)
----------------------------
ansible-tripleo-ipsec.noarch: E: no-changelogname-tag
ansible-tripleo-ipsec.noarch: W: invalid-url URL: https://git.openstack.org/cgit/openstack/tripleo-ipsec <urlopen error [Errno -2] Name or service not known>
ansible-tripleo-ipsec.noarch: E: non-executable-script /usr/share/ansible/roles/tripleo-ipsec/files/ipsec-resource-agent.sh 0644L /bin/sh
1 packages and 0 specfiles checked; 2 errors, 1 warnings.
Requires
--------
ansible-tripleo-ipsec (rpmlib, GLIBC filtered):
ansible
Provides
--------
ansible-tripleo-ipsec:
ansible-tripleo-ipsec
Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -m rdo-pike-el7 -r --name ansible-tripleo-ipsec-0.0.1-0.20171211143842.b5ffd14.el7.centos.src.rpm
Buildroot used: cloud7-openstack-pike-el7-build
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6
The package is already available in RDO Trunk, closing. |