Ask Your Question

Vincent G's profile - activity

2017-06-12 05:53:51 -0500 received badge  Famous Question (source)
2017-01-29 16:41:55 -0500 received badge  Notable Question (source)
2017-01-16 02:12:06 -0500 received badge  Famous Question (source)
2017-01-16 02:12:06 -0500 received badge  Notable Question (source)
2016-11-30 08:51:30 -0500 received badge  Popular Question (source)
2016-11-23 14:22:34 -0500 received badge  Notable Question (source)
2016-11-23 14:22:34 -0500 received badge  Popular Question (source)
2016-11-16 04:52:38 -0500 asked a question Attach existing volumes to heat instances

Hi there,

I have 'n' created volumes that I wish to attach to 'n' instances using heat. These volumes have a patterned name (volume_%id%).

I've created a template where the volumes are referenced as 'parameters' like :

   parameters: 
      volume_00:
         description: ID of the volume_00
         label: volume_00 ID
         type: string
         default: d6ec3b01-8c9a-4677-842f-c1d054b1fa6c
      volume_01:
         description: (...)

On the other hand, the resources are created with :

resources:
port_00:
    type: OS::Neutron::Port
    properties:
        network: { get_param: network_name }
        fixed_ips:
            - subnet_id: { get_param: subnet_name }
instance_00:
    type: OS::Nova::Server
    properties:
        key_name: { get_param: key_name }
        image: { get_param: image_id }
        flavor: { get_param: flavor_id }
        networks:
            - port: { get_resource: port_00 }
volume_attachment_00:
    type: OS::Cinder::VolumeAttachment
    properties:
        volume_id: { get_param: volume_00 }
        instance_uuid: { get_resource: instance_00 }
        mountpoint: { get_param: mount_point }

Instead of rewriting 'n' times these statements, can I populate a file with the IDs (from 00 to 'n') and the corresponding volume_ids that can be used with a "repeat" statement to generate 'n' instances ? I can put the resources in a nested template, but how can I get the volume ids from a file to be sourced as the template parameters ?

Any help, suggestion appreciated :)

Regards

2016-11-04 10:40:18 -0500 answered a question how to reslove erlang dependencies? where to find the repositories for libwx_gtk3u_*
2016-04-20 02:33:10 -0500 answered a question Launching instances problem

Hi, It may be a network problem, could you retry with the neutron logs/debug activated ? You may find a clue in them...

2016-01-12 03:26:56 -0500 received badge  Enthusiast
2016-01-06 10:43:23 -0500 commented question How to limit Tempest output ?

Note : The line that I want to hide is :

running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} (...)

This line only appears when testr is discovering the tests.

2016-01-06 07:38:02 -0500 commented answer Use tempest totals

I know that but how do I get these values from a script without using awk/sed/grep ?

2016-01-06 07:05:23 -0500 received badge  Popular Question (source)
2016-01-06 04:01:49 -0500 commented answer How to limit Tempest output ?

And for the first line, just comment the "verbose" parameter in tempest.conf (was set to false in my case)

2016-01-06 04:00:04 -0500 received badge  Editor (source)
2016-01-06 03:57:52 -0500 answered a question How to limit Tempest output ?

In fact that was under my nose... in tempest.conf / [DEFAULT] / default_log_levels

You can add/remove/change any of the log levels by module used.

Thanks to clarkb on #openstack-dev :)

This is OK for the [INFO/WARN/...] messages, but NOT for the line beginning with "running=..." Any suggestion ?

2016-01-05 08:33:33 -0500 received badge  Nice Answer (source)
2016-01-05 03:20:57 -0500 received badge  Teacher (source)
2016-01-04 10:23:11 -0500 answered a question API call to fetch all tenants

Hi,

Is that mandatory to put the "tenantName":"admin" at the end of your request ? Try without... or elsewhere...

A correct auth request :

{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "my_pass"}}}'
2016-01-04 10:11:31 -0500 asked a question Use tempest totals

Hi there,

How can I get the values of tempest output like number of tests ran, passed, skipped, and runtime ?

======
Totals
======
Ran: 1 tests in 121.0000 sec.
 - Passed: 1
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0
Sum of execute time for each test: 116.2286 sec.

Are there some variables storing these elements ? How can I get these values from a script except filtering the output (grep/sed/awk) ?

Thanks in advance !

2016-01-04 10:09:41 -0500 asked a question How to limit Tempest output ?

Hi there,

I'm working with tempest to make a monitoring script of my IaaS I have some issues with the output of the tests that are run.

How can I limit/suppress any 'INFO' or 'WARNING' output within the API ? I know I can filter the output but It's not practical at all...

Some lines I would like to hide :

Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} (...)
2016-01-04 16:50:45.127 15986 INFO paramiko.transport [-] Connected (version 2.0, client dropbear_2012.55)
2016-01-04 16:50:45.567 15986 INFO paramiko.transport [-] Authentication (publickey) successful!
2016-01-04 16:51:08.721 15986 WARNING tempest_lib.common.ssh [-] Failed to establish authenticated ssh connection to cirros@172.16.117.70 ([Errno None] Unable to connect to port 22 on  or 172.16.117.70). Number attempts: 1. Retry after 2 seconds.

Maybe someone could help me with some sub-utilities (testr ?) in order to hide all/any of this ?