server manager lite provision.sh is not erroring out, when dependencies are missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
New
|
Medium
|
Unassigned |
Bug Description
<=== The provisioning script says everything is fine, but it is not (it should be verbose on errors).
<=== Here is the output that the user gets:
root@lanner:~# /opt/contrail/
----> Provision contrail local repo
----> Creating local lepo -- /opt/contrail/
dpkg-scanpackages: info: Wrote 678 entries to output Packages file.
----> Install server manager without cobbler option
----> This install is being logged at: /var/log/
----> Cleaning up existing sources.list and Server Manager sources file
grep: /etc/apt/apt.conf: No such file or directory
----> Setting up the repositories for Server Manager Install
^@ ----> Installing dependent packages for Setting up repos
^@dpkg-
----> Server Manager
^@ ----> Using default puppet certificate name lanner
Notice: /File[/
Notice: Signed certificate request for ca
----> Installing package Puppetmaster Passenger
^@ ----> Installing package Server Manager Lite
root@lanner:~#
<=== Although it does not complain about the SM Lite installation, it actually failed:
root@lanner:
[...]
----> Installing package Server Manager Lite
Reading package lists...
Building dependency tree...
Reading state information...
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:
contrail-
E: Unable to correct problems, you have held broken packages.
<=== So SM lite package has bad dependencies.
<=== I could fix it for python-pip but not for gcc, finally I went for a fresh Ubuntu install
<=== where first of all I installed these two packages.
server manager lite provision.sh is maintained by SM Team. Please reassign to appropriate person.