[Airship-discuss] osh-infra ldap error with promenade + armada

James Devon jr8586335 at gmail.com
Fri Jun 8 19:18:51 UTC 2018


Hi,

After having tried airship-in-a-bottle, I'm trying to setup a Kubernetes
cluster and install openstack on it using promenade and armada.

I'm using the basic example :
https://github.com/openstack/airship-promenade/tree/master/examples/basic,
I've changed the ip addresses to match my environment of 4 nodes (n0 for
genesis and then n1, n2, n3).

At this point I'm facing only one problem:
promenade-api.ucp.svc.cluster.local is resolvable but the resolution is bad
(192.168.150.165).
So instead of promenade-api.ucp.svc.cluster.local, I used the pod address
with the good port and it is working fine.

Then, I am able to make n1,n2 and n3 join the cluster and I use the scripts
from
https://github.com/openstack/openstack-helm/tree/master/tools/deployment/armada
to apply armada manifests.

osh-infra is not able to start the ldap pod.

Events:

  Type     Reason                  Age                From
    Message

  ----     ------                  ----               ----
    -------

  Warning  FailedScheduling        6m (x4 over 6m)    default-scheduler
    pod has unbound PersistentVolumeClaims (repeated 3 times)

  Normal   Scheduled               6m                 default-scheduler
    Successfully assigned ldap-0 to n3

  Normal   SuccessfulAttachVolume  6m
attachdetach-controller  AttachVolume.Attach succeeded for volume
"pvc-85d6770b-6b4c-11e8-b6e5-080027ee1df7"

  Normal   SuccessfulAttachVolume  6m
attachdetach-controller  AttachVolume.Attach succeeded for volume
"pvc-85dc46a5-6b4c-11e8-b6e5-080027ee1df7"

  Normal   SuccessfulMountVolume   6m                 kubelet, n3
    MountVolume.SetUp succeeded for volume "ldap-token-txdqp"

  Warning  FailedMount             13s (x11 over 6m)  kubelet, n3
    MountVolume.WaitForAttach failed for volume
"pvc-85dc46a5-6b4c-11e8-b6e5-080027ee1df7" : fail to check rbd image status
with: (executable file not found in $PATH), rbd output: ()

  Warning  FailedMount             12s (x11 over 6m)  kubelet, n3
    MountVolume.WaitForAttach failed for volume
"pvc-85d6770b-6b4c-11e8-b6e5-080027ee1df7" : fail to check rbd image status
with: (executable file not found in $PATH), rbd output: ()

  Warning  FailedMount             2s (x3 over 4m)    kubelet, n3
    Unable to mount volumes for pod
"ldap-0_osh-infra(85e73018-6b4c-11e8-b6e5-080027ee1df7)": timeout expired
waiting for volumes to attach or mount for pod "osh-infra"/"ldap-0". list
of unmounted volumes=[ldap-config ldap-data]. list of unattached
volumes=[ldap-config ldap-data ldap-token-txdqp]

I've checked the logs of ceph-osd and there's also something:

*ceph-2.1 | *starting osd.2 at - osd_data /var/lib/ceph/osd/ceph-2
/var/lib/ceph/journal/journal.2

*ceph-2.1 | **2018-06-08 18:41:03.854234 7f7cd7d58e00 -1 journal
FileJournal::_open: disabling aio for non-block journal.  Use
journal_force_aio to force use of aio anyway*

*ceph-2.1 | **2018-06-08 18:41:03.855499 7f7cd7d58e00 -1 journal
do_read_entry(8192): bad header magic*

*ceph-2.1 | **2018-06-08 18:41:03.855567 7f7cd7d58e00 -1 journal
do_read_entry(8192): bad header magic*

*ceph-2.1 | **2018-06-08 18:41:03.901804 7f7cd7d58e00 -1 osd.2 0
log_to_monitors {default=true}*

*ceph-2.1 | **2018-06-08 18:41:04.529480 7f7cbb2c7700 -1 osd.2 0 waiting
for initial osdmap*

Did anybody encountered this error and how to fix it?

Best,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20180608/447cc34b/attachment-0001.html>


More information about the Airship-discuss mailing list