Hi Paul

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

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 
link: 
http://artifacts.opnfv.org/compass4nfv/euphrates/opnfv-2018-03-06_08-01-16.tar.gz

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.

Thanks.

Best Regards
Yifei Xue

From: opnfv-users-boun...@lists.opnfv.org 
[mailto:opnfv-users-boun...@lists.opnfv.org] On Behalf Of 
paul_d...@alphanetworks.com
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

Hi:

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"

2. 
compass4nfv/deploy/compass_conf/templates/ansible_installer/openstack_ocata/ansible_cfg/HA-ansible-multinodes.tmpl
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"
}
EOF
‘’’
Remove line 189 to line 193
‘’’
sudo cat << EOF > /etc/docker/daemon.json
{
  "storage-driver": "devicemapper"
}
EOF
‘’’
Remove line 197 to line 202
‘’’
else
     StorageDriver=$(sudo docker info | grep "Storage Driver" | awk '{print 
$3}')
     if [[ $StorageDriver != "devicemapper" ]]; then
         echo "The storage driver of docker currently only supports 
'devicemapper'."
         exit 1
     fi
‘’’
line 124 pip install ansible==2.3.1.0 ==> pip install ansible==2.3.2.0
line 285 pip install ansible==2.3.1.0 ==> pip install ansible==2.3.2.0

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

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

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
p.s.附件是compass-deploy.log
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
Paul

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
opnfv-users@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-users

Reply via email to