Comments (8)
Since free travis-ci account provides only one VM for the project, this feature may only be developed and tested in downstream environment.
from ovn-scale-test.
@huikang I've tried something like the below, but it never creates containers on the worker nodes. What am I doing wrong?
diff --git a/ci/scale-run.sh b/ci/scale-run.sh
index 424e7e2..b646326 100755
--- a/ci/scale-run.sh
+++ b/ci/scale-run.sh
@@ -67,12 +67,15 @@ $OVNSUDO docker exec ovn-south-database ovn-sbctl show
$OVNSUDO docker exec ovn-rally rally-ovs deployment create --file /root/rally-ovn/ovn-multihost-deployment.json --name ovn-multihost
# Register the emulated sandboxes in the rally database
-$OVNSUDO docker exec ovn-rally rally-ovs task start /root/rally-ovn/workload/create-sandbox-$OVN_RALLY_HOSTNAME.json 2>&1 | tee /tmp/rally-ovs-output.raw
-check_ovn_rally /tmp/rally-ovs-output.raw
-TASKID=$($OVNSUDO docker exec ovn-rally rally task list --uuids-only)
-$OVNSUDO docker exec ovn-rally rally task report $TASKID --out /root/create-sandbox-output.html
-$OVNSUDO docker cp ovn-rally:/root/create-sandbox-output.html .
-$OVNSUDO docker exec ovn-rally rally task delete --uuid $TASKID
+SANDBOXHOSTS=$($OVNSUDO docker exec ovn-rally ls root/rally-ovn/workload/ | grep create-sandbox-)
+for sand in $SANDBOXHOSTS ; do
+ $OVNSUDO docker exec ovn-rally rally-ovs task start /root/rally-ovn/workload/$sand 2>&1 | tee /tmp/rally-ovs-output.raw
+ check_ovn_rally /tmp/rally-ovs-output.raw
+ TASKID=$($OVNSUDO docker exec ovn-rally rally task list --uuids-only)
+ $OVNSUDO docker exec ovn-rally rally task report $TASKID --out /root/create-sandbox-output.html
+ $OVNSUDO docker cp ovn-rally:/root/create-sandbox-output.html .
+ #$OVNSUDO docker exec ovn-rally rally task delete --uuid $TASKID
+done
# Run tests
$OVNSUDO docker exec ovn-rally rally-ovs task start /root/rally-ovn/workload/create_networks.json 2>&1 | tee /tmp/rally-ovs-output.raw
from ovn-scale-test.
Here is what my ci/ansible/docker-ovn-hosts looks like:
# You should only add one IP address in this role. The node in this role runs
# the OVN databse container
[ovn-control]
10.172.12.53
# Add host IPs to run emulated OVN chassis
[emulation-hosts]
10.172.12.40 provider_ip=10.172.12.40
10.172.12.53 provider_ip=10.172.12.53
[rally]
10.172.12.53
from ovn-scale-test.
@mestery the create-sandbox rally job does not create containers, which are created during ansbile-play. What create-sandbox rally job
does is to register the sandbox containers in the ovs-rally database. You can check the results by running create-and-bind-lport workload.
from ovn-scale-test.
BTW, @mestery you could also test your change to ci/scale-run.sh
with travis-ci. Although travis-ci allows only one VM, all rally-ovs job should succeed with those changes.
from ovn-scale-test.
@huikang I figured this out now, I should have a PR done soon on this.
from ovn-scale-test.
Excellent!!
On Jul 24, 2016, at 18:31, Kyle Mestery [email protected] wrote:
@huikang I figured this out now, I should have a PR done soon on this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
from ovn-scale-test.
I'm going to close this one as PR #96 merged, which allows for multiple hosts to run in the CI system as emulation hosts.
from ovn-scale-test.
Related Issues (20)
- docker-py doesn't seem to be installed error. HOT 2
- [RFC] hybrid scalability test deploymet HOT 6
- pure-ovn: same ip address in multiple containers? HOT 3
- Document clarifications HOT 3
- Add more workload scenarios HOT 9
- Support global opts for ovs/ovn commands in batch mode
- stop using deprecated docker module in Ansible HOT 2
- Make localnet port creation optional in _create_networks() HOT 3
- Make scenarios that create lports usable with Rally runner for repetitions and parallelization HOT 4
- Create/delete sandboxes from the context HOT 2
- Consider switching from ovn-nbctl to ovsdbapp HOT 3
- Fix CI docker engine error
- how to use ovn-scale-test to test raft cluster database
- Add logging support to ovsclients_impl.py
- Make network policy (ACL/PG/AS) configuration more generic.
- ovn-sbctl would stuck when leader of raft changes
- Support various batch size in port binding rally-ovs job HOT 1
- Support unbalanced logical port binding mechanism
- Use ovn-nbctl --wait hv to get end-to-end port binding time HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ovn-scale-test.