Ask Your Question
0

Why "neutron-server --version" cmd reports "neutron-server 2014.2.1" even though version "2015.1.0" is installed?

asked 2015-07-01 01:00:22 -0500

tkettune gravatar image

updated 2015-07-01 16:10:27 -0500

root@controller:/etc/neutron# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty
root@controller:/etc/neutron# 
root@controller:/etc/neutron# 
root@controller:/etc/neutron# 
root@controller:/etc/neutron# uname -a
Linux controller 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
root@controller:/etc/neutron# 
root@controller:/etc/neutron# 
root@controller:/etc/neutron# apt-show-versions |grep neutron-server
neutron-server:all/trusty-updates 1:2015.1.0-0ubuntu1~cloud0 uptodate
root@controller:/etc/neutron# 
root@controller:/etc/neutron# neutron-server --version
neutron-server 2014.2.1 <================================================ 2014.2.1 here!
root@controller:/etc/neutron# 
root@controller:/etc/neutron# dpkg -l |grep neutron-ser
ii  neutron-server                      1:2015.1.0-0ubuntu1~cloud0            all          Neutron is a virtual network service for Openstack - server
root@controller:/etc/neutron# 


root@controller:/etc/neutron# which neutron-server 
/usr/bin/neutron-server
root@controller:/etc/neutron# ls -ls /usr/bin/neutron-server
4 -rwxr-xr-x 1 root root 167 May  5 05:01 /usr/bin/neutron-server
root@controller:/etc/neutron# 
root@controller:/etc/neutron# cat /usr/bin/neutron-server
#! /usr/bin/python
# PBR Generated from u'console_scripts'

import sys

from neutron.cmd.eventlet.server import main


if __name__ == "__main__":
    sys.exit(main())
root@controller:/etc/neutron#
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-22 13:54:38 -0500

tkettune gravatar image

I had to rebuild Kilo controller from scratch and then naturally got neutron-server version as 2015.1.0-0ubuntu1~cloud0 (Kilo).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-07-01 01:00:22 -0500

Seen: 171 times

Last updated: Jul 22 '15