*** itlinux has joined #openstack-rally | 00:09 | |
*** winston-d_ has joined #openstack-rally | 00:24 | |
openstackgerrit | Merged openstack/rally master: [flavor]replace kwargs with details args https://review.openstack.org/466258 | 00:32 |
---|---|---|
*** itlinux has quit IRC | 00:42 | |
*** LindaWang has quit IRC | 00:48 | |
openstackgerrit | Merged openstack/rally master: Add cinder.CreateAndSetQos scenario https://review.openstack.org/458779 | 00:52 |
*** tovin07_ has joined #openstack-rally | 00:56 | |
*** dixiaoli has joined #openstack-rally | 00:56 | |
*** LindaWang has joined #openstack-rally | 01:01 | |
*** dixiaoli has quit IRC | 01:14 | |
*** dave-mccowan has joined #openstack-rally | 01:21 | |
openstackgerrit | chenhb proposed openstack/rally master: [validator]remove redundant validator https://review.openstack.org/468229 | 01:24 |
*** yolkfull_ has joined #openstack-rally | 01:24 | |
*** itlinux has joined #openstack-rally | 01:34 | |
*** dave-mccowan has quit IRC | 01:36 | |
*** itlinux has quit IRC | 01:38 | |
*** ilbot3 has quit IRC | 01:44 | |
*** ilbot3 has joined #openstack-rally | 01:48 | |
*** abalutoiu_ has quit IRC | 01:51 | |
*** abalutoiu_ has joined #openstack-rally | 01:52 | |
openstackgerrit | Ma Xinjian proposed openstack/rally master: Add CinderVolumeTypes.create_volume_type_add_and_list_type_access https://review.openstack.org/424533 | 02:10 |
*** abalutoiu_ has quit IRC | 02:16 | |
*** LindaWang1 has joined #openstack-rally | 02:26 | |
*** linuxaddicts has joined #openstack-rally | 02:28 | |
*** LindaWang has quit IRC | 02:30 | |
*** LindaWang1 is now known as LindaWang | 02:30 | |
openstackgerrit | chenhb proposed openstack/rally master: [validator]remove redundant validator and cleanup warning https://review.openstack.org/468229 | 02:43 |
*** yamamoto_ has joined #openstack-rally | 02:55 | |
openstackgerrit | Hai Shi proposed openstack/rally master: [raas] Adding a decorator of api_wrapper https://review.openstack.org/463340 | 03:08 |
openstackgerrit | chenhb proposed openstack/rally master: Fix unit test of rally ci https://review.openstack.org/468260 | 03:10 |
*** aojea has joined #openstack-rally | 04:00 | |
openstackgerrit | chenhb proposed openstack/rally master: [validator]remove redundant validator and cleanup warning https://review.openstack.org/468229 | 04:03 |
*** aojea has quit IRC | 04:04 | |
*** yamamoto_ has quit IRC | 04:08 | |
*** aojea has joined #openstack-rally | 04:15 | |
*** chhavi has joined #openstack-rally | 04:25 | |
*** chhavi has quit IRC | 04:37 | |
*** linuxaddicts has quit IRC | 04:47 | |
*** linuxaddicts has joined #openstack-rally | 04:47 | |
*** yamamoto_ has joined #openstack-rally | 05:08 | |
openstackgerrit | chenhb proposed openstack/rally master: [raas] Adding a decorator of api_wrapper https://review.openstack.org/463340 | 05:13 |
*** chhavi has joined #openstack-rally | 05:23 | |
*** linuxaddicts has quit IRC | 05:25 | |
*** linuxgeek has joined #openstack-rally | 05:25 | |
*** linuxgeek has quit IRC | 05:25 | |
*** linuxgeek has joined #openstack-rally | 05:25 | |
openstackgerrit | Ma Xinjian proposed openstack/rally master: Add CinderVolumeTypes.create_volume_type_add_and_list_type_access https://review.openstack.org/424533 | 05:34 |
*** aojea has quit IRC | 05:35 | |
*** aojea has joined #openstack-rally | 05:42 | |
*** pcaruana has joined #openstack-rally | 05:43 | |
*** aojea has quit IRC | 05:55 | |
*** aojea has joined #openstack-rally | 05:57 | |
*** aojea has quit IRC | 06:00 | |
*** rcernin has joined #openstack-rally | 06:10 | |
*** Serlex has joined #openstack-rally | 07:00 | |
*** chhavi has quit IRC | 07:04 | |
openstackgerrit | Merged openstack/rally master: Fix unit test of rally ci https://review.openstack.org/468260 | 07:05 |
*** aojea has joined #openstack-rally | 07:18 | |
*** openstackgerrit has quit IRC | 07:48 | |
*** openstackgerrit has joined #openstack-rally | 08:01 | |
openstackgerrit | Staroverov Anton proposed openstack/rally master: Move 'required_contexts' validator to '../validators.py' https://review.openstack.org/462186 | 08:01 |
openstackgerrit | Staroverov Anton proposed openstack/rally master: Move 'required-param-or-context' validator to '../validators.py' https://review.openstack.org/462550 | 08:07 |
*** aarefiev_afk is now known as aarefiev | 08:10 | |
*** abalutoiu has joined #openstack-rally | 08:13 | |
*** abalutoiu has quit IRC | 08:24 | |
bhagyashris | andreykurilin: Hi | 08:27 |
*** abalutoiu has joined #openstack-rally | 08:28 | |
*** linuxgeek is now known as linuxaddicts | 08:29 | |
*** e0ne has joined #openstack-rally | 08:39 | |
rallydev-bot | [From Gitter] andreykurilin : bhagyashris: hi | 09:14 |
bhagyashris | andreykurilin: sorry for disturb you, but i am struggling to use rally hook to stop the rabbitmq service using the "fault_injection"? | 09:27 |
bhagyashris | andreykurilin: I have written a fault.josn as: | 09:28 |
bhagyashris | andreykurilin: same as dummy mentioned in https://docs.openstack.org/developer/rally/plugins/implementation/hook_and_trigger_plugins.html just by making the change under hook name as 'fault_injection' and "args": "ssh openstack@openstack-VirtualBox service rabbitmq stop" | 09:32 |
bhagyashris | and run the task using the rally task start --task=fault.json | 09:32 |
bhagyashris | andreykurilin:: but got the error Subtask Dummy.dummy[0] has wrong configuration | 09:34 |
*** lpetrut has joined #openstack-rally | 09:34 | |
openstackgerrit | Merged openstack/rally master: [validator]remove redundant validator and cleanup warning https://review.openstack.org/468229 | 09:36 |
rallydev-bot | [From Gitter] andreykurilin : can you post the whole error? | 09:40 |
bhagyashris | Subtask Dummy.dummy[0] has wrong configuration | 09:44 |
bhagyashris | Subtask configuration: | 09:45 |
bhagyashris | {"runner": {"type": "constant", "times": 1500, "concurrency": 1}, "hooks": [{"name": "fault_injection", "args": "ssh openstack@openstack-VirtualBox service rabbitmq stop", "trigger": {"name": "event", "args": {"unit": "iteration", "at": [5, 50, 200, 1000]}}}], "args": {"sleep": 0.01}} | 09:45 |
bhagyashris | Reason(s): | 09:45 |
bhagyashris | 'ssh openstack@openstack-VirtualBox service rabbitmq stop' is not of type 'object' | 09:45 |
bhagyashris | Failed validating 'type' in schema: | 09:45 |
bhagyashris | {'$schema': 'http://json-schema.org/draft-04/schema', | 09:45 |
bhagyashris | 'additionalProperties': False, | 09:45 |
bhagyashris | 'properties': {'action': {'type': 'string'}, | 09:45 |
bhagyashris | 'verify': {'type': 'boolean'}}, | 09:45 |
bhagyashris | 'required': ['action'], | 09:45 |
bhagyashris | 'type': 'object'} | 09:45 |
bhagyashris | On instance: | 09:45 |
bhagyashris | 'ssh openstack@openstack-VirtualBox service rabbitmq stop'` | 09:45 |
bhagyashris | andreykurilin: I have post the error | 09:46 |
bhagyashris | and my task file(fault.json) is: { | 09:47 |
bhagyashris | "Dummy.dummy": [ | 09:47 |
bhagyashris | { | 09:47 |
bhagyashris | "args": { | 09:47 |
bhagyashris | "sleep": 0.01 | 09:47 |
bhagyashris | }, | 09:47 |
bhagyashris | "runner": { | 09:47 |
bhagyashris | "type": "constant", | 09:47 |
bhagyashris | "times": 1500, | 09:47 |
bhagyashris | "concurrency": 1 | 09:47 |
bhagyashris | }, | 09:47 |
bhagyashris | "hooks": [ | 09:47 |
bhagyashris | { | 09:47 |
bhagyashris | "name": "fault_injection", | 09:47 |
bhagyashris | "args": "ssh openstack@openstack-VirtualBox service rabbitmq stop", | 09:47 |
bhagyashris | "trigger": { | 09:47 |
bhagyashris | "name": "event", | 09:47 |
bhagyashris | "args": { | 09:47 |
bhagyashris | "unit": "iteration", | 09:47 |
bhagyashris | "at": [5, 50, 200, 1000] | 09:47 |
bhagyashris | } | 09:47 |
bhagyashris | } | 09:47 |
bhagyashris | } | 09:47 |
bhagyashris | ] | 09:47 |
bhagyashris | } | 09:47 |
bhagyashris | ] | 09:47 |
bhagyashris | } | 09:47 |
*** tovin07_ has quit IRC | 09:48 | |
rallydev-bot | [From Gitter] andreykurilin : bhagyashris: you are trying to use fault_injection hook as sys_call | 09:59 |
rallydev-bot | [From Gitter] andreykurilin : just replace fault_injection to sys_call | 10:00 |
rallydev-bot | [From Gitter] andreykurilin : and everuthing should work | 10:00 |
bhagyashris | andreykurilin: yeah i have replace fault_injaction to sys_call | 10:02 |
rallydev-bot | [From Gitter] andreykurilin : I do not know your enviroment settings, but it seems that after first execution of hook at iteration #5, the rabbitmq will be stopped and down and all other iterations will fail and calls of the same hook at iterations #50, #50 do not result in anything | 10:02 |
rallydev-bot | [From Gitter] andreykurilin : so maybe you should call restart method instead of stop | 10:02 |
bhagyashris | andreykurilin: ok i will try it | 10:03 |
bhagyashris | andreykurilin: can you share the json file to run the "fault_injection" | 10:04 |
bhagyashris | andreykurilin: that you have tried right now which stpped the rabbitmq service | 10:04 |
openstackgerrit | Merged openstack/rally master: Move 'required_contexts' validator to '../validators.py' https://review.openstack.org/462186 | 10:12 |
*** yamamoto_ has quit IRC | 10:24 | |
*** rook has quit IRC | 10:27 | |
*** sai has quit IRC | 10:27 | |
*** sai has joined #openstack-rally | 10:30 | |
*** rook has joined #openstack-rally | 10:30 | |
*** jkilpatr has quit IRC | 10:30 | |
*** rook is now known as Guest7667 | 10:30 | |
bhagyashris | andreykurilin: waiting... | 10:35 |
LindaWang | andreykurilin: I failed to store contact information in https://review.openstack.org/#/settings/contact. | 10:38 |
LindaWang | andreykurilin: Do you have any suggestions? | 10:39 |
*** Guest7667 has quit IRC | 10:41 | |
*** sai has quit IRC | 10:42 | |
*** LindaWang has quit IRC | 10:49 | |
*** jkilpatr has joined #openstack-rally | 10:52 | |
*** rook_ has joined #openstack-rally | 10:53 | |
*** sai has joined #openstack-rally | 10:56 | |
*** Chao has joined #openstack-rally | 10:59 | |
openstackgerrit | Staroverov Anton proposed openstack/rally master: Move 'required-param-or-context' validator to '../validators.py' https://review.openstack.org/462550 | 11:01 |
Chao | Conflict: Multiple possible networks found, use a Network ID to be more specific. (HTTP 409) (Request-ID: req-b884c3aa-0362-425f-a403-4c3a69ffa435) | 11:02 |
Chao | since i have 2 public/external ids i got that problem, i defighned network as id but it dont help | 11:02 |
Chao | it need to work on multi region setup, only one region has 2 networks | 11:04 |
*** yamamoto has joined #openstack-rally | 11:06 | |
*** yamamoto_ has joined #openstack-rally | 11:07 | |
*** yamamoto_ has quit IRC | 11:08 | |
*** yamamoto has quit IRC | 11:10 | |
*** LindaWang has joined #openstack-rally | 11:17 | |
*** Chao has quit IRC | 11:17 | |
*** LindaWang has quit IRC | 11:18 | |
rallydev-bot | [From Gitter] andreykurilin : LindaWang: hi! What error do you have? | 11:28 |
*** yolkfull_ has quit IRC | 11:29 | |
rallydev-bot | [From Gitter] andreykurilin : Chao: hi! first of all, you can specify region name via deployment config. Also, you can use `existing_networks` context(it will list all available networks) and use `auto_assign_nics` argument(the name of the argument depends on the scenario) for scenario which will take only one network | 11:30 |
rallydev-bot | [From Gitter] andreykurilin : bhagyashris: http://rally.readthedocs.io/en/latest/plugins/plugin_reference.html#fault-injection-hook here is a description of usage fault_injection plugin. you need to specify nodes there at first and then action to perform | 11:31 |
rallydev-bot | [From Gitter] andreykurilin : But why sys_call doesn't suite your needs? | 11:31 |
rallydev-bot | [From Gitter] andreykurilin : you need just to perform single action and execution single command sounds pretty simple | 11:31 |
*** Chao has joined #openstack-rally | 11:42 | |
Chao | any ideas? | 11:42 |
rallydev-bot | [From Gitter] andreykurilin : Chao: see my message above | 11:43 |
Chao | please repost, had a disconnect | 11:44 |
rallydev-bot | [From Gitter] andreykurilin : you can try to use our gitter channel - https://gitter.im/xRally/Lobby . It is free, allows to connect via github account and stores all the history, even when you are disconnected ;) | 11:45 |
rallydev-bot | [From Gitter] andreykurilin : My previous message: Chao: hi! first of all, you can specify region name via deployment config. Also, you can use `existing_networks` context(it will list all available networks) and use `auto_assign_nics` argument(the name of the argument depends on the scenario) for scenario which will take only one network | 11:45 |
*** winston-d_ has quit IRC | 11:49 | |
bhagyashris | andreykurilin: ok I will see this. yeah sys_call is pretty simple but "fault_injection" provides lot many destructive actions so i am just referring this? | 11:51 |
bhagyashris | andreykurilin: right now what i am trying to achive is at the time of creation of instance or servers I am stopping the rabbitmq service but I am getting the error as "StdErr: Failed to stop rabbitmq.service: Interactive authentication required. See system logs and 'systemctl status rabbitmq.service' for details." | 11:53 |
rallydev-bot | [From Gitter] andreykurilin : you should try to use sudo. somethin like `ssh openstack@openstack-VirtualBox 'sudo service rabbitmq stop'` | 11:55 |
bhagyashris | andreykurilin: ok | 11:56 |
bhagyashris | andreykurilin: thank you i will try | 11:58 |
*** yamamoto has joined #openstack-rally | 12:05 | |
*** alexchadin has joined #openstack-rally | 12:06 | |
*** yamamoto has quit IRC | 12:08 | |
*** yamamoto has joined #openstack-rally | 12:15 | |
Chao | thx | 12:23 |
*** yamamoto has quit IRC | 12:40 | |
*** yamamoto has joined #openstack-rally | 12:42 | |
*** yamamoto has quit IRC | 12:46 | |
*** linuxaddicts has quit IRC | 12:50 | |
openstackgerrit | Staroverov Anton proposed openstack/rally master: Move 'required-param-or-context' validator to '../validators.py' https://review.openstack.org/462550 | 12:54 |
*** alexchadin has quit IRC | 13:02 | |
openstackgerrit | Luis Pigueiras proposed openstack/rally master: Allow CEPHFS as a valid share type in manila scenarios https://review.openstack.org/468408 | 13:08 |
openstackgerrit | Luis Pigueiras proposed openstack/rally master: Allow CEPHFS as a valid share type in manila scenarios https://review.openstack.org/468408 | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : andreykurilin: I have tried as suggested by you at the time of creation of the server boot and delete but in the rally report i am getting the | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : Args: ssh openstack@openstack-VirtualBox sudo service rabbitmq stop | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : RetCode: 255 | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : StdOut: (empty) | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : StdErr: packet_write_wait: Connection to 127.0.0.1 port 22: Broken pipe | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : the script i am written is as below | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : {% set flavor_name = flavor_name or "m1.tiny" %} | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : {% set image_name = image_name or "^(cirros-0.3.5-x86_64-disk|TestVM)$" %} | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : { | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : "NovaServers.boot_and_delete_server": [ | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : {% for i in range (0, 5, 1) %} | 13:09 |
rallydev-bot | [From Gitter] shewale19_twitter : { | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "args": { | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "flavor": { | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "name": "m1.tiny" | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : }, | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "image": { | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "name": "cirros-0.3.5-x86_64-disk" | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : }, | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "force_delete": false | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : }, | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "runner": { | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "type": "constant", | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "times": 5, | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "concurrency": 5 | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : }, | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "context": { | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "users": { | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "tenants": 1, | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "users_per_tenant": 1 | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : } | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : }, | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "hooks": [{ | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "name": "sys_call", | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "args": "ssh openstack@openstack-VirtualBox sudo service rabbitmq stop", | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "trigger": { | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "name": "event", | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "args": { | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "unit": "iteration", | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : "at": [5, 10] | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : } | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : } | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : }] | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : }, | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : {% endfor %} | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : ] | 13:10 |
rallydev-bot | [From Gitter] shewale19_twitter : } | 13:10 |
openstackgerrit | Luis Pigueiras proposed openstack/rally master: Allow CEPHFS as a valid share type in manila scenarios https://review.openstack.org/468408 | 13:16 |
*** yamamoto has joined #openstack-rally | 13:21 | |
rallydev-bot | [From Gitter] andreykurilin : @shewale19_twitter: `Connection to 127.0.0.1 port 22: Broken pipe` seams that ssh connection failed | 13:26 |
*** e0ne has quit IRC | 13:26 | |
rallydev-bot | [From Gitter] andreykurilin : ok | 13:28 |
rallydev-bot | [From Gitter] andreykurilin : try to add -t flag to the command | 13:28 |
rallydev-bot | [From Gitter] andreykurilin : something like `ssh -t openstack@openstack-VirtualBox sudo service rabbitmq stop` | 13:28 |
rallydev-bot | [From Gitter] andreykurilin : btw, does openstack user requires password to be prompted for sudo? | 13:28 |
rallydev-bot | [From Gitter] andreykurilin : it looks like I'm wrong and -t should not help | 13:29 |
bhagyashris | andreykurilin: yeah openstack user asked the password whenever the hook triggers. | 13:31 |
rallydev-bot | [From Gitter] andreykurilin : :( | 13:32 |
rallydev-bot | [From Gitter] shewale19_twitter : andreykurilin: is there any other option. | 13:32 |
rallydev-bot | [From Gitter] shewale19_twitter : andreykurilin: to overcome this issue. | 13:33 |
Chao | i set a loooong password ^^ | 13:34 |
Chao | 256 char max. | 13:34 |
rallydev-bot | [From Gitter] shewale19_twitter : andreykurilin: where and how? | 13:34 |
rallydev-bot | [From Gitter] shewale19_twitter : sorry | 13:35 |
rallydev-bot | [From Gitter] shewale19_twitter : chao* | 13:35 |
Chao | in the image section | 13:35 |
rallydev-bot | [From Gitter] shewale19_twitter : chao: ohh ok. | 13:36 |
Chao | dont remember the syntax, watch other sampels, i couldnt mamage rally to do passphrase authentification | 13:37 |
Chao | thats why i did password, it was for "boot vm ssh login check", to test if neutron metadataagent isnt in failed state, because its often says its ok in systemctl status but its NOT | 13:39 |
rallydev-bot | [From Gitter] shewale19_twitter : andreykurilin: chao: Actually i am searching for the sample for "fault_injection" hook case but haven't got any reference on google if you have then it will be great to share with me. | 13:39 |
*** e0ne has joined #openstack-rally | 13:39 | |
*** LindaWang has joined #openstack-rally | 13:43 | |
Chao | write a script that does service stop and use | 13:43 |
Chao | {% set flavor_name = flavor_name or "m1.small" %} #{% set image_name = "^CentOS 7 RAW*" %} # {% set image_name = image_name or "^CentOS 7 RAW*" %} {% set image_name = "^OFA_cirros*" %} {% set availability_zone = availability_zone or "nova" %} --- VMTasks.boot_runcommand_delete: - args: flavor: name: "{{flavor_name}}" image: name: "{{image_name}}" fixed_network: "publ | 13:43 |
Chao | ed" use_floating_ip: false wait_for_ping: false force_delete: false command: script_file: "tasks/scripts/instance_dd_test.sh" interpreter: "/bin/sh" username: "cirros" password: "cubswin:)" volume_args: size: 1 runner: type: "constant" times: 10 concurrency: 2 context: {} sla: max_avg_ | 13:44 |
Chao | ration: 100 failure_rate: max: 0 | 13:44 |
Chao | nicely formated^^ | 13:44 |
rallydev-bot | [From Gitter] andreykurilin : ok, so I find a workaround for you. you need to install sshpass at your local host. then you will able to execute command like: | 13:45 |
rallydev-bot | [From Gitter] andreykurilin : | 13:45 |
rallydev-bot | [From Gitter] andreykurilin : `sshpass -p 'PASSWORD_OF_OPENSTACK_USER' ssh openstack@openstack-VirtualBox 'echo PASSWORD_OF_OPENSTACK_USER | sudo service rabbitmq stop'` | 13:45 |
rallydev-bot | [From Gitter] andreykurilin : Chao: your example allows to execute script at test_vm and, as far as I understand bhagyashris, she needs to execute script at openstack env and see how cloud will process it | 13:46 |
rallydev-bot | [From Gitter] andreykurilin : we need to modify sys_call to perform execution remotly more user-friendly | 13:47 |
bhagyashris | andreykurilin: yes. | 13:47 |
Chao | oh ok sry | 13:47 |
Chao | havent read everything | 13:47 |
bhagyashris | andreykurilin: actually i am trying write the script which create and delete the server and at the same time it will stop rabbitmq service in the given interval | 13:49 |
bhagyashris | andreykurilin: so as far as my search or reading the rally hook is capable to do this using the "fault_injection" which basically uses the "os-fault" but i haven't found any reference like "sys_call". | 13:50 |
Chao | let the created server do it remotely | 13:51 |
rallydev-bot | [From Gitter] andreykurilin : sys_call is quite simple. It executes the transmitted string. that is all. http://rally.readthedocs.io/en/latest/plugins/plugin_reference.html#sys-call-hook | 13:53 |
rallydev-bot | [From Gitter] andreykurilin : | 13:53 |
rallydev-bot | [From Gitter] andreykurilin : as for fault_injection (http://rally.readthedocs.io/en/latest/plugins/plugin_reference.html#fault-injection-hook) you need to create a config file for it(I'm not expert about os-fault format) with information about node(http://os-faults.readthedocs.io/en/latest/drivers.html#node-list-nodediscover) and the process (http://os-faults.readthedocs.io/en/latest/drivers.html | 13:54 |
rallydev-bot | #linux-service-serviceasprocess). | 13:54 |
rallydev-bot | [From Gitter] andreykurilin : than rally will see that config file and you will able to specufy action reboot for specified process | 13:54 |
rallydev-bot | [From Gitter] andreykurilin : so fault-inhection allows to make complex distructive stuff, but you need to specify config file for it at first | 13:54 |
rallydev-bot | [From Gitter] andreykurilin : for you simple case, it sounds like overkill and it is easier to manage it with proper command | 13:55 |
rallydev-bot | [From Gitter] andreykurilin : bhagyashris: try to transmit followong argument to the hook - sshpass -p 'PASSWORD_OF_OPENSTACK_USER' ssh openstack@openstack-VirtualBox 'echo PASSWORD_OF_OPENSTACK_USER | sudo service rabbitmq stop' | 13:59 |
rallydev-bot | [From Gitter] andreykurilin : [edit] bhagyashris: try to transmit followong argument to the hook - `sshpass -p 'PASSWORD_OF_OPENSTACK_USER' ssh openstack@openstack-VirtualBox 'echo PASSWORD_OF_OPENSTACK_USER | sudo service rabbitmq stop'` | 13:59 |
*** oanufrii has joined #openstack-rally | 14:00 | |
bhagyashris | andreykurilin: yeah I have done with this thing also. I have installed the "os_fautl" as mentioned in the [1] http://os-faults.readthedocs.io/en/latest/quickstart/basics.html and made the configuration as given in the reference [1] but there are some issue. | 14:01 |
rallydev-bot | [From Gitter] andreykurilin : what kind of issue? | 14:01 |
bhagyashris | andreykurilin: actully i have tried to stop the service separately by using the "os-injection-fault" api but after all the installations and configurations | 14:03 |
bhagyashris | ihave run the command : os-inject-fault -c os-faults.yaml restart glance-api service and error i got is | 14:04 |
bhagyashris | error: os_faults.ansible.executor.AnsibleExecutionUnreachable: Execution failed: (host: 10.232.48.200, status: UNREACHABLE) | 14:04 |
bhagyashris | andreykurilin: I have tried with this: sshpass -p 'PASSWORD_OF_OPENSTACK_USER' ssh openstack@openstack-VirtualBox 'echo PASSWORD_OF_OPENSTACK_USER | sudo service rabbitmq stop' but in the report it shows me | 14:12 |
bhagyashris | System call | 14:12 |
bhagyashris | Args: sshpass -p 'PASSWORD_OF_OPENSTACK_USER' ssh openstack@openstack-VirtualBox 'echo PASSWORD_OF_OPENSTACK_USER' | sudo service rabbitmq stop | 14:12 |
bhagyashris | RetCode: 5 | 14:12 |
bhagyashris | StdOut: (empty) | 14:12 |
bhagyashris | StdErr: Permission denied, please try again. | 14:12 |
rallydev-bot | [From Gitter] andreykurilin : does openstack user has sudo rights? | 14:13 |
bhagyashris | andreykurilin: Don't know. | 14:14 |
rallydev-bot | [From Gitter] andreykurilin : ok, let's try to do simple things without rally to check this | 14:14 |
rallydev-bot | [From Gitter] andreykurilin : execute `ssh openstack@openstack-VirtualBox` from your console. then try to do `sudo su` there | 14:15 |
bhagyashris | ok | 14:17 |
bhagyashris | andreykurilin: now it's working. | 14:20 |
bhagyashris | but the StdErr: Failed to stop rabbitmq.service: Unit rabbitmq.service not loaded. :( | 14:21 |
bhagyashris | service is not loaded | 14:21 |
rallydev-bot | [From Gitter] andreykurilin : try to use `rabbitmqctl stop` | 14:21 |
bhagyashris | ok | 14:23 |
*** aarefiev is now known as aarefiev_afk | 14:23 | |
bhagyashris | andreykurilin: same error:( | 14:28 |
*** Chao has quit IRC | 14:54 | |
*** lpetrut has quit IRC | 14:57 | |
*** rcernin has quit IRC | 15:04 | |
*** Serlex has quit IRC | 15:38 | |
*** aojea has quit IRC | 15:43 | |
*** aojea has joined #openstack-rally | 15:44 | |
*** e0ne has quit IRC | 15:45 | |
*** aojea has quit IRC | 15:49 | |
*** LindaWang has quit IRC | 15:52 | |
*** itlinux has joined #openstack-rally | 16:58 | |
*** itlinux_ has joined #openstack-rally | 17:38 | |
*** itlinux has quit IRC | 17:42 | |
*** itlinux_ has quit IRC | 17:53 | |
*** pcaruana has quit IRC | 18:00 | |
*** aojea has joined #openstack-rally | 18:17 | |
*** aojea has quit IRC | 18:18 | |
*** aojea has joined #openstack-rally | 18:18 | |
*** aojea has quit IRC | 18:42 | |
*** aojea has joined #openstack-rally | 18:42 | |
*** aojea has quit IRC | 18:47 | |
*** aojea has joined #openstack-rally | 19:27 | |
*** jkilpatr has quit IRC | 19:49 | |
*** aojea has quit IRC | 20:02 | |
*** aojea has joined #openstack-rally | 20:03 | |
*** aojea has quit IRC | 20:08 | |
*** jkilpatr has joined #openstack-rally | 20:08 | |
*** aojea has joined #openstack-rally | 20:24 | |
*** aojea has quit IRC | 20:53 | |
*** aojea has joined #openstack-rally | 20:53 | |
*** aojea_ has joined #openstack-rally | 20:57 | |
*** aojea has quit IRC | 20:59 | |
*** oanufrii has quit IRC | 21:03 | |
*** e0ne has joined #openstack-rally | 21:18 | |
*** catintheroof has joined #openstack-rally | 21:33 | |
*** catintheroof has quit IRC | 21:39 | |
*** e0ne has quit IRC | 21:48 | |
*** aojea_ has quit IRC | 22:12 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!