Deployment failing with default globals.yml file

Bug #1749666 reported by Alexandru Bogdan Pica
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Triaged
Medium
Alexandru Bogdan Pica

Bug Description

Right now, the deployment using the master kolla-ansible branch is failing with the following error:

TASK [keystone : Creating admin project, user, role, service, and endpoint] ******************************************************************************************************************************************************************
fatal: [efs10lab-infra-osmgmt01]: FAILED! => {"failed": true, "msg": "The conditional check '(keystone_bootstrap.stdout | from_json).changed' failed. The error was: Expecting ',' delimiter: line 1 column 421 (char 420)"}

The error output of the keystone container is the following:

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

Changed in kolla-ansible:
assignee: nobody → Alexandru Bogdan Pica (dtk.me)
description: updated
Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Our fix for queens is just use keystone queens source code.

Keystone removed uuid during rocky which is in our master branch.

Once we branch queens will not have this issue. However will need to fix for rocky release.

Thanks for finding the bug :)

Changed in kolla-ansible:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Alexandru Bogdan Pica (dtk.me) wrote :

I think it would be best to forge a migration path from queens to rocky in the form
of a blueprint. It would be a continuously updated commit until the release
of rocky. I will jump on that later today, so that the core team can review it as changes
occur. Removing uuid token provider would be the first stage of it, and it will also close this bug.

Thanks,

Alex.

Revision history for this message
PrinzElvis (eno237) wrote :

Hi Alex,
how to fix this Bug, am still have the same Problem with Pike.
Do have a Workaround ?

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Since this bug is only affecting development branch (master), removed critical tag.

Changed in kolla-ansible:
importance: Critical → Medium
Revision history for this message
Juan Carlos Diaz (jcdt) wrote :

Hi, I'm trying to deploy kolla-ansible with queens release and I'm getting the same mistake:

TASK [keystone : Creating admin project, user, role, service, and endpoint] ***************************************************************************************************
task path: /usr/local/share/kolla-ansible/ansible/roles/keystone/tasks/register.yml:7
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
fatal: [localhost]: FAILED! => {
    "msg": "The conditional check '(keystone_bootstrap.stdout | from_json).changed' failed. The error was: Expecting ',' delimiter: line 1 column 150 (char 149)"
}

Here you have some data:

ansible version: ansible 2.7.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]

globals.yml: #node_custom_config: "/etc/kolla/config"
kolla_base_distro: "ubuntu"
#kolla_install_type: "binary"
openstack_release: "queens"
node_custom_config: "/etc/kolla/config"
kolla_internal_vip_address: "10.0.2.253"
#kolla_interface_fqdn: "{{ api_interface_address }}"
#kolla_external_vip_address: "{{ kolla_internal_vip_address }}"
network_interface: "enp0s3"
api_interface: "{{ network_interface }}"
#neutron_external_interface: "eno5"
## Added because of 'uuid' token provider failure
keystone_token_provider: 'fernet'
fernet_token_expiry: 86400
designate_backend: "bind9"
designate_ns_record: "sample.openstack.org"

Can anyone help me, please?

Revision history for this message
ai_ja_nai (albertomassidda) wrote :

docker exec keystone keystone-manage db_sync

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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