[kilo] Keystone deployment failed: 'Could not evaluate: Expected 4 columns for service row, found 0'

Bug #1468899 reported by Artem Panchenko
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Vasyl Saienko

Bug Description

Fuel version info(7.0 build #7): http://paste.openstack.org/show/321162/

Deployment task 'keystone' fails on controller node with the following error:

2015-06-25 19:06:50 +0000 Puppet (debug): Executing '/usr/bin/keystone --os-endpoint http://10.109.15.4:35357/v2.0/ service-list'
2015-06-25 19:06:50 +0000 /Stage[main]/Cinder::Keystone::Auth/Keystone_service[cinderv2] (err): Could not evaluate: Expected 4 columns for service row, found 0. Line +----------------------------------+---------+---------+----------------------------+

I've found that it happens because in Kilo keystone CLI print 2 additional 'DeprecationWarning' lines:

root@node-1:~# /usr/bin/keystone --os-endpoint http://10.109.15.4:35357/v2.0/ --os-token AwGuAWS5 service-list
/usr/lib/python2.7/dist-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
+----------------------------------+---------+---------+----------------------------+
| id | name | type | description |
+----------------------------------+---------+---------+----------------------------+
| a30310c9fbd24e86b252c29fa9af3dfa | neutron | network | Neutron Networking Service |
+----------------------------------+---------+---------+----------------------------+

So after replacing the line

https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/keystone/lib/puppet/provider/keystone.rb#L139

by

list = (auth_keystone("#{type}-list", args).split("\n")[5..-2] || []).collect do |line|

deployment task successfully created services/users in Keystone, but then failed again with other errors:

http://paste.openstack.org/show/321164/

Looks like the version of 'keystone' module from fuel-library is incompatible with Kilo and it should be synced from upstream.

Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
Revision history for this message
Bartłomiej Piotrowski (bpiotrowski) wrote :

MOS Deployment Team is handling OpenStack related modules sync. Reassigning.

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → MOS Deployment Team (mos-deployment)
status: New → Confirmed
Vasyl Saienko (vsaienko)
Changed in fuel:
assignee: MOS Deployment Team (mos-deployment) → Vasyl Saienko (vsaienko)
status: Confirmed → In Progress
Revision history for this message
Vasyl Saienko (vsaienko) wrote :
Changed in fuel:
status: In Progress → Fix Committed
tags: added: under verification
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on
{

    "build_id": "2015-08-05_21-24-26",
    "build_number": "139",
    "release_versions":

{

    "2015.1.0-7.0":

{

    "VERSION":

{

    "build_id": "2015-08-05_21-24-26",
    "build_number": "139",
    "api": "1.0",
    "fuel-library_sha": "347d51f391a6f2c621006c00e3416718140889ac",
    "nailgun_sha": "c842770d56680d0e0cdf3573d329ce36d4fb2c64",
    "feature_groups":

            [
                "mirantis"
            ],
            "fuel-nailgun-agent_sha": "1512b9af6b41cc95c4d891c593aeebe0faca5a63",
            "openstack_version": "2015.1.0-7.0",
            "fuel-agent_sha": "1fe47720ba554818a0be707f2e16281791492d50",
            "production": "docker",
            "python-fuelclient_sha": "28ddd022fd230fde0e88f2f3e4a6a6dddcb58abe",
            "astute_sha": "e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc",
            "fuel-ostf_sha": "5cb828f6200e5ae0da63dd39d11fbf910237db95",
            "release": "7.0",
            "fuelmain_sha": "858a4ee8336789c10c5c2189c3718f9a605d0eeb"
        }
    }

},
"auth_required": true,
"api": "1.0",
"fuel-library_sha": "347d51f391a6f2c621006c00e3416718140889ac",
"nailgun_sha": "c842770d56680d0e0cdf3573d329ce36d4fb2c64",
"feature_groups":

    [
        "mirantis"
    ],
    "fuel-nailgun-agent_sha": "1512b9af6b41cc95c4d891c593aeebe0faca5a63",
    "openstack_version": "2015.1.0-7.0",
    "fuel-agent_sha": "1fe47720ba554818a0be707f2e16281791492d50",
    "production": "docker",
    "python-fuelclient_sha": "28ddd022fd230fde0e88f2f3e4a6a6dddcb58abe",
    "astute_sha": "e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc",
    "fuel-ostf_sha": "5cb828f6200e5ae0da63dd39d11fbf910237db95",
    "release": "7.0",
    "fuelmain_sha": "858a4ee8336789c10c5c2189c3718f9a605d0eeb"

}

Changed in fuel:
status: Fix Committed → Confirmed
status: Confirmed → Fix Released
tags: removed: under verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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