Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph ansible 3.1 igw: fix rbd-target-gw startup #2944

Merged
merged 2 commits into from Jul 27, 2018
Merged

ceph ansible 3.1 igw: fix rbd-target-gw startup #2944

merged 2 commits into from Jul 27, 2018

Conversation

mikechristie
Copy link

The problem is rbd-target-gw needs the rbd pool to be created, keyring to be copied over, and the iscsi-gateway.cfg to be setup before starting the rbd-target-gw service.

In the master branch this is fixed by this commit:

    commit 91bf53ee932a6748c464bea762f8fb6f07f11347
    Author: Sébastien Han <seb@redhat.com>
    Date:   Fri Mar 23 11:24:56 2018 +0800

        ceph-iscsi: support for containerize deployment

where the needed setup tasks are done in common.yml which is done before prerequisites.yml.

To avoid porting all those changes to 3.1 this patch just moves the rbd-target-gw startup to configure_iscsi.yml after everything has been setup.

This fixes red hat bz:

https://bugzilla.redhat.com/show_bug.cgi?id=1601325

The problem is rbd-target-gw needs the rbd pool to be created, keyring
to be copied over, and the iscsi-gateway.cfg to be setup before starting
the rbd-target-gw service.

In the master branch this is fixed by this commit:

    commit 91bf53e
    Author: Sébastien Han <seb@redhat.com>
    Date:   Fri Mar 23 11:24:56 2018 +0800

        ceph-iscsi: support for containerize deployment

where the needed setup tasks are done in common.yml which is done
before prerequisites.yml.

To avoid porting all those changes to 3.1 this patch just moves the
rbd-target-gw startup to configure_iscsi.yml after everything has
been setup.

This fixes red hat bz:

https://bugzilla.redhat.com/show_bug.cgi?id=1601325

Signed-off-by: Mike Christie <mchristi@redhat.com>
@ktdreyer
Copy link
Member

Mike, can you edit this pull request in GitHub to be targeted to "stable-3.1" instead of "master"?

@ktdreyer ktdreyer changed the base branch from master to stable-3.1 July 26, 2018 19:00
@ktdreyer
Copy link
Member

Oh, I was able to do it, here.

@leseb leseb added the backport label Jul 27, 2018
@mergify mergify bot merged commit 04ec87f into ceph:stable-3.1 Jul 27, 2018
@mikechristie mikechristie deleted the 3.1-fix-igw-startup branch July 27, 2018 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants