nova-api (Rocky) installation fails on Ubuntu 18.04.2

Asked by Vinod Kumar on 2019-06-18

nova-api and nova-placement-api installation fails on Ubuntu 18.04.2

Can someone please help how to get around it ?

Given below are logs:
++++++++++++++++++
root@controller:~# uname -a
Linux controller 4.15.0-51-generic #55-Ubuntu SMP Wed May 15 14:27:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

root@controller:~# cat /etc/apt/sources.list.d/cloudarchive-rocky.list
deb http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main
# deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main

root@controller:~# apt install nova-placement-api
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 nova-placement-api : Depends: python-nova (= 2:18.1.0-0ubuntu1~cloud0) but it is not going to be installed or
                               python3-nova (= 2:18.1.0-0ubuntu1~cloud0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

root@controller:~# apt install nova-api
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 nova-api : Depends: python-nova (= 2:18.1.0-0ubuntu1~cloud0) but it is not going to be installed or
                     python3-nova (= 2:18.1.0-0ubuntu1~cloud0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nova Edit question
Assignee:
No assignee Edit question
Solved by:
Vinod Kumar
Solved:
2019-06-20
Last query:
2019-06-20
Last reply:
2019-06-19
Vinod Kumar (vinod1307) said : #1

root@controller:~# cat /etc/apt/sources.list.d/cloudarchive-rocky.list
deb http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main
# deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main

Manfred Hampl (m-hampl) said : #2

For diagnostic purposes, what is the output of the command

apt-cache policy nova-placement-api python-nova python3-nova nova-api

Vinod Kumar (vinod1307) said : #3

Thank you m-hampl,

Given below is requested info:

+++++++++++++++++++++++++++++++++++

root@controller:~# apt-cache policy nova-placement-api python-nova python3-nova nova-api
nova-placement-api:
  Installed: (none)
  Candidate: 2:18.1.0-0ubuntu1~cloud0
  Version table:
     2:18.1.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main amd64 Packages
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main i386 Packages
     2:17.0.9-0ubuntu3 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages
     2:17.0.1-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
python-nova:
  Installed: (none)
  Candidate: 2:18.1.0-0ubuntu1~cloud0
  Version table:
     2:18.1.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main amd64 Packages
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main i386 Packages
     2:17.0.1-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages
python3-nova:
  Installed: (none)
  Candidate: 2:18.1.0-0ubuntu1~cloud0
  Version table:
     2:18.1.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main amd64 Packages
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main i386 Packages
nova-api:
  Installed: (none)
  Candidate: 2:18.1.0-0ubuntu1~cloud0
  Version table:
     2:18.1.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main amd64 Packages
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main i386 Packages
     2:17.0.1-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages

Manfred Hampl (m-hampl) said : #4

Which output do you recieve for the commands

apt install python-nova
and
apt install python3-nova

Vinod Kumar (vinod1307) said : #5

apt install python-nova
++++++++++++++++++++++

root@controller:~# apt install python-nova
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 python-nova : Depends: python-oslo.vmware (>= 2.15.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@controller:~# apt install python-oslo.vmware
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 python-oslo.vmware : Depends: python-httplib2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@controller:~# apt install python-httplib2
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 python-httplib2 : Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
                   Depends: ca-certificates but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@controller:~# apt install python
Reading package lists... Done
Building dependency tree
Reading state information... Done
python is already the newest version (2.7.15~rc1-1).
python set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
root@controller:~# apt install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20180409).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
root@controller:~# apt install python-httplib2
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 python-httplib2 : Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
                   Depends: ca-certificates but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

apt install python3-nova
++++++++++++++++++++++

root@controller:~# apt install python3-nova
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 python3-nova : Depends: python3-websockify (>= 0.8.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@controller:~# apt install python3-websockify
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 python3-websockify : Depends: python3-numpy but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@controller:~# apt install python3-numpy
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 python3-numpy : Depends: liblapack3 but it is not going to be installed or
                          liblapack.so.3
E: Unable to correct problems, you have held broken packages.

Manfred Hampl (m-hampl) said : #6

Strange.

What is the output of

dpkg --audit
apt list --upgradeable

apt-cache policy python-httplib2 python ca-certificates
apt install python-httplib2 ca-certificates

apt-cachee policy python3-numpy liblapack3 liblapack.so.3
apt install python3-numpy liblapack3

Vinod Kumar (vinod1307) said : #7

Here is requested info:

root@controller:~# dpkg --audit

root@controller:~# apt list --upgradeable
Listing... Done
libglib2.0-0/bionic-security 2.56.4-0ubuntu0.18.04.3 amd64 [upgradable from: 2.56.4-0ubuntu0.18.04.2]
libglib2.0-data/bionic-security,bionic-security 2.56.4-0ubuntu0.18.04.3 all [upgradable from: 2.56.4-0ubuntu0.18.04.2]
root@controller:~# apt-cache policy python-httplib2 python ca-certificates
python-httplib2:
  Installed: (none)
  Candidate: 0.9.2+dfsg-1
  Version table:
     0.9.2+dfsg-1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages
python:
  Installed: 2.7.15~rc1-1
  Candidate: 2.7.15~rc1-1
  Version table:
 *** 2.7.15~rc1-1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
ca-certificates:
  Installed: 20180409
  Candidate: 20180409
  Version table:
 *** 20180409 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
root@controller:~# apt install python-httplib2 ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20180409).
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:
 libssl1.1 : Breaks: python-httplib2 (<= 0.9.2+dfsg-1) but 0.9.2+dfsg-1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

root@controller:~# apt-cachee policy python3-numpy liblapack3 liblapack.so.3

Command 'apt-cachee' not found, did you mean:

  command 'apt-cacher' from deb apt-cacher
  command 'apt-cache' from deb apt

Try: apt install <deb name>

root@controller:~# apt install python3-numpy liblapack3
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 liblapack3 : Depends: libgfortran4 (>= 7) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@controller:~#

Manfred Hampl (m-hampl) said : #8

Ok, this can be the hint to the root cause:

libssl1.1 : Breaks: python-httplib2 (<= 0.9.2+dfsg-1) but 0.9.2+dfsg-1 is to be installed

python-httplib2 should probably be version 0.9.2+dfsg-1ubuntu0.1 from bionic-updates/main

What is the output of the commands

cat -n /etc/apt/sources.list
grep bionic-updates /etc/apt/sources.list /etc/apt/sources.list.d/*.list

Vinod Kumar (vinod1307) said : #9

Thank you m-hampl. I hope now you would be able to get to the cause and suggest a solution.

++++++++++++++++++++++++++++++++++++++++++++
cat -n /etc/apt/sources.list
+++++++++++++++++++++++

root@controller:~# cat -n /etc/apt/sources.list
     1 #
     2
     3 # deb cdrom:[Ubuntu-Server 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210)]/ bionic main restricted
     4
     5 # deb cdrom:[Ubuntu-Server 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210)]/ bionic main restricted
     6
     7 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     8 # newer versions of the distribution.
     9 deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
    10 # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
    11
    12 ## Major bug fix updates produced after the final release of the
    13 ## distribution.
    14 deb http://mirrors.xmission.com/ubuntu bionic-updates main
    15 #deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
    16 # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
    17
    18 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    19 ## team. Also, please note that software in universe WILL NOT receive any
    20 ## review or updates from the Ubuntu security team.
    21 deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
    22 # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
    23 deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
    24 # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
    25
    26 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    27 ## team, and may not be under a free licence. Please satisfy yourself as to
    28 ## your rights to use the software. Also, please note that software in
    29 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    30 ## security team.
    31 deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
    32 # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
    33 deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
    34 # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
    35
    36 ## N.B. software from this repository may not have been tested as
    37 ## extensively as that contained in the main release, although it includes
    38 ## newer versions of some applications which may provide useful features.
    39 ## Also, please note that software in backports WILL NOT receive any review
    40 ## or updates from the Ubuntu security team.
    41 deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    42 # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    43
    44 ## Uncomment the following two lines to add software from Canonical's
    45 ## 'partner' repository.
    46 ## This software is not part of Ubuntu, but is offered by Canonical and the
    47 ## respective vendors as a service to Ubuntu users.
    48 # deb http://archive.canonical.com/ubuntu bionic partner
    49 # deb-src http://archive.canonical.com/ubuntu bionic partner
    50
    51 deb http://security.ubuntu.com/ubuntu bionic-security main restricted
    52 # deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
    53 deb http://security.ubuntu.com/ubuntu bionic-security universe
    54 # deb-src http://security.ubuntu.com/ubuntu bionic-security universe
    55 deb http://security.ubuntu.com/ubuntu bionic-security multiverse
    56 # deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
    57 deb http://mirrors.xmission.com/ubuntu bionic-updates main
    58 # deb-src http://mirrors.xmission.com/ubuntu bionic-updates main
    59 # deb-src http://mirrors.xmission.com/ubuntu bionic-updates main
    60 # deb-src http://mirrors.xmission.com/ubuntu bionic-updates main
    61 # deb-src http://mirrors.xmission.com/ubuntu bionic-updates main

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
grep bionic-updates /etc/apt/sources.list /etc/apt/sources.list.d/*.list
+++++++++++++++++++++++
root@controller:~# grep bionic-updates /etc/apt/sources.list /etc/apt/sources.list.d/*.list
/etc/apt/sources.list:deb http://mirrors.xmission.com/ubuntu bionic-updates main
/etc/apt/sources.list:#deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
/etc/apt/sources.list:# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
/etc/apt/sources.list:# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
/etc/apt/sources.list:# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
/etc/apt/sources.list:deb http://mirrors.xmission.com/ubuntu bionic-updates main
/etc/apt/sources.list:# deb-src http://mirrors.xmission.com/ubuntu bionic-updates main
/etc/apt/sources.list:# deb-src http://mirrors.xmission.com/ubuntu bionic-updates main
/etc/apt/sources.list:# deb-src http://mirrors.xmission.com/ubuntu bionic-updates main
/etc/apt/sources.list:# deb-src http://mirrors.xmission.com/ubuntu bionic-updates main
/etc/apt/sources.list.d/cloudarchive-rocky.list:deb http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main
/etc/apt/sources.list.d/cloudarchive-rocky.list:# deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main

Manfred Hampl (m-hampl) said : #10

What output do you receive for the command

sudo apt update

If there are warnings or error messages, then your package management configuration needs to be corrected.

Vinod Kumar (vinod1307) said : #11

You were right. I see errors, as shown below, in "apt update".

Request you to please advise on what would be right way to fix them and then install nova-api.

root@controller:~# apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://mirrors.xmission.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:5 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:7 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky Release [7,879 B]
Get:8 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky Release.gpg [543 B]
Reading package lists... Done
E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 5d 13h 59min 2s). Updates for this repository will no t be applied.
E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 5d 13h 59min 54s). Updates for this repository will not be applied.
E: Release file for http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/bionic-updates/rocky/Release is not valid yet (invalid for another 5d 14h 12min 54s). Updates for this repository will not be applied.
E: Release file for http://mirrors.xmission.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 5d 9h 49min 55s). Updates for this repository will not be applied.
E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 5d 13h 58min 33s). Updates for this repository will no t be applied.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:57
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:57
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:57
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:57
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:57
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:57
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:57

Vinod Kumar (vinod1307) said : #12

Removed warning by removing duplicate entries from /etc/apt/sources.list

Doing google for error message indicated that it could be due to wrong system time.

Output of data command does show discrepancy on my VM. I'll fix that and update you if that solves the problem.

Many thanks for help, Manfred Hampl :)

root@controller:~# systemctl status chrony
* chrony.service - chrony, an NTP client/server
   Loaded: loaded (/lib/systemd/system/chrony.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-06-11 09:28:30 CDT; 2 days ago
     Docs: man:chronyd(8)
           man:chronyc(1)
           man:chrony.conf(5)
 Main PID: 1664 (chronyd)
    Tasks: 1 (limit: 1109)
   CGroup: /system.slice/chrony.service
           `-1664 /usr/sbin/chronyd

Jun 13 23:17:33 controller chronyd[1664]: Source 2001:67c:1560:8003::c7 replaced with 91.189.89.198
Jun 14 05:50:25 controller chronyd[1664]: Source 91.189.89.199 replaced with 2001:67c:1560:8003::c7
Jun 14 05:50:47 controller chronyd[1664]: Selected source 91.189.94.4
Jun 14 05:59:57 controller chronyd[1664]: Selected source 206.108.0.131
Jun 14 05:59:57 controller chronyd[1664]: System clock wrong by 1014.744585 seconds, adjustment started
Jun 14 06:20:34 controller chronyd[1664]: Source 2001:67c:1560:8003::c7 replaced with 2001:67c:1560:8003::c8
Jun 14 06:30:41 controller chronyd[1664]: Selected source 208.81.1.244
Jun 14 06:35:58 controller chronyd[1664]: Selected source 154.11.146.39
Jun 14 06:35:58 controller chronyd[1664]: System clock wrong by 20463.940430 seconds, adjustment started
Jun 14 06:37:03 controller chronyd[1664]: Selected source 206.108.0.131
root@controller:~# date
Fri Jun 14 06:48:41 CDT 2019

Vinod Kumar (vinod1307) said : #13

Ran following 3 commands to solve the problem:

chronyd -q
apt update
apt install nova-api

Manfred Hampl (m-hampl) said : #14

Just additional remarks:

In the /etc/apt/sources.list configuration file you are using different servers. I recommend to reduce the count of different servers:

Remove all lines that point to http://mirrors.xmission.com
Activate line #15
#deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
by removing the comment indicator ('#') at the beginning of the line.

And yes, there are reports that Ubuntu bionic in a VirtualBox VM does not always correctly synchronize the clock.

Vinod Kumar (vinod1307) said : #15

Thanks for advice. I have incorporated bout of your suggestions in my /etc/apt/sources.list