Bug 1023673

Summary: libguestfs-mount dependency is no longer required on EL6 branches
Product: [Community] RDO Reporter: Pádraig Brady <pbrady>
Component: openstack-novaAssignee: RHOS Maint <rhos-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: kchamart, ndipanov, pbrady, rbryant, yeylon
Target Milestone: ---   
Target Release: Juno   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1023674 (view as bug list) Environment:
Last Closed: 2015-02-17 14:56:26 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:

Description Pádraig Brady 2013-10-26 21:33:11 UTC
openstack-nova-compute >= grizzly no longer needs this dependency,
relying solely on python-guestfs

Comment 1 Kashyap Chamarthy 2014-01-05 15:23:29 UTC
(In reply to Pádraig Brady from comment #0)
> openstack-nova-compute >= grizzly no longer needs this dependency,
> relying solely on python-guestfs

I take it as you meant -- python-libguestfs. (Because, Fedora uses python-libguestfs; while Debian uses python-guestfs)

And, I see that it's already fixed long time ago:

On  openstack-nova's master branch:

    $ git branch
    * master

    $ grep libguestfs-mount openstack-nova.spec -B4
    * Wed Nov 28 2012 Nikola Đipanov <ndipanov> 2013.1-0.1.g1
    - Update to Grizzly milestone 1
    - Remove volume subpackage - removed from Grizzly
    - Add the conductor subpackage - new service added in Grizzly
    - Depend on python-libguestfs instead of libguestfs-mount


Ensure python-libguestfs is in 'Requires':

    $ git branch
    * master
    $ git log | head -1
    commit 14f05c2a5ebcf4b76dc526a1fa6d79d66484de94

    $ egrep -i 'Requires.*python-libguestfs' openstack-nova.spec 
    Requires:         python-libguestfs

while, libguestfs-mount is NOT:

    $ egrep -i 'Requires.*libguestfs-mount' openstack-nova.spec


Similarly on f20 branch, ensure python-libguestfs is in 'Requires':

    $ git branch
    * f20
    $ git log | head -1
    commit 365c5df94987700c48cab8ab206100cc4c8f3050

    $ egrep -i 'Requires.*python-libguestfs' openstack-nova.spec 
    Requires:         python-libguestfs  

while, libguestfs-mount is NOT:

    $ egrep -i 'Requires.*libguestfs-mount' openstack-nova.spec


Does this look sensible, Pádraig?

Comment 2 Kashyap Chamarthy 2014-01-05 15:26:38 UTC
(Missed to add the return status, refer below.)

[. . .]

> while, libguestfs-mount is NOT:
> 
>     $ egrep -i 'Requires.*libguestfs-mount' openstack-nova.spec

      $ echo $?
      1
> 
> 
> Similarly on f20 branch, ensure python-libguestfs is in 'Requires':
> 
>     $ git branch
>     * f20

[. . .]

> 
> while, libguestfs-mount is NOT:
> 
>     $ egrep -i 'Requires.*libguestfs-mount' openstack-nova.spec

      $ echo $?
      1

Comment 3 Pádraig Brady 2014-01-05 20:21:07 UTC
That fix was probably not ported to el6-grizzly el6-havana, el6-icehouse branches

Comment 4 Kashyap Chamarthy 2014-01-06 09:38:32 UTC
(In reply to Pádraig Brady from comment #3)
> That fix was probably not ported to el6-grizzly el6-havana, el6-icehouse
> branches

True.

el6-icehouse:

    $ git checkout remotes/origin/el6-icehouse
    $ git log | head -1
    commit 488a38a61c1d718e3ca1e7e3f84a13ad8b86fdfe
    $ egrep -i 'Requires.*libguestfs-mount' openstack-nova.spec
    Requires:         libguestfs-mount >= 1.7.17

el6-havana:

    $ git checkout remotes/origin/el6-havana
    $ git log | head -1
    commit e9a0d53f3920b710860866f001dd031fad331d8d
    $ egrep -i 'Requires.*libguestfs-mount' openstack-nova.spec
    Requires:         libguestfs-mount >= 1.7.17

el6-grizzly:

    $ git checkout remotes/origin/el6-grizzly
    $ git log | head -1
    commit e472ee165232cc6f96a888944e1bb87cda485a87
    $ egrep -i 'Requires.*libguestfs-mount' openstack-nova.spec
    Requires:         libguestfs-mount >= 1.7.17

Comment 5 Pádraig Brady 2014-01-15 14:52:36 UTC
Note this is valid for >= Grizzly
but pragmatic only for >= Havana

Comment 6 Alan Pevec 2015-02-17 14:56:26 UTC
This is fixed in RDO Juno.

Comment 7 Kashyap Chamarthy 2015-02-17 15:55:29 UTC
Just to write down the note Alan mentioned on IRC: IceHouse is in a Security-fixes only mode, similar to upstream: https://wiki.openstack.org/wiki/Releases