1
0
-1

Hi,

I am seeing the following failure on all VMs (both ubuntu 14.04 and 16.04) after launching the HEAT template to install ONAP.

All docker commands in the startup install and init scripts fail due to failed docker install (for example on onap-portal)

+ docker login -u docker -p docker nexus3.onap.org:10001
./portal_vm_init.sh: line 28: docker: command not found
+ docker pull nexus3.onap.org:10001/onap/portal-db:2.2.0
./portal_vm_init.sh: line 29: docker: command not found

The following is seen in /var/log/cloud-init-output.log

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
docker-engine : Depends: libsystemd-journal0 (>= 201) but it is not installable
Recommends: aufs-tools but it is not going to be installed
Recommends: cgroupfs-mount but it is not going to be installed or
cgroup-lite but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M100 617 0 617 0 0 1430 0 --:--:-- --:--:-- --:--:-- 1431
^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M 15 8648k 15 1359k 0 0 863k 0 0:00:10 0:00:01 0:00:09 1369k^M 38 8648k 38 3297k 0 0 1279k 0 0:00:06 0:00:02 0:00:04 1652k^M 57 8648k 57 4946k 0 0 1374k 0 0:00:06 0:00:03 0:00:03 1640k^M 74 8648k 74 6475k 0 0 1415k 0 0:00:06 0:00:04 0:00:02 1621k^M 94 8648k 94 8210k 0 0 1469k 0 0:00:05 0:00:05 --:--:-- 1641k^M100 8648k 100 8648k 0 0 1487k 0 0:00:05 0:00:05 --:--:-- 1720k
cp: cannot stat '/lib/systemd/system/docker.service': No such file or directory
sed: can't read /etc/systemd/system/docker.service: No such file or directory
Failed to restart docker.service: Unit docker.service not found.

Ubuntu versions:

Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-128-generic x86_64)
Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-151-generic x86_64)


Is this a known issue? Appreciate any help.

Thanks,

Jay

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Jay Navali Looks like this is OS level dependencies problem while installing docker. Try to solve manually by installing apt-get install docker-ce (after adding the repository, just follow the script). Then, apply the same solution to the heat scripts. 

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi, are you behind proxy? 

          CommentAdd your comment...