Bug 1097638 - It will install the docker as dependency by default but not docker-io if install the geard via yum directly on Fedora20
Summary: It will install the docker as dependency by default but not docker-io if inst...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Lokesh Mandvekar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-14 08:33 UTC by Liang Xia
Modified: 2015-05-14 23:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-11 00:06:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Liang Xia 2014-05-14 08:33:32 UTC
Description of problem:
Failed to start geard service on fedora 20 as incorrect dependencies installed.
The dependencies for geard should be docker-io instead of docker.

No this issue on RHEL7-beta

Version-Release number of selected component (if applicable):
geard-0-0.7.gitc105889.fc20.x86_64

How reproducible:
always

Steps to Reproduce:
1.Make sure you do not have geard,docker and docker-io installed.
# rpm -qa | grep -e docker -e geard
2.Install geard on fedora 20
# yum install --enablerepo=updates-testing geard
3.Try to start geard service
# service geard start

Actual results:
# service geard start
Redirecting to /bin/systemctl start  geard.service

# service geard status
Redirecting to /bin/systemctl status  geard.service
geard.service - Gear Provisioning Daemon (geard)
   Loaded: loaded (/usr/lib/systemd/system/geard.service; disabled)
   Active: failed (Result: exit-code) since Wed 2014-05-14 15:49:55 CST; 4s ago
     Docs: https://github.com/openshift/geard
  Process: 6135 ExecStart=/usr/bin/gear daemon $GEARD_OPTS (code=exited, status=2)
 Main PID: 6135 (code=exited, status=2)
May 14 15:49:55 localhost.localdomain gear[6135]: /builddir/build/BUILD/geard-c10588936f5c0829799a9db39030c25ee6d...x66e
May 14 15:49:55 localhost.localdomain gear[6135]: main.Execute()
May 14 15:49:55 localhost.localdomain gear[6135]: /builddir/build/BUILD/geard-c10588936f5c0829799a9db39030c25ee6d...1aa7
May 14 15:49:55 localhost.localdomain gear[6135]: main.main()
May 14 15:49:55 localhost.localdomain gear[6135]: /builddir/build/BUILD/geard-c10588936f5c0829799a9db39030c25ee6d...0x1a
May 14 15:49:55 localhost.localdomain gear[6135]: goroutine 16 [syscall]:
May 14 15:49:55 localhost.localdomain gear[6135]: runtime.goexit()
May 14 15:49:55 localhost.localdomain gear[6135]: /usr/lib64/golang/src/pkg/runtime/proc.c:1394
May 14 15:49:55 localhost.localdomain systemd[1]: geard.service: main process exited, code=exited, status=2/INVAL...MENT
May 14 15:49:55 localhost.localdomain systemd[1]: Unit geard.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

Expected results:
geard install successfully and works fine.

Additional info:
# yum install --enablerepo=updates-testing geard
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package geard.x86_64 0:0-0.7.gitc105889.fc20 will be installed
--> Processing Dependency: /usr/bin/docker for package: geard-0-0.7.gitc105889.fc20.x86_64
--> Running transaction check
---> Package docker.x86_64 0:1.5-10.fc20 will be installed
--> Finished Dependency Resolution
........

Comment 1 Lokesh Mandvekar 2014-05-31 19:44:04 UTC
Not sure why it's not auto-posting an update for a new rpm (perhaps because the product is OpenShift Origin, but whatever) ... the latest update https://admin.fedoraproject.org/updates/geard-0-0.9.git3c781d0.fc20 should take care of the dependency issue.

Comment 2 Lokesh Mandvekar 2014-05-31 21:38:48 UTC
link to the rpm: https://kojipkgs.fedoraproject.org//packages/geard/0/0.9.git3c781d0.fc20/x86_64/geard-0-0.9.git3c781d0.fc20.x86_64.rpm ..should land in the yum repo in sometime

Comment 3 Liang Xia 2014-06-05 08:56:50 UTC
Verified this has been fixed with geard.x86_64 0:0-0.9.git3c781d0.fc20.

Resolving Dependencies
--> Running transaction check
---> Package geard.x86_64 0:0-0.9.git3c781d0.fc20 will be installed
--> Processing Dependency: docker-io for package: geard-0-0.9.git3c781d0.fc20.x86_64
--> Running transaction check
---> Package docker-io.x86_64 0:0.11.1-7.fc20 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                 Arch                 Version                               Repository                     Size
========================================================================================================================
Installing:
 geard                   x86_64               0-0.9.git3c781d0.fc20                 updates-testing               6.5 M
Installing for dependencies:
 docker-io               x86_64               0.11.1-7.fc20                         updates-testing               4.4 M

Comment 5 Lokesh Mandvekar 2014-07-13 14:18:18 UTC
Can this be closed?

Comment 6 Lokesh Mandvekar 2014-09-11 00:06:56 UTC
I'm closing this bug since geard has been retired from Fedora https://admin.fedoraproject.org/pkgdb/package/geard/


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