Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ neutron --debug qos-bandwidth-limit-rule-create test --max_kbps 200 --max_burst_kbps 300
- DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://10.35.6.13:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
- DEBUG: keystoneclient.session RESP: [200] content-length: 336 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.5 Python/2.7.5 connection: Keep-Alive date: Thu, 06 Aug 2015 08:27:35 GMT content-type: application/json x-openstack-request-id: req-27b80530-3c16-49b5-84ac-4b424e40de75
- RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://10.35.6.13:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
- DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
- DEBUG: stevedore.extension found extension EntryPoint.parse('shell = cliff.formatters.shell:ShellFormatter')
- DEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
- DEBUG: stevedore.extension found extension EntryPoint.parse('yaml = clifftablib.formatters:YamlFormatter')
- DEBUG: stevedore.extension found extension EntryPoint.parse('json = clifftablib.formatters:JsonFormatter')
- DEBUG: stevedore.extension found extension EntryPoint.parse('html = clifftablib.formatters:HtmlFormatter')
- DEBUG: neutronclient.neutron.v2_0.qos.bandwidth_limit_rule.CreateQoSBandwidthLimitRule get_data(Namespace(columns=[], formatter='table', max_burst_kbps=u'300', max_kbps=u'200', max_width=0, policy=u'test', prefix='', request_format='json', tenant_id=None, variables=[]))
- DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://10.35.6.13:5000/v2.0/tokens
- ERROR: neutronclient.shell 'Client' object has no attribute 'list_policies'
- Traceback (most recent call last):
- File "/opt/openstack/python-neutronclient/neutronclient/shell.py", line 805, in run_subcommand
- return run_command(cmd, cmd_parser, sub_argv)
- File "/opt/openstack/python-neutronclient/neutronclient/shell.py", line 109, in run_command
- return cmd.run(known_args)
- File "/opt/openstack/python-neutronclient/neutronclient/common/command.py", line 29, in run
- return super(OpenStackCommand, self).run(parsed_args)
- File "/usr/lib/python2.7/site-packages/cliff/display.py", line 92, in run
- column_names, data = self.take_action(parsed_args)
- File "/opt/openstack/python-neutronclient/neutronclient/common/command.py", line 35, in take_action
- return self.get_data(parsed_args)
- File "/opt/openstack/python-neutronclient/neutronclient/neutron/v2_0/__init__.py", line 487, in get_data
- self.set_extra_attrs(parsed_args)
- File "/opt/openstack/python-neutronclient/neutronclient/neutron/v2_0/qos/rule.py", line 49, in set_extra_attrs
- parsed_args.policy)
- File "/opt/openstack/python-neutronclient/neutronclient/neutron/v2_0/qos/policy.py", line 26, in get_qos_policy_id
- policy_id_or_name)
- File "/opt/openstack/python-neutronclient/neutronclient/neutron/v2_0/__init__.py", line 133, in find_resourceid_by_name_or_id
- parent_id, fields='id')['id']
- File "/opt/openstack/python-neutronclient/neutronclient/neutron/v2_0/__init__.py", line 121, in find_resource_by_name_or_id
- cmd_resource, parent_id, fields)
- File "/opt/openstack/python-neutronclient/neutronclient/neutron/v2_0/__init__.py", line 55, in find_resource_by_id
- obj_lister = getattr(client, "list_%s" % cmd_resource_plural)
- AttributeError: 'Client' object has no attribute 'list_policies'
- 'Client' object has no attribute 'list_policies'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement