RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1177361 - Review Request: sahara-image-elements - Image creation tools for Openstack Sahara
Summary: Review Request: sahara-image-elements - Image creation tools for Openstack Sa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: RDO
Classification: Community
Component: Package Review
Version: trunk
Hardware: All
OS: Linux
medium
medium
Target Milestone: Milestone2
: trunk
Assignee: Haïkel Guémar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-26 15:54 UTC by Elise Gafford
Modified: 2017-06-18 14:02 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-06-18 14:02:28 UTC
Embargoed:
hguemar: rdo-review+


Attachments (Terms of Use)

Description Elise Gafford 2014-12-26 15:54:28 UTC
Spec URL: https://github.com/egafford/sahara-image-elements-fedora/blob/master/sahara-image-elements.spec
SRPM URL: https://github.com/egafford/sahara-image-elements-fedora/blob/master/sahara-image-elements-2014.2-1.fc20.src.rpm
Description: Sahara-image-elements provides the ability to create the images necessary to generate data processing clusters
in Sahara.
Fedora Account System Username: egafford
Koji Scratch Build URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=8481809

Note: This is my first new Fedora package, though I have maintained the openstack-sahara package previously. I have spoken with hguemar about performing sponsorship/review.

Comment 1 Elise Gafford 2014-12-26 17:06:43 UTC
Updating github and comments per Haikel's comments. Revised links:

Spec URL: https://raw.githubusercontent.com/egafford/sahara-image-elements-fedora/master/sahara-image-elements.spec
SRPM URL: https://raw.githubusercontent.com/egafford/sahara-image-elements-fedora/master/sahara-image-elements-2014.2-1.fc20.src.rpm
Description: Sahara-image-elements provides the ability to create the images necessary to generate data processing clusters
in Sahara.
Fedora Account System Username: egafford
Koji Scratch Build URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=8481881

Comment 2 Haïkel Guémar 2015-01-02 12:24:00 UTC
I hereby approve this package into Fedora Packages Collection since it complies with Fedora Packaging guidelines. Please submit an scm request.


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:
     "Unknown or generated". 3 files have unknown license. Detailed output of
     licensecheck in /home/haikel/1177361-sahara-image-
     elements/licensecheck.txt
[x]: Package must own all directories that it creates.
     Note: Directories without known owners: /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 30720 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]: 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]: 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

===== 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.
[-]: Patches link to upstream bugs/comments/lists or are otherwise justified.
[-]: 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]: 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: sahara-image-elements-2014.2-1.fc22.noarch.rpm
          sahara-image-elements-2014.2-1.fc22.src.rpm
sahara-image-elements.noarch: E: description-line-too-long C Sahara-image-elements provides the ability to create the images necessary to generate data processing clusters
sahara-image-elements.noarch: E: non-executable-script /usr/share/sahara-elements/mysql/install.d/start-mysql.sh 0644L /bin/bash
sahara-image-elements.noarch: E: non-executable-script /usr/share/sahara-elements/hadoop/post-install.d/firstboot 0644L /bin/bash
sahara-image-elements.noarch: E: version-control-internal-file /usr/share/sahara-elements/.gitignore
sahara-image-elements.src: E: description-line-too-long C Sahara-image-elements provides the ability to create the images necessary to generate data processing clusters
2 packages and 0 specfiles checked; 5 errors, 0 warnings.




Rpmlint (installed packages)
----------------------------
]0;<mock-chroot><mock-chroot>[root@zangetsu /]# rpmlint sahara-image-elements
sahara-image-elements.noarch: E: description-line-too-long C Sahara-image-elements provides the ability to create the images necessary to generate data processing clusters
sahara-image-elements.noarch: E: non-executable-script /usr/share/sahara-elements/mysql/install.d/start-mysql.sh 0644L /bin/bash
sahara-image-elements.noarch: E: non-executable-script /usr/share/sahara-elements/hadoop/post-install.d/firstboot 0644L /bin/bash
sahara-image-elements.noarch: E: version-control-internal-file /usr/share/sahara-elements/.gitignore
1 packages and 0 specfiles checked; 4 errors, 0 warnings.
]0;<mock-chroot><mock-chroot>[root@zangetsu /]# echo 'rpmlint-done:'



Requires
--------
sahara-image-elements (rpmlib, GLIBC filtered):
    /bin/bash
    /bin/sh
    diskimage-builder
    rsync



Provides
--------
sahara-image-elements:
    sahara-image-elements



Source checksums
----------------
http://tarballs.openstack.org/sahara-image-elements/sahara-image-elements-2014.2.tar.gz :
  CHECKSUM(SHA256) this package     : 0f46d0ee900869b239864f13d459c5dd155c6787170fe48e48af0e99c229b9d5
  CHECKSUM(SHA256) upstream package : 0f46d0ee900869b239864f13d459c5dd155c6787170fe48e48af0e99c229b9d5

Comment 3 Elise Gafford 2015-01-02 14:32:51 UTC
New Package SCM Request
=======================
Package Name: sahara-image-elements
Short Description: Sahara-image-elements provides the ability to create the images necessary to generate data processing clusters
Upstream URL: https://github.com/openstack/sahara-image-elements
Owners: egafford
Branches: f20 f21 f22 epel7
InitialCC: karlthered

Comment 4 Gwyn Ciesla 2015-01-08 14:35:57 UTC
karlthered is not a valid FAS account.  Also, don't request f22,
rawhide is automatically provided.

Comment 5 hguemar 2015-01-08 16:20:16 UTC
@Ethan: FYI, my FAS account is hguemar

Comment 6 Elise Gafford 2015-01-08 16:33:47 UTC

New Package SCM Request
=======================
Package Name: sahara-image-elements
Short Description: Sahara-image-elements provides the ability to create the images necessary to generate data processing clusters
Upstream URL: https://github.com/openstack/sahara-image-elements
Owners: egafford
Branches: f20 f21 epel7
InitialCC: hguemar

Comment 7 Gwyn Ciesla 2015-01-08 17:23:56 UTC
Git done (by process-git-requests).

Comment 8 Upstream Release Monitoring 2015-10-13 11:08:15 UTC
social's scratch build of openstack-puppet-modules?#db4e135626252ebf0b23b8a0e6e98ce0dcf2f9e6 for git://pkgs.fedoraproject.org/openstack-puppet-modules?#db4e135626252ebf0b23b8a0e6e98ce0dcf2f9e6 and rawhide completed http://koji.fedoraproject.org/koji/taskinfo?taskID=11426591

Comment 9 Alan Pevec 2016-02-17 12:00:59 UTC
sahara-image-elements was not built in Fedora Koji yet and it's not imported to github/openstack-packages

Is there a use-case to provide Fedora-based sahara guest image or we don't actually need this DIB element in Fedora?

Comment 10 Elise Gafford 2016-06-13 22:53:54 UTC
We dropped this thread forever ago. Necroposting a link to a new spec repository for modern Delorean and current master:

https://github.com/egafford/sahara-image-elements_distgit

Haïkel, can we import this?

Comment 11 Elise Gafford 2016-06-15 14:28:34 UTC
Moving to RDO product, as openstack core packages (save clients) are no longer distributed in Fedora repos.

Comment 12 hguemar 2016-06-30 13:45:14 UTC
This one was reviewed and approved under Fedora, so no need of new review.
Anyway, I'll carefully review the refreshed spec in the platform

Comment 13 Elise Gafford 2016-09-19 20:55:30 UTC
Hi Haikel,

https://review.rdoproject.org/r/#/c/2394/ is merged into RDO. What more needs to be done here, if anything?

Comment 14 Alan Pevec 2016-09-22 00:00:23 UTC
Elise, last step was https://review.rdoproject.org/r/#/c/2568/
to enable it building for RDO Trunk.

Comment 15 Alan Pevec 2016-09-22 00:04:26 UTC
BTW should we retire this in Fedora[1] ?
The only use-case would be if building Sahara guest image based on Fedora makes sense, does it?

[1] https://admin.fedoraproject.org/pkgdb/package/rpms/sahara-image-elements/

Comment 16 Elise Gafford 2016-09-22 15:10:13 UTC
Hi Alan,

I think that retiring this repo from Fedora is probably somewhere between a good and a necessary idea. As it's a DIB-based tool, we really need to run a fair number of tests on each (guest, host) tuple we want to support, and CentOS is clearly emerging as the platform of choice for RDO (for good reason).

Thanks,
Elise

Comment 17 Christopher Brown 2017-06-18 14:02:28 UTC
This was built.


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