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

ccloud_library.sh ccloud::create_ccloud_stack throws error on CentOS 7 #723

Closed
mkieboom opened this issue Aug 5, 2020 · 7 comments
Closed

Comments

@mkieboom
Copy link
Contributor

mkieboom commented Aug 5, 2020

The create_ccloud_stack function in the ccloud_library.sh works perfectly fine when running it on MacOS but fails with below error when running on Linux/CentOS 7.

Error: accepts 1 arg(s), received 0
Usage:
  ccloud kafka cluster use <id> [flags]

Global Flags:
  -h, --help            Show help for this command.
  -v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

Kafka cluster id is empty
ERROR: Could not create cluster. Please troubleshoot
@ybyzek
Copy link
Contributor

ybyzek commented Aug 5, 2020

ccloud_library.sh is currently validated only on macOS, we have not yet validated it on other OS.

I'll create an internal jira to track this issue. We either need to test on both, otherwise add documentation on the OS test coverage

@mkieboom
Copy link
Contributor Author

mkieboom commented Aug 5, 2020

Understood, thanks @ybyzek

@ybyzek
Copy link
Contributor

ybyzek commented Aug 5, 2020

@mkieboom thanks for reporting 👍

rspurgeon added a commit that referenced this issue Aug 12, 2020
* Fix for linux support #723

* Update utils/ccloud_library.sh

Co-authored-by: Rick Spurgeon <rspurgeon@users.noreply.github.com>

Co-authored-by: Rick Spurgeon <rspurgeon@users.noreply.github.com>
rspurgeon added a commit that referenced this issue Aug 12, 2020
* Fix for linux support #723

* Update utils/ccloud_library.sh

Co-authored-by: Rick Spurgeon <rspurgeon@users.noreply.github.com>

Co-authored-by: Rick Spurgeon <rspurgeon@users.noreply.github.com>
@ybyzek
Copy link
Contributor

ybyzek commented Aug 13, 2020

@mkieboom @rspurgeon is this GitHub issue resolved by #737 ?

@rspurgeon
Copy link
Contributor

I believe so, however, I did not personally validate this change on a Linux system, instead verified the code change on MacOS and leaned on @mkieboom to verify on Linux. We can close this AFAIK unless you'd like me to add to my list a validation on Linux.

@ybyzek ybyzek closed this as completed Aug 18, 2020
@Lay3r8
Copy link

Lay3r8 commented Oct 22, 2020

ccloud_library.sh is currently validated only on macOS, we have not yet validated it on other OS.

I'll create an internal jira to track this issue. We either need to test on both, otherwise add documentation on the OS test coverage

May I kindly suggest that you guys add a prerequisite section on your docs and tutorials (like this one: https://kafka-tutorials.confluent.io/ccloud-produce-consume/kafka.html) to avoid people trying for hours to do something that is doomed to fail because they don't have the correct OS?

@ybyzek
Copy link
Contributor

ybyzek commented Oct 22, 2020

@Lay3r8

  1. There is an existing prerequisite section in the docs (https://docs.confluent.io/current/tutorials/examples/ccloud/docs/ccloud-stack.html) but it omits mention of OS. I filed an internal jira to track adding this in (DEVX-2191) -- UPDATE: now documented in the docs

  2. I don't think non-macOS are doomed to fail, just that they haven't necessarily been validated on an on-going basis. We still want to surface issues with other OS and try to resolve them best effort, as done with https://github.com/confluentinc/examples/pull/737/files

  3. Did you encounter a problem with ccloud-stack? If so, please share the error in a new GitHub issue and we can track there.

Thanks!

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

No branches or pull requests

4 participants