Bug 1555925
Summary: | OpenDaylight Container fails to start due to volume mounting destroying ODL etc config dir | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Tim Rozet <trozet> |
Component: | openstack-tripleo-heat-templates | Assignee: | Tim Rozet <trozet> |
Status: | CLOSED ERRATA | QA Contact: | Itzik Brown <itbrown> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 13.0 (Queens) | CC: | jchhatba, mburns, rhel-osp-director-maint |
Target Milestone: | beta | Keywords: | Triaged |
Target Release: | 13.0 (Queens) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-8.0.0-0.20180304031150 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: |
N/A
|
|
Last Closed: | 2018-06-27 13:46:53 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
Tim Rozet
2018-03-14 21:03:09 UTC
A workaround for now is to remove the line from the docker/services/opendaylight_api.yaml file: https://github.com/openstack/tripleo-heat-templates/blob/master/docker/services/opendaylight-api.yaml#L141 Janki, why was this added in: https://review.openstack.org/#/c/489201/31/docker/services/opendaylight-api.yaml ? It was added to set upgrade flag to false at https://review.openstack.org/#/c/489201/31/docker/services/opendaylight-api.yaml L169. (I am now thinking if that is the correct place). However, the mount should have copied files from container to host and not delete all the files from container. The reason why this is not happening is because etc/ is not created on host. Correct solution here would be to add '/var/lib/opendaylight/etc' under host_prep_tasks. (In reply to Janki from comment #4) > It was added to set upgrade flag to false at > https://review.openstack.org/#/c/489201/31/docker/services/opendaylight-api. > yaml L169. (I am now thinking if that is the correct place). > > However, the mount should have copied files from container to host and not > delete all the files from container. The reason why this is not happening is > because etc/ is not created on host. Correct solution here would be to add > '/var/lib/opendaylight/etc' under host_prep_tasks. Adding etc/ on host via host_prep_tasks doesnot solve the problem too. Ideally, all files from container should be copied to host and vice versa when a volume is mounted. Need to find why this is not happening. Meanwhile, we can either not mount etc/ and find another way to change the ODL upgrade flag. Checked with: puppet-opendaylight-8.1.0-0.20180321182556.45c4db7.el7ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:2086 |