bhouse-nexthop opened a new issue, #14755:
URL: https://github.com/apache/cloudstack/issues/14755

   ### Problem
   
   `validate-cks-node` (kubernetes-service plugin) checks a node for required 
packages before it is added to a CKS cluster. On Debian/Ubuntu it collects the 
missing ones with:
   
   ```bash
   MISSING_PACKAGES+="$package"
   ```
   
   On an array, this appends to the string in element 0. It does not add an 
element.
   
   | Effect | Detail |
   |---|---|
   | Count | always `1`, however many are missing |
   | Message | names run together, e.g. 
`cloud-guest-utilsapt-transport-httpscurl...` |
   | Exit status | still 1, so the node is rejected, but the log does not say 
what to install |
   
   The RPM branch uses a different append and is not affected.
   
   ### Reproduce
   
   Run the script logic with `dpkg` stubbed so that only some packages are 
"installed":
   
   ```
   1
   Following packages are missing in the node template: 
cloud-guest-utilsapt-transport-httpscurlgnupg-agentsoftware-properties-commonpython3-json-pointerpython3-jsonschema
   ```
   
   ### Expected
   
   Each missing package is an array element: the count is correct and the names 
are separated by spaces.
   
   ### Versions
   
   4.22, main
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [I] CKS: validate-cks-node me... bhouse-nexthop (via GitHub) via commits

Reply via email to