datastax / fallout

Distributed System Testing as a Service
Apache License 2.0
51 stars 12 forks source link

Run test that provissioner is sshonly failed #9

Open xiaohanjie opened 2 years ago

xiaohanjie commented 2 years ago

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:

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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