IPv6 Distributed Cloud: sudo cmd return very slow on subcloud worker nodes

Bug #1861424 reported by Peng Peng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Invalid
Medium
Dariush Eslimi

Bug Description

Brief Description
-----------------
sudo cmd return in more than 2 mins on subcloud compute nodes, with msg "sudo: ldap_sasl_bind_s(): Can't contact LDAP server"

Severity
--------
Major

Steps to Reproduce
------------------
Install subcloud with compute node
run sudo cmd on compute

Expected Behavior
------------------
return in a reasonable time

Actual Behavior
----------------
return very slow with error msg (minutes)

Reproducibility
---------------
Reproducible

System Configuration
--------------------
DC system

Lab-name: WCP_80-85

Branch/Pull Time/Commit
-----------------------
stx3.0 designer load as of 2020-01-28_18-49-15

Last Pass
---------
unknow

Timestamp/Logs
--------------
 sudo ls
sudo: ldap_sasl_bind_s(): Can't contact LDAP server
Password:
compute-0:~$

Test Activity
-------------
Regression Testing

Revision history for this message
Peng Peng (ppeng) wrote :
Revision history for this message
Yang Liu (yliu12) wrote :

Comments from Andy Ning:
When sudo on any nodes of the subcloud, the system authentication will check against ldap as part of the process. ldap is running on system controller so there must be a route to reach the system controller.

Workaround is to add a route on worker nodes, example:
system host-route-add compute-0 mgmt0 fd01:1::0 64 fd01:2::1

description: updated
summary: - IPv6 Distributed Cloud: sudo cmd return very slow on subcloud compute
+ IPv6 Distributed Cloud: sudo cmd return very slow on subcloud worker
nodes
Ghada Khalil (gkhalil)
tags: added: stx.distcloud
Revision history for this message
Ghada Khalil (gkhalil) wrote :

stx.4.0 / medium priority - workaround exists; only applicable to non-AIO subclouds

tags: added: stx.4.0
Changed in starlingx:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Dariush Eslimi (deslimi)
Revision history for this message
Bart Wensley (bartwensley) wrote :

This is not a bug. The installation instructions for DC require the user to add a route for each host in the subcloud to reach the system controller.

Changed in starlingx:
status: Triaged → Invalid
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.