Neutron, listing of policy is failing in Ubuntu-Icehouse, when provisioned with server-manager.

Bug #1376118 reported by Bharat Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Released
Critical
chhandak
R1.1
Fix Released
Critical
chhandak
R2.0
Fix Released
Undecided
Unassigned
R2.1
Fix Released
Critical
chhandak

Bug Description

From Neutron, listing of policy is failing in Ubuntu-Icehouse, when provisioned with server-manager.

Beacause of this sanity test cases are failing.

Logs:
====
root@nodeg21:~# ps -aux | grep neutron
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
neutron 19018 0.0 0.1 131704 54548 ? Ss 05:38 0:28 /usr/bin/python /usr/bin/neutron-server --config-file /etc/neutron/neutron.conf --log-file /var/log/neutron/server.log --config-file /etc/neutron/plugins/ml2/ml2_conf.ini

Changed in juniperopenstack:
milestone: r1.20 → none
tags: added: blocker
Abhay Joshi (abhayj)
Changed in juniperopenstack:
assignee: nobody → prasad miriyala (pmiriyala)
chhandak (chhandak)
Changed in juniperopenstack:
assignee: prasad miriyala (pmiriyala) → chhandak (chhandak)
status: New → In Progress
Revision history for this message
chhandak (chhandak) wrote :

Fix as part of below commit

Reviewed: https://review.opencontrail.org/3353
Committed: http://github.org/Juniper/contrail-puppet/commit/e2c880a61f058664b32197039a9f5fe580b52cbf
Submitter: Zuul
Branch: R1.10

commit e2c880a61f058664b32197039a9f5fe580b52cbf
Author: Chhandak <email address hidden>
Date: Thu Oct 2 06:07:08 2014 +0530

Closes-Bug: #1373811 Updating neutron server with correct plugin

Change-Id: Ia868aa225211229143a91884a65ca3ffb08bc393

information type: Private → Public
Revision history for this message
Ashish Ranjan (aranjan-n) wrote :
Changed in juniperopenstack:
status: In Progress → Fix Committed
Revision history for this message
Ashish Ranjan (aranjan-n) wrote :
Revision history for this message
Bharat Kumar (pbharat) wrote :

Neutron listing policies on ubuntu-icehouse is failing with server-manager provision.
Tested on R2.1 with Build #13,

Logs:
========
root@nodeg32:~# neutron policy-list
404 Not Found

The resource could not be found.

root@nodeg32:~# neutron ipam-list
404 Not Found

The resource could not be found.

root@nodeg32:~#

2015-01-26 23:33:03.391 INFO [neutron.wsgi] (7270) accepted ('10.204.221.1', 38125)

2015-01-26 23:33:03.392 DEBUG [keystoneclient.middleware.auth_token] Authenticating user token
2015-01-26 23:33:03.392 DEBUG [keystoneclient.middleware.auth_token] Removing headers from request environment: X-Identity-Status,X-Domain-Id,X-Domain-Name,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-User-Id,X-User-Name,X-User-Domain-Id,X-User-Domain-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant-Id,X-Tenant-Name,X-Tenant,X-Role
2015-01-26 23:33:03.393 INFO [urllib3.connectionpool] Starting new HTTP connection (1): 10.204.221.1
2015-01-26 23:33:03.394 DEBUG [urllib3.connectionpool] Setting read timeout to None
2015-01-26 23:33:03.422 DEBUG [urllib3.connectionpool] "GET /v2.0/tokens/revoked HTTP/1.1" 200 904
2015-01-26 23:33:03.444 DEBUG [keystoneclient.middleware.auth_token] Storing token in cache
2015-01-26 23:33:03.444 DEBUG [keystoneclient.middleware.auth_token] Received request from user: 069e3877f78c4cdf80324f21067e1c73 with project_id : 1744dae3a038476f9920a8522a71febb and roles: admin
2015-01-26 23:33:03.445 DEBUG [routes.middleware] No route matched for GET /policys.json
2015-01-26 23:33:03.446 DEBUG [routes.middleware] No route matched for GET /policys.json
2015-01-26 23:33:03.447 INFO [neutron.wsgi] 10.204.221.1 - - [26/Jan/2015 23:33:03] "GET /v2.0/policys.json HTTP/1.1" 404 242 0.055798

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

Reviewed: https://review.opencontrail.org/6778
Committed: http://github.org/Juniper/contrail-puppet/commit/bce506449df568144d0a2693b0a1f8c7ae81d9e6
Submitter: Zuul
Branch: R2.1

commit bce506449df568144d0a2693b0a1f8c7ae81d9e6
Author: Chhandak <email address hidden>
Date: Thu Jan 29 18:28:47 2015 +0530

Adding task to set contrail plugin

Adding task to set contrail plugin in /etc/default/neutron-server
Closes-Bug:1376118
Change-Id: I6333805f0f324d0fa4b9aa9cef40523a4ea7bcbd

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

Reviewed: https://review.opencontrail.org/6726
Committed: http://github.org/Juniper/contrail-puppet/commit/1721204f8671963b68f509d1487fe5982d96191b
Submitter: Zuul
Branch: master

commit 1721204f8671963b68f509d1487fe5982d96191b
Author: Chhandak <email address hidden>
Date: Wed Jan 28 20:12:46 2015 +0530

Adding task to set contrail plugin

Adding task to set contrail plugin in /etc/default/neutron-server
Closes-Bug:1376118
Change-Id: I19f9847ac889a493a0ac310dc0ced1b79de6ffac

Revision history for this message
Bharat Kumar (pbharat) wrote :

This issue is fixed, hence marking it as fixed.

Logs:
======
root@nodeg21:~# source /etc/contrail/openstackrc
root@nodeg21:~# neutron policy-list
+--------------------------------------+------------------------+
| id | name |
+--------------------------------------+------------------------+
| 5138e2c1-e1d2-4a50-993e-1c8e06fef11e | default-network-policy |
+--------------------------------------+------------------------+
root@nodeg21:~# neutron ipam-list
+--------------------------------------+----------------------+
| id | name |
+--------------------------------------+----------------------+
| 61224bad-e987-4bb8-a09b-05e3e6bdccfc | default-network-ipam |
+--------------------------------------+----------------------+
root@nodeg21:~#

Changed in juniperopenstack:
status: Fix Committed → Fix Released
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.