server manager lite provision.sh is not erroring out, when dependencies are missing

Bug #1533865 reported by prasad miriyala
6
This bug affects 1 person
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/contrail_server_manager/provision.sh -t testbed.py -c contrail-install-packages_2.23-118~juno_all.deb -cid all-in-one-lanner
----> Provision contrail local repo
    ----> Creating local lepo -- /opt/contrail/contrail_local_repo
dpkg-scanpackages: info: Wrote 678 entries to output Packages file.
----> Install server manager without cobbler option
----> This install is being logged at: /var/log/contrail/install_logs/install_2016_01_04__12_03_43.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-scanpackages: info: Wrote 24 entries to output Packages file.
----> Server Manager
^@ ----> Using default puppet certificate name lanner
Notice: /File[/etc/puppet/environments/production]/ensure: created
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:/var/log/contrail/install_logs# cat install_2016_01_04__13_09_10.log
[...]
    ----> 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-server-manager-lite : Depends: python-pip but it is not going to be installed
                                Depends: gcc but it is not going to be installed
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.

Revision history for this message
Nagendra Prasath (npchandran) wrote :

server manager lite provision.sh is maintained by SM Team. Please reassign to appropriate person.

Changed in juniperopenstack:
assignee: Nagendra Prasath (npchandran) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.