SM:4.0.0.0-3012: server manager installation fails with } missing syntax error

Bug #1643141 reported by sundarkh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
Critical
Nitish Krishna Kaveri
Trunk
Fix Committed
Critical
Nitish Krishna Kaveri

Bug Description

SM:4.0.0.0-3012: server manager installation fails with } missing syntax error

Reading package lists...
Building dependency tree...
Reading state information...
debmirror is already the newest version.
python-software-properties is already the newest version.
The following packages were automatically installed and are no longer required:
  libev4 libjs-sphinxdoc libjs-underscore python-cliff python-cliff-doc
  python-cmd2 python-configparser python-crypto python-meld3 python-paramiko
  python-pbr python-prettytable python-pyparsing redis-server supervisor
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 101 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up contrail-server-manager (4.0.0.0-3012) ...
running post install
10.204.217.59
awk: 1: unexpected character '''
awk: line 2: missing } near end of file
dpkg: error processing package contrail-server-manager (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 contrail-server-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

sundarkh (sundar-kh)
tags: added: blocker
Revision history for this message
Nitish Krishna Kaveri (nitishk) wrote :

This error will also be seen on 3.2

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/26337
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/26338
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
sundarkh (sundar-kh) wrote :

with build 4013,
running post install
10.204.217.160
awk: cmd. line:1: '{print
awk: cmd. line:1: ^ invalid char ''' in expression
dpkg: error processing package contrail-server-manager (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 contrail-server-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/26338
Committed: http://github.org/Juniper/contrail-packaging/commit/d96117642bd5b8d8881a0cfd06f08e26575d4d00
Submitter: Zuul
Branch: R3.2

commit d96117642bd5b8d8881a0cfd06f08e26575d4d00
Author: nitishkrishna <email address hidden>
Date: Mon Nov 21 12:25:38 2016 -0800

Closes-Bug: #1643141 - SM Install fails due to wrong awk command

The awk command doesn't need extra escaping in a bash script

Change-Id: I86191b3ba56c6495a8e51b864b3216b3b58ae7ca

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/26337
Committed: http://github.org/Juniper/contrail-packaging/commit/29eec28a2f2dc16f961ce1e54a37ac4809bd786a
Submitter: Zuul
Branch: master

commit 29eec28a2f2dc16f961ce1e54a37ac4809bd786a
Author: nitishkrishna <email address hidden>
Date: Mon Nov 21 12:25:38 2016 -0800

Closes-Bug: #1643141 - SM Install fails due to wrong awk command

The awk command doesn't need extra escaping in a bash script

Change-Id: I86191b3ba56c6495a8e51b864b3216b3b58ae7ca

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.