Unable to create network using quantum

Bug #1079893 reported by NarsingRao

This bug report was converted into a question: question #214583: Unable to create network using quantum.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Invalid
Undecided
Unassigned

Bug Description

Hi.

I have strictly following the installation procedure for quantum as mentioned in the quide, I have created quantum user, binded to role and service in keystone and did the corresponding changes in nova.conf and quantum.conf file.

I am unable to create a network, when I am trying to create network , I am seein the following information from l3-agent.log file

2012-11-16 13:31:33 DEBUG [quantum.agent.linux.utils] Running command: ip -o link show br-ex
2012-11-16 13:31:33 DEBUG [quantum.agent.linux.utils]
Command: ['ip', '-o', 'link', 'show', 'br-ex']
Exit code: 0
Stdout: '9: br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN \\ link/ether de:1b:73:c5:b8:47 brd ff:ff:ff:ff:ff:ff\n'
Stderr: ''
2012-11-16 13:31:33 DEBUG [quantumclient.client] REQ: curl -i http://localhost:9696/v2/v2.0/networks.json?router%3Aexternal=True -X GET -H "User-Agent: python-quantumclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 7af5e08c1ebc4550b8c5192512df4c15"

2012-11-16 13:31:33 DEBUG [quantumclient.client] RESP:{'date': 'Fri, 16 Nov 2012 21:31:33 GMT', 'status': '404', 'content-length': '52', 'content-type': 'text/plain; charset=UTF-8'}

2012-11-16 13:31:33 DEBUG [quantumclient.client] RESP BODY:404 Not Found

The resource could not be found.

2012-11-16 13:31:33 DEBUG [quantumclient.v2_0.client] Error message: 404 Not Found

The resource could not be found.

2012-11-16 13:31:33 ERROR [quantum.agent.l3_agent] Error running l3_nat daemon_loop
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 170, in daemon_loop
    self.do_single_loop()
  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 201, in do_single_loop
    target_ex_net_id = self._fetch_external_net_id()
  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 182, in _fetch_external_net_id
    ex_nets = self.qclient.list_networks(**params)['networks']
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 102, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 244, in list_networks
    return self.get(self.networks_path, params=_params)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 525, in get
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 510, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 455, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 436, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 82, in exception_handler_v20
    message=message)
QuantumClientException: 404 Not Found

The resource could not be found.

^C
root@openstack:~#
root@openstack:~# keystone user-list
+----------------------------------+---------+---------+--------------------+
| id | name | enabled | email |
+----------------------------------+---------+---------+--------------------+
| 0a6da5fe748c45d686709f69e5f84960 | nova | True | <email address hidden> |
| 55465c99d3874f80ae6dadb4c6156887 | quantum | True | <email address hidden> |
| 86e9e78c71c848a6a19036d833f7dd34 | cinder | True | <email address hidden> |
| a3950766714147c1bbc052c38f57167d | swift | True | <email address hidden> |
| cbe2210f4f0d4277ae0d2d3f6eda035c | admin | True | <email address hidden> |
| d67832e0755749a1bc98005b8124bd6b | glance | True | <email address hidden> |
+----------------------------------+---------+---------+--------------------+
root@openstack:~#
root@openstack:~#
root@openstack:~# keystone service-list
+----------------------------------+----------+--------------+------------------------------+
| id | name | type | description |
+----------------------------------+----------+--------------+------------------------------+
| 2c740ebf67a44b68bdbec25df20b5003 | keystone | identity | OpenStack Identity Service |
| 789088e0a6204c7f82b4010f6cc6584c | quantum | network | OpenStack Networking service |
| 9f7829ed13c945a39ea279a60d27a974 | ec2 | ec2 | EC2 Service |
| a32549955e2543ec9b15cbbe06ab3e03 | cinder | volume | Cinder Service |
| a7345a6b62404c9ab0ae5ce0da776f28 | volume | volume | OpenStack Volume Service |
| d118544e3ea4487bb9402e035934ce21 | nova | compute | OpenStack Compute Service |
| d69099b908e14a349f10edba9879135a | glance | image | OpenStack Image Service |
| e19b2f8e17db4fd19b2ac580eb28c8d2 | swift | object-store | OpenStack Storage Service |
+----------------------------------+----------+--------------+------------------------------+
root@openstack:~#
root@openstack:~# quantum net-list
404 Not Found

The resource could not be found.

root@openstack:~#

Can anyone please let me know what I am doing wrong here

Thanks,
Narsing

Tags: quantum
koolhead17 (koolhead17)
tags: added: quantum
Revision history for this message
Tom Fifield (fifieldt) wrote :

This is a question, rather than a docbug, so should be asked as a Question in launchpad.

Changed in openstack-manuals:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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