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

Run test that provissioner is sshonly failed #9

Open
xiaohanjie opened this issue Dec 23, 2021 · 4 comments
Open

Run test that provissioner is sshonly failed #9

xiaohanjie opened this issue Dec 23, 2021 · 4 comments

Comments

@xiaohanjie
Copy link

fallout build is lastest.

My YAML:

ensemble:
server:
node.count: 1
provisioner:
name: sshonly
properties:
host: 10.4.116.46
user.name: root
user.password: Root123
configuration_manager:
- name: noop
client: server
workload:
phases:
- noop:
module: sleep
properties:
duration: 1s
checkers:
nofail:
checker: nofail

Run the test. Stat is Failed(SETTING_UP)
Check fallout-errors.log
714089e6f8722d2ff6be1e26683c834
I have a existed_k8s cluster and run a cassandra perfermance test and dtest on it. Could you have example test yaml file for cassandra using Dtest? Thanks!

@kijanowski
Copy link
Contributor

I think you need to set the user.name property at the server level. Could you try with this yaml?

ensemble:
  server:
    user.name: root
    node.count: 1
    provisioner:
      name: sshonly
      properties:
        host: 10.4.116.46
        user.password: Root123
    configuration_manager:
      - name: noop

  client: server
workload:
  phases:
    - noop:
      module: sleep
      properties:
        duration: 1s
  checkers:
    nofail:
      checker: nofail

@xiaohanjie
Copy link
Author

This yaml isnot work at fallout. See Pic 1
ad9f58a75abd651f0cd7fcbe51444b6
Edit yaml file , this is work at fallout See Pic 2. but still failed . fallout.error See pic 3
2de5968dec2b1200799c4c3a38c5923

7b37636718b647114cced0bc7938587

kijanowski added a commit to kijanowski/fallout that referenced this issue Jan 4, 2022
…operty instead of a system property

The `SshOnlyProvisioner` gets the user name from the system variable `fallout.system.user.name` and for some reason that is empty. However, it should fetch the username from the `user.name` property of the sshonly provisioner. This fix addresses datastax#9
@kijanowski
Copy link
Contributor

@xiaohanjie I've created a PR that fixes this issue with the user name not being picked up from the yaml file. If you can apply it locally, rebuild Fallout and rerun, then it should work. Otherwise, I'll let you know, when a new image is available.

@guyboltonking
Copy link
Contributor

@xiaohanjie this should be fixed in fallout-1.266.0; please update the issue and let us know.

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

3 participants