summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-08-04Port status updateCarlos Goncalves3-1/+185
A blueprint spec for RFE https://bugs.launchpad.net/neutron/+bug/1598081 [UPSTREAM] Closes-Bug: #1598081 [UPSTREAM] Partial-Bug: #1575146 Change-Id: I7a01b728a1fa40d89bb11ec02b4e21df04e54464 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-27Merge "Delete $VM_NAME and alrms with doctor user creds"Ryota Mibu1-3/+3
2016-07-27Delete $VM_NAME and alrms with doctor user credsCarlos Goncalves1-3/+3
'openstack server delete' tries to delete VM with admin credentials which fails because $VM_NAME is under a different tenant. Same for ceilometer alarms that we created with doctor creds. Change-Id: Ibba3b842dc8fa160137bb04316d285e52d776641 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-27add `debug=True` in consumerdongwenjuan1-1/+1
We need to add the `debug=True` in consumer to get the debug log to get the time of consumer received the notifier Change-Id: I90f2f8167a8670e28a3a5bcb5af054d378ef9b5b Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-07-26fix doctor testRyota MIBU1-2/+3
- revert to use nova command to get IP address of compute host - disable interface which has the IP address of target compute host JIRA: DOCTOR-63 Change-Id: Ic5dc7706476a542f13a942fdae5b347ce28d3f72 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-07-25Merge "Move block code inside Apex section"Ryota Mibu1-4/+3
2016-07-22Merge "Exclude .img and .log files"Ryota Mibu1-0/+2
2016-07-22Merge "Fix typo in monitor to correctly print IP address"Ryota Mibu1-1/+1
2016-07-22Merge "Unset default COMPUTE_USER at the beginning of tests"Ryota Mibu1-1/+0
2016-07-22use --os-* options instead of env paramRyota MIBU1-84/+54
Parameters defined in another shell cannot be used in the main shell. This leads bug in funcsion which execute another shell to performe openstack command as doctor test user. This patch makes the test script use --os-* options to performe as doctor test user, so that we don't have to execute new shells in the test script. Change-Id: If148f00acae919a926bb5e9f2af8dd433a4110f5 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-07-22Unset default COMPUTE_USER at the beginning of testsCarlos Goncalves1-1/+0
Each installer has different compute users and we set a default for each in get_compute_host_info. Having COMPUTE_USER set at the beginning as is and not passing in a value will default to 'none' and thus overriding the default user of the installer. For example, COMPUTE_USER would be set to 'none' instead of 'heat-admin' for Apex installer. Change-Id: Ia60a88f68c52604bac6b7eef18e97e11328f1a6e Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-22make script fail if it failed to get COMPUTE_HOSTRyota MIBU1-0/+4
This patch is to make sure the test will be stop and report it failed. JIRA: DOCTOR-63 Change-Id: Ibab577a100dee784df14e8b129fbde626d04fce9 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-07-22use specify host_ip in alarm_actiondongwenjuan2-6/+23
we can not use `localhost` in `--alarm-action`, it should be the IP which the consumer started on. Change-Id: I50b99e4ff7609c474fb569049b3b8cd216c9178b Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-07-21Fix typo in monitor to correctly print IP addressCarlos Goncalves1-1/+1
Change-Id: I335cf82f3996359327d0cacfcdc53eda8a709f86 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-21Exclude .img and .log filesCarlos Goncalves1-0/+2
Change-Id: I4bb4c53d7b42333a16dda05c25d947256168d4b9 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-21Move block code inside Apex sectionCarlos Goncalves1-4/+3
Change-Id: I87c971fedc6106165bfe0716a475edad5c43640c Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-18check host status before deleting doctor projectdongwenjuan1-6/+6
In `cleanup` function, we can't delete doctor project and doctor user before checking host status. Because we use API to get the `host status` under the doctor project. Change-Id: I38c0929eeff9378051e0dcda308734ab7b353509 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-07-08Merge "get compute host info after vm boot"Carlos Goncalves1-33/+54
2016-07-08get compute host info after vm bootdongwenjuan1-33/+54
If there are multi-compute node, vm may not be scheduled to the specified compute host. So get the compute host after vm is started. Change-Id: I1bc3caaf8305beded9eb297b116968a190fd9751 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-07-06add version para to use `openstack server show` clidongwenjuan1-1/+1
We should add the version para to use `openstack server show` cli to get `host_status` Change-Id: Ie0332e3766cb88f687fa66bcd5d8218f311e8add Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-07-05Move from legacy CLI to openstack CLICarlos Goncalves1-17/+17
openstack CLI does not support Ceilometer/Aodh calls yet. Change-Id: I2074c794c00d0307421839acfa86e9f63f80ca5d Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-05fix check host statesdongwenjuan1-9/+17
Fix the check_host_status, modify the `TEST_ROLE` as `admin` temporary. Change-Id: I7260ef027cc75fe71db3a3b706f3720a93821e10 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-07-04Merge "get doctor vm info under doctor project"Gerald Kunzmann1-51/+67
2016-07-04get doctor vm info under doctor projectdongwenjuan1-51/+67
get doctor vm state and vm_id should be in the doctor project Change-Id: I7020b034264da7c9b035d37c44c57b952bed4271 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-07-01Merge "Pointer to "Port status update" RFE in upstream"Gerald Kunzmann1-2/+4
2016-07-01Pointer to "Port status update" RFE in upstreamCarlos Goncalves1-2/+4
Change-Id: Ic45abcf3d888613b74a5b4d5b61f3eb5c6de0873 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-01Merge "Neutron RFE: Port Status Update"Gerald Kunzmann2-0/+31
2016-07-01Neutron RFE: Port Status UpdateCarlos Goncalves2-0/+31
Change-Id: I7c68afe93f38553707bf413e493e1f8aa5dcfae4 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-06-30Merge "Description of Doctor Scenario in Functest"Gerald Kunzmann1-0/+118
2016-06-30Merge "Add Dong Wenjuan as committer"Ryota MIBU1-0/+2
2016-06-30Merge "add timeout handle"Gerald Kunzmann1-1/+6
2016-06-30Add Dong Wenjuan as committerRyota MIBU1-0/+2
Change-Id: I187121450d2d0dfa6f9732f15f8b8cd84d8069fb Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-06-30Description of Doctor Scenario in FunctestLeeYZ1-0/+118
JIRA: DOCTOR-53 Change-Id: Ie8a1b2f8f49761cf455514923761d39efc2bbce8 Co-Authored-By: Gerald Kunzmann <kunzmann@docomolab-euro.com> Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
2016-06-30add timeout handledongwenjuan1-1/+6
If create instance don't success, it will have a endless loop for waiting instance to change to `active` state. Change-Id: I6eff3cbaefaf1ba7e30ae7fddcec62ac5c1544de Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-06-29Merge "Add SB Event API specification"Carlos Goncalves1-3/+89
2016-06-20Merge "Before deleting the instance, check if the instance exists"Tomi Juvonen1-1/+1
2016-06-17Before deleting the instance, check if the instance existsdongwenjuan1-1/+1
The instance may not exist if there is a error before creating instance or it failed to create, run the `cleanup` to delete the non-existent instance will raise an error Change-Id: I13e4b63be952967605093a4427f5b0ac4be280c3 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-06-16use `openstack` cli instead of `keystone`clidongwenjuan1-14/+14
As in OpenStack, `keystone` cli is not used, change `openstack` cli instead of `keystone`cli Change-Id: I2c4679cba7fd80ea33098f89fbd9eecf65abdd8a Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-06-08Add SB Event API specificationRyota MIBU1-3/+89
This patch adds unified event api as southbound interface specification between Monitors and Inspector. JIRA: DOCTOR-17 Change-Id: I80a69a6735bcc68d55851a5524fc0c01b9cb35c5 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-06-07Fix a word spell in docs:02-use_cases.rstLeeYZ1-1/+1
Change-Id: I6ae339b0cd228c2b2f2c49d36422a1b13a9ffe23 Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
2016-06-07Merge "Revisit fault table"Tomi Juvonen1-78/+79
2016-06-03Revisit fault tableYujun Zhang1-78/+79
- add storage fault (same content as compute) - add example of mainboard error - rename fault Hypervisor status not retrievable - editorial fix - complete "how to detect" Change-Id: I9ec849014d18823f9a309396542e89a4e6da8b6c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-05-27test: respect 'CI_DEBUG' set by functestRyota MIBU1-1/+3
In current bash script for doctor test, '-x' option is enabled and all executing commands will be printed in the console. Functest has a configuration to enable/disable this '-x' option. It is environment variable 'CI_DEBUG'. This patch makes doctor test script to set '-x' option according to 'CI_DEBUG'. If it's not set, '-x' option will be enabled as it was enabled before this change. JIRA: FUNCTEST-212 Change-Id: I9fa5036aad7a0f5c88378337d946439a6ee6108c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-05-24Merge "Fix typo and inconsistency"Ryota Mibu2-7/+9
2016-05-24Merge "Adding checking of host_status"Gerald Kunzmann1-4/+58
2016-05-24Adding checking of host_statusTomi Juvonen1-4/+58
Checking of host_status is added for non-admin user to see that installer have properly set the Nova policy.json like: "os_compute_api:servers:show:host_status": "rule:admin_or_owner" JIRA: DOCTOR-61 Change-Id: Ieee997951b54f25b698ef0b70a628cfcf87b396a Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2016-05-23Fix typo and inconsistencyZhang Yujun2-7/+9
JIRA: DOCTOR-37 Change-Id: I67a38611a828a5d293cdfd1702b37fc89f5229a0 Signed-off-by: Zhang Yujun <zhang.yujunz@zte.com.cn>
2016-05-19Merge "Manual for get-valid-server-state"Tomi Juvonen3-6/+140
2016-05-18Manual for get-valid-server-stateTomi Juvonen3-6/+140
Change-Id: I684b94c18bc1961859907b5565f8498b97987092 JIRA: DOCTOR-47 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2016-05-17Run 'ip' with sudoCarlos Goncalves1-1/+1
Change-Id: I3de7749746dfd2eb0a67a428b7f0ae4503c14123 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>