Hi Paul

Forget that patch please. You don’t need to do any modification to compass4nfv 

After cloning compass4nfv repo, just checkout to the stable/euphrates  branch  
(git checkout remotes/origin/stable/Euphrates; git checkout �Cb 
stable/euphrates). Because we have fixed some issues after opnfv-5.1.

You also need to use the latest image of stable/Euphrates, here is the download 

For the DB issue you faced, please use “devicemapper” as your docker storage 
driver and restart docker engine. For Euphrates release, we only support 
“devicemapper” as the storage driver of Docker.

BTW. Are you running a virtual deployment or bare metal deployment?

You can also find us in the IRC channel “#opnfv-compass4nfv”. We can talk there 
for a better communication.


Best Regards
Yifei Xue

From: opnfv-users-boun...@lists.opnfv.org 
[mailto:opnfv-users-boun...@lists.opnfv.org] On Behalf Of 
Sent: Wednesday, March 07, 2018 11:08 AM
To: opnfv-users@lists.opnfv.org
Subject: [opnfv-users] Compass containers do not work with docker overlay 
driver, according to the official modification is still failed


I use laptop as jumphost and deploy OPNFV Euphrates using compass4nfv.
Due to the Linux kernel version, I used docker storage driver is overlay, in 
"/etc/docker/daemon.json" I made the following changes:
  "storage-driver": "overlay"

Execute the 'sudo -H ./deploy.sh' command in the Call scripts to create tables 
for compass db inside compass-deck: docker exec compass-deck bash -c 
"/opt/compass/bin/manage_db.py createdb" procedure failure.
The search to find "https://jira.opnfv.org/browse/COMPASS-572"; raised the same 
question as my question, to find further official ways to suggest changes to 
this question (https://gerrit.opnfv.org/gerrit/#/c/50755/)

For "https://gerrit.opnfv.org/gerrit/#/c/50755/"; I made the following changes:
1. "compass4nfv/deploy/adapters/ansible/roles/config-osa/templates/ansible.cfg":
Add "control_path_dir =/dev/shm/ansible_control_path"

Add "control_path_dir=/dev/shm/ansible_control_path"

3. "compass4nfv/deploy/prepare.sh"
Remove line 30 to line 34
  sudo cat << EOF > /etc/docker/daemon.json
  "storage-driver": "devicemapper"
Remove line 189 to line 193
sudo cat << EOF > /etc/docker/daemon.json
  "storage-driver": "devicemapper"
Remove line 197 to line 202
     StorageDriver=$(sudo docker info | grep "Storage Driver" | awk '{print 
     if [[ $StorageDriver != "devicemapper" ]]; then
         echo "The storage driver of docker currently only supports 
         exit 1
line 124 pip install ansible== ==> pip install ansible==
line 285 pip install ansible== ==> pip install ansible==

4. compass4nfv/repo/jhenv_template/Ubuntu/trusty/Dockerfile
line 70 pip install ansible== ==> pip install ansible==

5. compass4nfv/repo/jhenv_template/Ubuntu/xenial/Dockerfile
line 67 pip install ansible== ==> pip install ansible==

In addition, for "https://gerrit.opnfv.org/gerrit/#/c/50819/"; in jumphost I can 
not find the "compass-containers/compass-db/Dockerfile"

Then re-implementation of the "sudo-H ./deploy.sh" command, still get the same 
error, would like to ask me in which part of the operation error
compass4nfv版本: stable/euphrates
iso image: http://artifacts.opnfv.org/compass4nfv/euphrates/opnfv-5.1.tar.gz
DHA: ./deploy/conf/hardware_environment/huawei-pod1/os-nosdn-nofeature-ha.yml
NETWORK: ./compass4nfv/deploy/conf/hardware_environment/huawei-pod1/network.yml

Thank you

This electronic mail transmission is intended only for the named recipient. It 
contains information which may be privileged,confidential and exempt from 
disclosure under applicable law. Dissemination, distribution, or copying of 
this communication by anyone other than the recipient or the recipient's agent 
is strictly prohibited. If this electronic mail transmission is received in 
error, Please notify us immediately and delete the message and all attachments 
of it from your computer system. Thank you for your cooperation.
opnfv-users mailing list

Reply via email to