Ask Your Question
1

Getting warning : Providing attr without filter_value to get_urls() is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release

asked 2015-11-04 21:14:43 -0600

ebyenjoys gravatar image

Hello,

I am testing the swift in Liberty version of openstack. Whenever I am using the swift commands it show a user warning that says: /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py:196: UserWarning: Providing attr without filter_value to get_urls() is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release. Either both should be provided or neither should be provided.

May I know how it is fixed?

swift stat -v
/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py:196: UserWarning: Providing attr without        filter_value to get_urls() is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release. Either both   should be provided or neither should be provided.
 'Providing attr without filter_value to get_urls() is '
                 StorageURL: http://192.168.1.18:8080/v1/AUTH_602723b78f0a4853a70e5ade58d2262b
                 Auth Token: e9e35514c0654445a8052c614c321fec
                    Account: AUTH_602723b78f0a4853a70e5ade58d2262b
                 Containers: 1
                    Objects: 1
                      Bytes: 10
Containers in policy "policy-0": 1
Objects in policy "policy-0": 1
 Bytes in policy "policy-0": 10
X-Account-Project-Domain-Id: default
                X-Timestamp: 1446658926.34562
                 X-Trans-Id: tx6b9d24b93d85442abf6f0-00563ac899
               Content-Type: text/plain; charset=utf-8
              Accept-Ranges: bytes
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-12-03 02:59:14 -0600

Since you are using kestoneclient > 1.7.0 you need to provide region info.

export OS_REGION_NAME=<<regionname>> # default regionOne i think

and run the command again :)

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-11-04 21:14:43 -0600

Seen: 1,379 times

Last updated: Dec 03 '15