Open ACodingfreak opened 7 years ago
hello @ajithadapa , I have the same problem in ùy opencontrail installation. How did you fix it please ? In case, you had resolve it ?!
Thanks
Hello,
I'm facing the same issue.
Best regards.
Hello,
I've solved this dependency (chkconfig package is missing into Ubuntu 16.04) issue. Two files in ~/contrail-installer folder are taking care of this issue for Ubuntu 14.04 (trusty) release but not for xenial release.
Into files contrail_config_functions and contrail.sh You have to replace : if [[ "$DISTRO" != "trusty" ]]; then With if [[ "$DISTRO" != "xenial" ]]; then
After this change I have 2 lines in each file with "xenial" instead of "trusty" : $ grep xenial * contrail_config_functions: if [[ "$DISTRO" != "xenial" ]]; then contrail_config_functions: if [[ "$DISTRO" != "xenial" ]]; then contrail.sh: if [[ "$DISTRO" != "xenial" ]]; then contrail.sh: if [[ ${DISTRO} =~ (xenial) ]]; then
Then building is starting ....
Anyway my built is unsuccessful due to another issue : 2017-06-08 04:30:21 scons: *** Do not know how to make File target `controller/src/container/cni/bin/kube_cni' (/opt/stack/contrail/build/production/container/cni/bin/kube_cni). Stop. 2017-06-08 04:30:21 Writing cni-0.1.dev0/setup.cfg 2017-06-08 04:30:21 Creating tar archive 2017-06-08 04:30:21 removing 'cni-0.1.dev0' (and everything under it) 2017-06-08 04:30:21 scons: building terminated because of errors. 2017-06-08 04:30:22 ++ ret_val=2
Best regards.
Issue seems to be because of chkconfig package not present. But Ubuntu 16.04 has no installation candidate for chkconfig package.