summaryrefslogtreecommitdiffstats
path: root/samples/fio.yaml
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-01-14 08:09:40 +0000
committerqi liang <liangqi1@huawei.com>2016-01-15 01:16:47 +0000
commit8681bc5960d91330a3afa3db5bd5a258901bb554 (patch)
treedfe51fed8fe84188eb89bd4fd323d1c722967ab5 /samples/fio.yaml
parent09291f4499c36f7e30d3e6e3dc1364124b76e1a6 (diff)
HeatContext model update to match heat code update
In Heat Liberty release OS::Nova::Server will always use the user pre-configured in the image (e.g. "fedora" for stock Fedora cloud images, "ubuntu" for stock Ubuntu cloud images, "cloud-user" for stock CentOS cloud images etc) Change all ec2-user -> ubuntu Add admin-user in Heat model for backwards compatibility. Refer below links for detalis: https://etherpad.opnfv.org/p/yardstick_release_b_troubleshooting https://github.com/openstack/heat/commit/e423bec7f10b0f5d07f05d195b3b7860f6bceb00 http://blog.scottlowe.org/2015/04/23/ubuntu-openstack-heat-cloud-init/ JIRA: - Change-Id: I6b8b2b21daf113a3a86aee1126b0c3e74737ef4f Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 9d36842e3966185e97cc5732aa7a0edd2050bfe2)
Diffstat (limited to 'samples/fio.yaml')
-rw-r--r--samples/fio.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/fio.yaml b/samples/fio.yaml
index 6e77f681a..e1f5e6d2d 100644
--- a/samples/fio.yaml
+++ b/samples/fio.yaml
@@ -5,7 +5,7 @@
# For this sample just like running the command below on the test vm and
# getting benchmark info back to the yardstick.
#
-# sudo fio -filename=/home/ec2-user/data.raw -bs=4k -ipdepth=1 -rw=rw \
+# sudo fio -filename=/home/ubuntu/data.raw -bs=4k -ipdepth=1 -rw=rw \
# -ramp_time=10 -runtime=60 -name=yardstick-fio -ioengine=libaio \
# -direct=1 -group_reporting -numjobs=1 -time_based \
# --output-format=json
@@ -16,7 +16,7 @@ scenarios:
-
type: Fio
options:
- filename: /home/ec2-user/data.raw
+ filename: /home/ubuntu/data.raw
bs: 4k
iodepth: 1
rw: rw
@@ -39,7 +39,7 @@ context:
name: demo
image: yardstick-trusty-server
flavor: yardstick-flavor
- user: ec2-user
+ user: ubuntu
servers:
fio:
floating_ip: true