Bug 1282880 - if the ovirt-engine-setup-plugin-dockerc is present, engine-clenup will try to connect to docker also if we didn't deployed any container
Summary: if the ovirt-engine-setup-plugin-dockerc is present, engine-clenup will try t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Engine
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-3.6.1
: 3.6.1
Assignee: Simone Tiraboschi
QA Contact: Gonza
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-17 17:23 UTC by Simone Tiraboschi
Modified: 2015-12-16 12:21 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: if the ovirt-engine-setup-plugin-dockerc is present, engine-clenup will try to connect to docker also if we didn't deployed any container Consequence: it will fail if docker daemon is down Fix: try connecting to the docker daemon only if needed
Clone Of:
Environment:
Last Closed: 2015-12-16 12:21:54 UTC
oVirt Team: ---
Embargoed:
rule-engine: ovirt-3.6.z+
ylavi: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 48690 0 master MERGED packaging: setup: on cleanup connecting to docker only if we deployed Never
oVirt gerrit 48691 0 ovirt-engine-3.6 MERGED packaging: setup: on cleanup connecting to docker only if we deployed Never

Description Simone Tiraboschi 2015-11-17 17:23:53 UTC
Description of problem:
If the ovirt-engine-setup-plugin-dockerc is present, engine-clenup will try to connect to docker also if we didn't deployed any container

Version-Release number of selected component (if applicable):
3.6.0

How reproducible:
100% 

Steps to Reproduce:
1. add ovirt-engine-setup-plugin-dockerc
2. run engine-setup, respond no to:
          Deploy Cinder container on this host (Yes, No) [Yes]: no
          Deploy Glance container on this host (Yes, No) [Yes]: no
3. run engine-cleanup

Actual results:
engine-cleanup will fail with:
[ INFO  ] Backing up PKI configuration and keys
[ ERROR ] Failed to execute stage 'Misc configuration': ('Connection aborted.', error(2, 'No such file or directory'))
if nobody started the docker daemon

Expected results:
engine-cleanup will try to connect docker only if really needed cause we deployed some container

Additional info:

Comment 1 Gonza 2015-11-25 16:34:14 UTC
Verified with:
ovirt-engine-3.6.2-0.0.master.20151124181807.git6d4897e.fc22.noarch

[ INFO  ] Execution of cleanup completed successfully

Comment 2 Sandro Bonazzola 2015-12-16 12:21:54 UTC
According to verification status and target milestone this issue should be fixed in oVirt 3.6.1. Closing current release.


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