Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Renato Tanaka
    @renatotnk
    Again, this is a snippet of the full log, but it already tells us where to look at
    test scenario CinderVolumes.create_and_attach_volume
    args position 1
    args values:
    {
      "args": {
        "size": {
          "min": 1,
          "max": 5
        },
        "flavor": {
          "name": "m1.tiny"
        },
        "image": {
          "name": "cirros"
        },
        "create_volume_params": {
          "availability_zone": "nova"
        }
      },
      "runner": {
        "times": 5,
        "concurrency": 1
      },
      "contexts": {},
      "sla": {
        "failure_rate": {
          "max": 0
        }
      },
      "hooks": []
    }
    
    --------------------------------------------------------------------------------
    Task f66a9552-8e3d-47a0-81c3-ee12005d7f48 has 5 error(s)
    --------------------------------------------------------------------------------
    
    Conflict: Multiple possible networks found, use a Network ID to be more specific. (HTTP 409) (Request-ID: req-ef88a501-4cce-4d22-aa7b-22dd99824428)
    
    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/dist-packages/rally/task/runner.py", line 69, in _run_scenario_once
        getattr(scenario_inst, method_name)(**scenario_kwargs)
      File "/usr/local/lib/python3.6/dist-packages/rally/common/logging.py", line 329, in wrapper
        return f(*args, **kwargs)
      File "/usr/local/lib/python3.6/dist-packages/rally_openstack/task/scenarios/cinder/volumes.py", line 452, in run
        server = self._boot_server(image, flavor, **create_vm_params)
      File "/usr/local/lib/python3.6/dist-packages/rally_openstack/task/scenarios/nova/utils.py", line 104, in _boot_server
        server_name, image, flavor, **kwargs)
      File "/usr/local/lib/python3.6/dist-packages/novaclient/v2/servers.py", line 1477, in create
        return self._boot(response_key, *boot_args, **boot_kwargs)
      File "/usr/local/lib/python3.6/dist-packages/novaclient/v2/servers.py", line 837, in _boot
        return_raw=return_raw, **kwargs)
      File "/usr/local/lib/python3.6/dist-packages/novaclient/base.py", line 363, in _create
        resp, body = self.api.client.post(url, body=body)
      File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/adapter.py", line 401, in post
        return self.request(url, 'POST', **kwargs)
      File "/usr/local/lib/python3.6/dist-packages/novaclient/client.py", line 78, in request
        raise exceptions.from_response(resp, body, url, method)
    novaclient.exceptions.Conflict: Multiple possible networks found, use a Network ID to be more specific. (HTTP 409) (Request-ID: req-ef88a501-4cce-4d22-aa7b-22dd99824428)
    
    --------------------------------------------------------------------------------
    +----------------------------------------------------------------------------------------------------------------------+
    |                                                 Response Times (sec)                                                 |
    +-------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
    | Action            | Min (sec) | Median (sec) | 90%ile (sec) | 95%ile (sec) | Max (sec) | Avg (sec) | Success | Count |
    +-------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
    | nova.boot_server  | 0.669     | 0.68         | 0.756        | 0.776        | 0.797     | 0.703     | 0.0%    | 5     |
    | total             | 0.67      | 0.68         | 0.756        | 0.777        | 0.797     | 0.703     | 0.0%    | 5     |
    |  -> duration      | 0.67      | 0.68         | 0.756        | 0.777        | 0.797     | 0.703     | 0.0%    | 5     |
    |  -> idle_duration | 0.0       | 0.0          | 0.0          | 0.0          | 0.0       | 0.0       | 0.0%    | 5     |
    +-------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
    
    Load duration: 3.531869
    Full duration: 12.255646
    
    At least one workload did not pass SLA criteria.
    Pardon for my newbie behavior, I'm kinda learning by myself (Rally, Openstack and Docker), all of this is for my graduation thesis.
    tavasti
    @tavasti
    Hi! I am trying to run CinderVolumes.create_and_attach_volume, and in our cloud, volume & server need to be in same availability_zone, but cannot find how to pass availability_zone for server.
    1 reply
    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]
    Yes, you found a right way:)
    tavasti
    @tavasti
    Next challenge, VMTasks.boot_runcommand_delete with booting from volume, will see how it goes
    tavasti
    @tavasti
    Looks like code isn't handling from volume_args anything else than size :-(
    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]
    Strange
    Do you mean VMTask scenario or CinderVolumes?
    tavasti
    @tavasti
    VMTask
        if volume_args:
            volume = self.cinder.create_volume(volume_args["size"],
                                               imageRef=None)
            kwargs["block_device_mapping"] = {"vdrally": "%s:::1" % volume.id}
    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]
    Hm
    Are you familiar with gerrit workflow?:)
    tavasti
    @tavasti
    Unfortunately, no
    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]
    :(
    tavasti
    @tavasti
    Don't even know what is gerrit :-)
    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]
    Ha
    It is the system that OpenStack community uses for code review
    tavasti
    @tavasti
    Oh, I see
    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]
    It may look strange and complicated, but it is how openstack works:)
    tavasti
    @tavasti
    From where I can find definition of cinder.create_volume, so that I can check and possibly modify it, so that it is possible to pass volume_args, containing availability_zone?
    tavasti
    @tavasti
    Thanks!
    tavasti
    @tavasti
    Not getting it working right away, need to add some debug prints to see what is happening
    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]
    Strange...
    tavasti
    @tavasti
    I think it is pretty normal that I don't get all working with first try
    tavasti
    @tavasti
    Ok, now I got volume to right zone, then need to handle also instance. This is progressing, but unfortunately running out of time for today, continuing tomorrow
    Would it be wanted for main branch, and what is workflow, that gerrit?
    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]

    https://docs.opendev.org/opendev/infra-manual/latest/developers.html

    You need to create a gerrit account, install git-review and that is all

    tavasti
    @tavasti
    Ok, I'll check
    Thanks for help
    tavasti
    @tavasti
    I got that VMTasks.boot_runcommand_delete running, server part worked ok once it had proper parameters
    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]
    \ะพ/
    Konstantin Ivanov
    @o1o1o11o1_twitter
    Hey guys, how do you specify a network id when using NovaServers.boot_and_delete_server ? I get a 409 when multiple networks exist: Conflict: Multiple possible networks found, use a Network ID to be more specific. (HTTP 409)
    Konstantin Ivanov
    @o1o1o11o1_twitter
    never mind, I figured it out
    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]
    Oops, sorry. I saw your message late at night and decided to answer at the morning...
    Konstantin Ivanov
    @o1o1o11o1_twitter
    ah no worries
    Konstantin Ivanov
    @o1o1o11o1_twitter
    basically had to add a network section with start_cidr stanza specifying a subunet range and it seems to pick the correct network based on that
    ansao-aci
    @ansao-aci
    Hi All, Can anyone pls point me to datapath tests of security group ?
    Jaan Vaks
    @elx-vax:matrix.org
    [m]

    When I run docker run -v /my/rally/volume/rally:/home/rally/.rally xrally/xrally-openstack:2.1.0' verify create-verifier --type tempest --name tempest-verifier I get a git clone error.
    "2021-10-11 13:39:13.845 1 ERROR rally.verification.utils [-] Error output: 'Cloning into '/home/rally/.rally/verification/verifier-e18dac62-1d56-4418-aa07-bd836904ab31/repo'...
    fatal: unable to access 'https://opendev.org/openstack/tempest/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    ': subprocess.CalledProcessError: Command '['git', 'clone', 'https://opendev.org/openstack/tempest', '/home/rally/.rally/verification/verifier-e18dac62-1d56-4418-aa07-bd836904ab31/repo']' returned non-zero exit status 128."

    Am I doing something wrong or can someone confirm and reproduce this error?

    Jaan Vaks
    @elx-vax:matrix.org
    [m]

    :point_up: Edit: When I run docker run -v /my/rally/volume/rally:/home/rally/.rally xrally/xrally-openstack:2.1.0 verify create-verifier --type tempest --name tempest-verifier I get a git clone error.
    "2021-10-11 13:39:13.845 1 ERROR rally.verification.utils [-] Error output: 'Cloning into '/home/rally/.rally/verification/verifier-e18dac62-1d56-4418-aa07-bd836904ab31/repo'...
    fatal: unable to access 'https://opendev.org/openstack/tempest/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    ': subprocess.CalledProcessError: Command '['git', 'clone', 'https://opendev.org/openstack/tempest', '/home/rally/.rally/verification/verifier-e18dac62-1d56-4418-aa07-bd836904ab31/repo']' returned non-zero exit status 128."

    Am I doing something wrong or can someone confirm and reproduce this error?

    :point_up: Edit: When I run docker run -v /my/rally/volume/rally:/home/rally/.rally xrally/xrally-openstack:2.1.0 verify create-verifier --type tempest --name tempest-verifier I get a git clone error.
    "2021-10-11 13:39:13.845 1 ERROR rally.verification.utils [-] Error output: 'Cloning into '/home/rally/.rally/verification/verifier-e18dac62-1d56-4418-aa07-bd836904ab31/repo'...
    fatal: unable to access 'https://opendev.org/openstack/tempest/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    ': subprocess.CalledProcessError: Command '['git', 'clone', 'https://opendev.org/openstack/tempest', '/home/rally/.rally/verification/verifier-e18dac62-1d56-4418-aa07-bd836904ab31/repo']' returned non-zero exit status 128."

    Am I doing something wrong or can someone confirm and reproduce this error?

    EDIT: I suppose you need to create a database first hand in the volume specified.

    Andrey Kurilin
    @andreykurilin:matrix.org
    [m]
    Hm... I see such error first time..
    Probably, we need to rebuild the rally-openstack image to take the latest ca-certificates
    1 reply
    No need, I will propose a new release later today or tomorrow and it should automatically build a new image
    Jaan Vaks
    @elx-vax:matrix.org
    [m]
    In the meantime I've been trying to override the tempest config to disable ssl_verification https://github.com/openstack/rally-openstack/blob/master/rally_openstack/verification/tempest/config.py#L147-L150
    but i can't find a way to pass the new tempest config.
    to use the rally verify configure-verifier --reconfigure i have to have an "installed" verifier which i never get to since the original command fails.
    anyone know how to set the disable_ssl_certificate_validation option for tempest?
    when running in the docker xrally/xrally-openstack