[ceilometer on gnocchi] install failed

Bug #1778195 reported by kourosh vivan on 2018-06-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-ansible
Undecided
kourosh vivan

Bug Description

This change:
https://review.openstack.org/#/c/526655/

Does the gnocchi initialization (which is needed of course)

But it brake the deployement because:

1 - ceilometer user in keystone doesn't exists yet (later in ceilometer role)
2 - gnocchi hasn't been installed yet (later in setup-openstack)

I think this patch hasn't been tested on a new deployment, and we don't have zuul test of ceilometer using gnocchi (i'm in part responsable of this)...

Fix proposed to branch: master
Review: https://review.openstack.org/577379

Changed in openstack-ansible:
assignee: nobody → kourosh vivan (kourosh-vivan)
status: New → In Progress

Reviewed: https://review.openstack.org/577379
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=9a767909197fcc37db123774874a80de851b5927
Submitter: Zuul
Branch: master

commit 9a767909197fcc37db123774874a80de851b5927
Author: Kourosh Vivan <email address hidden>
Date: Fri Jun 22 11:26:54 2018 +0200

    Install gnocchi before ceilometer

    When ceilometer use gnocchi as backend, gnocchi playbook need to be
    run before ceilometer's

    Partial-Bug: 1778195
    Change-Id: Ib1f4ee5e260a042d7f2bdf1750828461e3710730

Reviewed: https://review.openstack.org/580376
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=472bb4d2f91f4660fef16f7d75be5e58bbab4017
Submitter: Zuul
Branch: stable/queens

commit 472bb4d2f91f4660fef16f7d75be5e58bbab4017
Author: Kourosh Vivan <email address hidden>
Date: Fri Jun 22 11:26:54 2018 +0200

    Install gnocchi before ceilometer

    When ceilometer use gnocchi as backend, gnocchi playbook need to be
    run before ceilometer's

    Partial-Bug: 1778195
    Change-Id: Ib1f4ee5e260a042d7f2bdf1750828461e3710730
    (cherry picked from commit 9a767909197fcc37db123774874a80de851b5927)

tags: added: in-stable-queens

Reviewed: https://review.openstack.org/580375
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=5ce900a7e4f0fb3d58bc1a795fbfd239345d86b0
Submitter: Zuul
Branch: stable/pike

commit 5ce900a7e4f0fb3d58bc1a795fbfd239345d86b0
Author: Kourosh Vivan <email address hidden>
Date: Fri Jun 22 11:26:54 2018 +0200

    Install gnocchi before ceilometer

    When ceilometer use gnocchi as backend, gnocchi playbook need to be
    run before ceilometer's

    Partial-Bug: 1778195
    Change-Id: Ib1f4ee5e260a042d7f2bdf1750828461e3710730
    (cherry picked from commit 9a767909197fcc37db123774874a80de851b5927)

tags: added: in-stable-pike
tags: added: in-stable-ocata

Reviewed: https://review.openstack.org/580565
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=7adb0bae8dd1131c2c44e4d2c886892395275a06
Submitter: Zuul
Branch: stable/ocata

commit 7adb0bae8dd1131c2c44e4d2c886892395275a06
Author: Kourosh Vivan <email address hidden>
Date: Fri Jun 22 11:26:54 2018 +0200

    Install gnocchi before ceilometer

    When ceilometer use gnocchi as backend, gnocchi playbook need to be
    run before ceilometer's

    Partial-Bug: 1778195
    Change-Id: Ib1f4ee5e260a042d7f2bdf1750828461e3710730
    (cherry picked from commit 9a767909197fcc37db123774874a80de851b5927)

Reviewed: https://review.openstack.org/577384
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_ceilometer/commit/?id=9d54c79b82a3ce325b0070ffc78f4091c5e33e83
Submitter: Zuul
Branch: master

commit 9d54c79b82a3ce325b0070ffc78f4091c5e33e83
Author: Kourosh Vivan <email address hidden>
Date: Fri Jun 22 11:56:58 2018 +0200

    Fix ceilometer task order

    Gnocchi initialization need to be run after ceilometer user creation

    Partial-Bug: 1778195
    Change-Id: I7715f7df35e10c41d65450c273c3f9cc53d0a855

Reviewed: https://review.opendev.org/580391
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_ceilometer/commit/?id=8885bca2483781143478daa5eb4c875adc1c6f1e
Submitter: Zuul
Branch: stable/queens

commit 8885bca2483781143478daa5eb4c875adc1c6f1e
Author: bhujay <email address hidden>
Date: Fri Dec 8 16:24:09 2017 +0530

    Adds ceilometer-upgrade task

    Run ceilometer-upgrade task post ceilometer installation
    to create the resources in gnocchi

    Implements: Additonal step to run ceilometer-upgrade during ceilometer-post-install tasks
    Closes-Bug: 1737096
    Closes-Bug: 1778195
    (cherry picked from commit ca7cf70eafeb3be784aac9fb8ac21166fd4dbcd2)
    (cherry picked from commit 9d54c79b82a3ce325b0070ffc78f4091c5e33e83)

    Change-Id: I605f5527d8ae68e6a6eabbcfdd7fe0c60abd4332

Change abandoned by kourosh vivan (<email address hidden>) on branch: stable/pike
Review: https://review.opendev.org/580390
Reason: I don't work with stein anymore

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

Other bug subscribers