[openstack-dev] [keystone]keystone v2 bug

2016-07-24 Thread Kenny Ji-work
Hi all,


In the mitaka version, I used v2 RESTful API of keystone as following:
curl -i   -H "Content-Type: application/json"   -d '
{ "auth": {
"tenantName": "admin",
"passwordCredentials": {
"username": "admin",
"password": "password"
}
}
}'   http://10.240.227.7:35357/v2.0/tokens ; echo



But the result shows: {"error": {"message": "The request you have made requires 
authentication.", "code": 401, "title": "Unauthorized"}}. But the v3 of 
keystone works normaly.
Is v2 of keystone not supported in mitaka or something else config I config 
wrong?


Sincerely!
Kenny Ji__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [keystone] Keystone commands

2016-04-19 Thread Kenny Ji-work
Hi all,


I have installed openstack mitaka, when I execute any keystone's commands with 
the result displayed below:

But I execute `openstack role list`, the result is succeed.


[root@devstack scripts]# keystone --debug role-list
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: 
DeprecationWarning: The keystone CLI is deprecated in favor of 
python-openstackclient. For a Python library, continue using 
python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
WARNING: unsupported identity-api-version 3, falling back to 2.0
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: 
DeprecationWarning: Constructing an instance of the 
keystoneclient.v2_0.client.Client class without a session is deprecated as of 
the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: 
DeprecationWarning: Using the 'tenant_name' argument is deprecated in version 
'1.7.0' and will be removed in version '2.0.0', please use the 'project_name' 
argument instead
  super(Client, self).__init__(**kwargs)
/usr/lib/python2.7/site-packages/debtcollector/renames.py:45: 
DeprecationWarning: Using the 'tenant_id' argument is deprecated in version 
'1.7.0' and will be removed in version '2.0.0', please use the 'project_id' 
argument instead
  return f(*args, **kwargs)
/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:371: 
DeprecationWarning: Constructing an HTTPClient instance without using a session 
is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/session.py:140: 
DeprecationWarning: keystoneclient.session.Session is deprecated as of the 
2.1.0 release in favor of keystoneauth1.session.Session. It will be removed in 
future releases.
  DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py:56: 
DeprecationWarning: keystoneclient auth plugins are deprecated as of the 2.1.0 
release in favor of keystoneauth1 plugins. They will be removed in future 
releases.
  'in future releases.', DeprecationWarning)
DEBUG:keystoneclient.auth.identity.v2:Making authentication request to 
http://10.240.227.233:35357/v3/tokens
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 
10.240.227.233
DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/tokens HTTP/1.1" 404 93
DEBUG:keystoneclient.session:Request returned failure status: 404
Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: 
req-c71a1014-1c8d-47c0-bed5-cba6ad91881f)



Thank you for answering!


Sincerely!
Kenny Ji__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] Nova commands

2016-04-19 Thread Kenny Ji-work
That's it, I've solved the issue. Thanks a log! :)

From: melanie witt <melwi...@gmail.com>
To: openstack-dev@lists.openstack.org
Subject: Re: [openstack-dev] [nova] Nova commands
Message-ID: <5716539f.2060...@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

On Tue, 19 Apr 2016 19:31:04 +0800, Kenny Ji-work wrote:
> I have installed openstack mitaka, when I execute any nova's commands
> with the result displayed below:
>
> [root@devstack scripts]# nova list
> *ERROR (AttributeError): 'unicode' object has no attribute 'get'*
>
> I installed openstack as
> the http://docs.openstack.org/mitaka/install-guide-rdo/ shows. Is there
> somebody who encountered the issue? Thank you for answering!
>


This sounds like 
https://bugs.launchpad.net/python-novaclient/+bug/1559072 and the fix is 
included in python-novaclient 3.4.0.

What version of python-novaclient do you have ('nova --version')?

-melanie__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova] Nova commands

2016-04-19 Thread Kenny Ji-work
Hi all,


I have installed openstack mitaka, when I execute any nova's commands with the 
result displayed below:


[root@devstack scripts]# nova list
ERROR (AttributeError): 'unicode' object has no attribute 'get'



I installed openstack as the 
http://docs.openstack.org/mitaka/install-guide-rdo/ shows. Is there somebody 
who encountered the issue? Thank you for answering!


Sincerely!
Kenny Ji__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [all] Openstack rpm build

2016-04-17 Thread Kenny Ji-work
Hi all,


In our developing environment, we want to create openstack's rpms by ourselves. 
By typing 'python setup.py bdist_rpm', there would be some files not packaged 
in. Now is there some tools or methods to package the openstack's module to 
rpms? Thank you for answering!


Sincerely!
Kenny Ji__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [all] -The lifecycle of deploying openstack on production environment

2016-04-15 Thread Kenny Ji-work
Hi all,


We wanner to deploy openstack to the production environment, so what's the 
recommended way to complete it? By using puppet-openstack or any else tool? 
Secondly, we want to add custom codes into the openstack's. So the problem is 
that if new version of openstack is released, the efforts taken to port the 
codes to the new version must be put into action. In one word, is there some 
convenient way to realize it?
Thirdly, if we want to upgrade our openstack version in the production 
environment, how can we do it easier? Thank you for answering!


Sincerely,
Kenny Ji__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [neutron][kilo] - vxlan's max bandwidth

2016-04-14 Thread Kenny Ji-work
Hi all,


In the environment of openstack kilo, I test the bandwidth in the scene which 
VxLan being used. The result show that the vxlan can only support up to 1 gbits 
bandwidth. Is this a bug or any else issue, or is there some hotfix to solve 
the issue? Thank you for answering!


Sincerely,
Kenny Ji__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [all] - About Openstack upgrade

2016-04-14 Thread Kenny Ji-work
Hi all,


We have deployed openstack liberty in our online environment by using devstack. 
We wanner upgrade our openstack to the newest version - mitaka, so is there 
some tools or facilities to complete it? Thank you for answering!


Sincerely,
Kenny Ji__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] Nova hook

2016-04-14 Thread Kenny Ji-work
Hi all,​
The nova hooks facility will be removed in the future, now what's the 
recommended method to add custom code into the nova's internal APIs? Thank you 
for answer!


Best Regards!
Kenny Ji__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] mitaka features

2016-04-07 Thread Kenny Ji-work
Hi all,


The newest version called mitaka is released, what's the new features of this 
version. Or is there some documents to describe it? Thank you!


Best regards!
Kenny Ji__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev