Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705666 - app-emulation/ganeti-3.0.0_beta1 version bump
Summary: app-emulation/ganeti-3.0.0_beta1 version bump
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-09-21
Assignee: Patrick McLean
URL: https://github.com/ganeti/ganeti/rele...
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: 713052
  Show dependency tree
 
Reported: 2020-01-17 13:35 UTC by Andrea Postiglione
Modified: 2020-09-21 07:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
old patches (gentoo-patches.tar.xz,4.89 KB, application/x-xz)
2020-01-17 13:51 UTC, Andrea Postiglione
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Postiglione 2020-01-17 13:35:03 UTC
there is a new stable version 2.16.1 in the new upstream
Comment 1 Andrea Postiglione 2020-01-17 13:51:12 UTC
Created attachment 603582 [details]
old patches

old patches
Comment 2 Andrea Postiglione 2020-01-19 16:01:45 UTC
(In reply to Andrea Postiglione from comment #1)
> Created attachment 603582 [details]
> old patches
> 
> old patches

now depend on dev-haskell/cryptonite >=0.25

mkdir -p apps
rm -f apps/htools.hs
ln -s ../src/htools.hs apps/htools.hs
touch apps/htools.hs.stamp
mkdir -p apps
rm -f apps/hpc-htools.hs
ln -s ../test/hs/hpc-htools.hs apps/hpc-htools.hs
touch apps/hpc-htools.hs.stamp
mkdir -p apps
rm -f apps/hpc-mon-collector.hs
ln -s ../test/hs/hpc-mon-collector.hs apps/hpc-mon-collector.hs
touch apps/hpc-mon-collector.hs.stamp
mkdir -p apps
rm -f apps/ganeti-kvmd.hs
ln -s ../src/ganeti-kvmd.hs apps/ganeti-kvmd.hs
touch apps/ganeti-kvmd.hs.stamp
mkdir -p apps
rm -f apps/ganeti-wconfd.hs
ln -s ../src/ganeti-wconfd.hs apps/ganeti-wconfd.hs
touch apps/ganeti-wconfd.hs.stamp
mkdir -p apps
rm -f apps/hconfd.hs
ln -s ../src/hconfd.hs apps/hconfd.hs
touch apps/hconfd.hs.stamp
mkdir -p apps
rm -f apps/hluxid.hs
ln -s ../src/hluxid.hs apps/hluxid.hs
touch apps/hluxid.hs.stamp
mkdir -p apps
rm -f apps/hs2py.hs
ln -s ../src/hs2py.hs apps/hs2py.hs
touch apps/hs2py.hs.stamp
mkdir -p apps
rm -f apps/rpc-test.hs
ln -s ../src/rpc-test.hs apps/rpc-test.hs
touch apps/rpc-test.hs.stamp
mkdir -p apps
rm -f apps/ganeti-mond.hs
ln -s ../src/ganeti-mond.hs apps/ganeti-mond.hs
touch apps/ganeti-mond.hs.stamp
mkdir -p apps
rm -f apps/ganeti-metad.hs
ln -s ../src/ganeti-metad.hs apps/ganeti-metad.hs
touch apps/ganeti-metad.hs.stamp
for p in src/htools test/hs/hpc-htools test/hs/hpc-mon-collector src/ganeti-kvmd src/ganeti-wconfd src/hconfd src/hluxid src/hs2py src/rpc-test src/ganeti-mond src/ganeti-metad ; do \
  echo                                   >> ganeti.cabal; \
  echo "executable `basename $p`"       >> ganeti.cabal; \
  echo "  hs-source-dirs: apps"          >> ganeti.cabal; \
  echo "  main-is: `basename $p`.hs"    >> ganeti.cabal; \
  echo "  default-language: Haskell2010" >> ganeti.cabal; \
  echo "  build-depends:"                >> ganeti.cabal; \
  echo "      base"                      >> ganeti.cabal; \
  echo "    , ganeti"                    >> ganeti.cabal; \
  if [ $p == test/hs/htest ]; then \
    echo "    , hslogger"                  >> ganeti.cabal; \
    echo "    , test-framework"            >> ganeti.cabal; \
  elif [ $p == src/rpc-test ]; then \
    echo "    , json"                      >> ganeti.cabal; \
  fi \
done
touch empty-cabal-config
/usr/bin/cabal --config-file=empty-cabal-config configure --user \
  -f`test no == yes && echo "htest" || echo "-htest"` \
  -f`test True == True && echo "mond" || echo "-mond"` \
  -f`test True == True && echo "metad" || echo "-metad"`
Warning: No remote package servers have been specified. Usually you would have
one specified in the config file.
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
trying: ganeti-2.16 (user goal)
next goal: cryptonite (dependency of ganeti-2.16)
rejecting: cryptonite-0.21/installed-82G... (conflict: ganeti =>
cryptonite>=0.25)
Dependency tree exhaustively searched.
Trying configure anyway.
Configuring ganeti-2.16...
cabal: Encountered missing dependencies:
cryptonite >=0.25
Makefile:4311: Makefile.ghc: No such file or directory
make: *** [Makefile:4320: cabal_macros.h] Error 1
Comment 3 Andrea Postiglione 2020-01-30 18:08:44 UTC
Software Requirements
---------------------

.. highlight:: shell-example

Before installing, please verify that you have the following programs:

- `Xen Hypervisor <http://www.xen.org/>`_, version 3.0 or above, if
  running on Xen
- `KVM Hypervisor <http://www.linux-kvm.org>`_, version 72 or above, if
  running on KVM. In order to use advanced features, such as live
  migration, virtio, etc, an even newer version is recommended (qemu-kvm
  versions 0.11.X and above have shown good behavior).
- `DRBD <http://www.drbd.org/>`_, kernel module and userspace utils,
  version 8.0.7 or above, up to 8.4.x.
- `RBD <http://ceph.newdream.net/>`_, kernel modules
  (``rbd.ko``/``libceph.ko``) and userspace utils (``ceph-common``)
- `LVM2 <http://sourceware.org/lvm2/>`_
- `OpenSSH <http://www.openssh.com/portable.html>`_
- `bridge utilities <http://www.linuxfoundation.org/en/Net:Bridge>`_
- `iproute2 <http://www.linuxfoundation.org/en/Net:Iproute2>`_
- `arping <http://www.skbuff.net/iputils/>`_ (part of iputils)
- `ndisc6 <http://www.remlab.net/ndisc6/>`_ (if using IPv6)
- `Python <http://www.python.org/>`_, version 2.6 or above, not 3.0
- `Python OpenSSL bindings <http://pyopenssl.sourceforge.net/>`_
- `simplejson Python module <http://code.google.com/p/simplejson/>`_
- `pyparsing Python module <http://pyparsing.wikispaces.com/>`_, version
  1.4.6 or above
- `pyinotify Python module <https://github.com/seb-m/pyinotify>`_
- `PycURL Python module <http://pycurl.sourceforge.net/>`_
- `socat <http://www.dest-unreach.org/socat/>`_, see :ref:`note
  <socat-note>` below
- `Paramiko <http://www.lag.net/paramiko/>`_, if you want to use
  ``ganeti-listrunner``
- `psutil Python module <https://github.com/giampaolo/psutil>`_,
  optional python package for supporting CPU pinning under KVM, versions
  2.x.x only; beware that versions from 2.0.0 to before 2.2.0 had a
  number of file handle leaks, so running at least 2.2.0 is advised
- `fdsend Python module <https://gitorious.org/python-fdsend>`_,
  optional Python package for supporting NIC hotplugging under KVM
- `qemu-img <http://qemu.org/>`_, if you want to use ``ovfconverter``
- `fping <http://fping.sourceforge.net/>`_
- `Python IP address manipulation library
  <http://code.google.com/p/ipaddr-py/>`_
- `Bitarray Python library <http://pypi.python.org/pypi/bitarray/>`_
- `GNU Make <http://www.gnu.org/software/make/>`_
- `GNU M4 <http://www.gnu.org/software/m4/>`_


Haskell requirements
~~~~~~~~~~~~~~~~~~~~

Starting with Ganeti 2.7, the Haskell GHC compiler and a few base
libraries are required in order to build Ganeti (but not to run and
deploy Ganeti on production machines). More specifically:

- `GHC <http://www.haskell.org/ghc/>`_ version 7 or higher
- or even better, `The Haskell Platform
  <http://hackage.haskell.org/platform/>`_ which gives you a simple way
  to bootstrap Haskell
- `cabal-install <http://hackage.haskell.org/package/json>`_ and
  `Cabal <http://hackage.haskell.org/package/json>`_, the Common Architecture
  for Building Haskell Applications and Libraries (executable and library)
- `json <http://hackage.haskell.org/package/json>`_, a JSON library
- `network <http://hackage.haskell.org/package/network>`_, a basic
  network library
- `parallel <http://hackage.haskell.org/package/parallel>`_, a parallel
  programming library (note: tested with up to version 3.x)
- `bytestring <http://hackage.haskell.org/package/bytestring>`_ and
  `utf8-string <http://hackage.haskell.org/package/utf8-string>`_
  libraries; these usually come with the GHC compiler
- `text <http://hackage.haskell.org/package/text>`_
- `deepseq <http://hackage.haskell.org/package/deepseq>`_,
  usually comes with the GHC compiler
- `curl <http://hackage.haskell.org/package/curl>`_, tested with
  versions 1.3.4 and above
- `hslogger <http://software.complete.org/hslogger>`_, version 1.1 and
  above.
- `hinotify <http://hackage.haskell.org/package/hinotify>`_, tested with
  version 0.3.2
- `Crypto <http://hackage.haskell.org/package/Crypto>`_, tested with
  version 4.2.4
- `regex-pcre <http://hackage.haskell.org/package/regex-pcre>`_,
  bindings for the ``pcre`` library
- `attoparsec <http://hackage.haskell.org/package/attoparsec>`_,
  version 0.10 and above
- `vector <http://hackage.haskell.org/package/vector>`_
- `process <http://hackage.haskell.org/package/process>`_, version 1.0.1.1 and
  above; usually comes with the GHC compiler
- `base64-bytestring
  <http://hackage.haskell.org/package/base64-bytestring>`_,
  version 1.0.0.0 and above
- `lifted-base <http://hackage.haskell.org/package/lifted-base>`_,
  version 0.1.1 and above.
- `lens <http://hackage.haskell.org/package/lens>`_,
  version 3.10 and above.
Comment 4 Andrea Postiglione 2020-02-10 13:09:06 UTC
any news?
Comment 5 Andreas Sturmlechner gentoo-dev 2020-06-25 13:14:28 UTC
Ganeti 3.0
===========

"This is a major version pre-release, porting Ganeti to Python 3, fixing bugs and adding new features."

...

"Please note, that there is no supported upgrade path for users running
Ganeti-2.17 (i.e. 2.17.0 beta1). Ganeti-2.17 was never released, so
hopefully no one uses it."

^ Maybe currently masked versions "for testing" should finally be removed.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-21 07:33:58 UTC
removed.