Not able to execute "contrail-version" on Build #24, it shows permission denied.

Bug #1361031 reported by Bharat Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Fix Released
Medium
Ignatious Johnson Christopher
R2.0
Fix Released
Medium
Ignatious Johnson Christopher
Trunk
Fix Released
Medium
Ignatious Johnson Christopher

Bug Description

On R1.10, build #24, am not able to execute "contrail-version", it says "permission denied".

Logs:
=======
root@nodeg37:~# contrail-version
-bash: /usr/bin/contrail-version: Permission denied <<<<<<<<<<
root@nodeg37:~#

root@nodeg37:~# ls -lrt /usr/bin/contrail-version
lrwxrwxrwx 1 root root 44 Aug 24 14:30 /usr/bin/contrail-version -> ../share/contrail-utils/contrail-version-deb <<<<<<<<
root@nodeg37:~#

Note : Both on FAB and server manager provision , this issue is seen.

Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

Contrail UI also shows the build number as "unknown"

tags: added: blocker
Changed in juniperopenstack:
assignee: nobody → Raj Reddy (rajreddy)
Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :

Workaround is to change the permission, chmod 755 /usr/share/contrail-utils/contrail-version-deb
Raised review request https://review.opencontrail.org/#/c/2258/

Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :
Revision history for this message
Bharat Kumar (pbharat) wrote :

Tested with R1.10 Build 29, issue is no more reproducible. Hence marking it as Fix Released.

information type: Private → Public
Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :
Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :
Revision history for this message
Bharat Kumar (pbharat) wrote :

Issue is fixed, hence closing the bug

root@nodec58:~# contrail-version
Package Version Build-ID | Repo | Package Name
-------------------------------------- ------------------------------ ----------------------------------
contrail-config 2.0-9 9
contrail-config-openstack 2.0-9 9
contrail-control 2.0-9 9
contrail-dns 2.0-9 9
contrail-fabric-utils 2.0-9 9
contrail-install-packages 2.0-9~havana 9

root@nodeg37:~# contrail-version
Package Version Build-ID | Repo | Package Name
-------------------------------------- ------------------------------ ----------------------------------
contrail-analytics 2.0-9 9
contrail-config 2.0-9 9
contrail-config-openstack 2.0-9 9
contrail-control 2.0-9 9
contrail-dns 2.0-9 9
contrail-fabric-utils 2.0-9 9
contrail-heat 2.0-9 9
contrail-install-packages 2.0-9~icehouse 9
contrail-lib 2.0-9 9
contrail-nodemgr 2.0-9 9
contrail-nova-vif 2.0-9 9

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.