Hi,
Did you check your keys files in nova, kvm and cinder generated by ceph to auth?
Example to generate key file and then copy to compute:
ceph auth get-or-create compute mon ‘allow r’ osd ‘allow class-read object_prefix rbd_children, allow allow rwx pool=compute, allow allow rwx pool=volumes, allow rx pool=images’ -o /ceph.client.compute.keyring
Hope this help you.
Regards.
De: Braden, Albert <C-Albert.Braden@charter.com>
Enviado el: lunes, 26 de abril de 2021 15:46
Para: openstack-discuss@lists.openstack.org
Asunto: RE: [kolla] VM build fails after Train-Ussuri upgrade
everis Security Awareness
- This is an incoming mail from an EXTERNAL DOMAIN. Please verify sender before you open attachments or access links.
Can anyone help with this upgrade issue?
From: Braden, Albert
Sent: Monday, April 19, 2021 8:20 AM
To: openstack-discuss@lists.openstack.org
Subject: [kolla] VM build fails after Train-Ussuri upgrade
I upgraded my Train test cluster to Ussuri following these instructions:
OpenStack Docs: Operating Kolla
The upgrade completed successfully with no failures, and the existing VMs are fine, but new VM build fails with
rados.Rados.connect\nrados.PermissionDeniedError:
I’m running external ceph so I looked at this document:
It says that I need the following in
/etc/kolla/config/glance/ceph.conf:
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
I didn’t have that, so I added it and then redeployed, but still can’t build VMs. I tried adding the same to all copies of ceph.conf and redeployed again, but that didn’t help. Does anything else need to change in my
ceph config when upgrading from Train to Ussuri? I see some cryptic talk about ceph in the release notes but it’s not obvious what I’m being asked to change:
OpenStack Docs: Ussuri Series Release Notes
I read the bug that it refers to:
Bug #1904062 “external ceph cinder volume config breaks volumes ...” : Bugs : kolla-ansible (launchpad.net)
But I already have “backend_host=rbd:volumes” so I don’t think I’m hitting that.
Also I read these sections but I don’t see anything obvious here that needs to be changed:
My ceph keys have the default name and are in the default locations. I have cinder_backend_ceph: "yes". I don’t have a nova_backend setting but I have nova_backend_ceph: "yes"
I added nova_backend: "rbd" and redeployed and now I get a different error: rados.Rados.connect\nrados.ObjectNotFound
I apologize for the nonsense below. I have not been able to stop it from being attached to my external emails.
The contents of this e-mail message and
any attachments are intended solely for the
addressee(s) and may contain confidential
and/or legally privileged information. If you
are not the intended recipient of this message
or if this message has been addressed to you
in error, please immediately alert the sender
by reply e-mail and then delete this message
and any attachments. If you are not the
intended recipient, you are notified that
any use, dissemination, distribution, copying,
or storage of this message or any attachment
is strictly prohibited.