This is for testing virtio mode, since we don't officially recommend to use virtio mode we should drop it.
Signed-off-by: Takuya ASADA <syuu@cloudius-systems.com>
When scylla is deployed on AWS's c4.8xlarge or c4.8xlarge large
instances, we can apply irq and network queue binding to achieve better
performance.
Also make scylla skip using cpu0 which will be busy serving network
interrupts under high workload.
Add a Dockerfile for building a ScyllaDB Docker image. The image is
based on Fedora 22 and ScyllaDB is installed from our RPM repository.
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Using the base fedora22 image there are many updates - for an unknown
reason after doing all the rpm installs we are getting
amazon-ebs:
amazon-ebs: Complete!
amazon-ebs: Failed to execute operation: Access denied
==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: No AMIs to cleanup
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' errored: Script exited with non-zero exit status: 1
The workaround is to create fedora22 image that already pulled the
updates
Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com>
- no need to create the binary rpm twice - we are using the mock version
- this is causing issues on jenkins as we build rpms on it only via mock
Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com>
the tar file prefix needs to be only the version without the release
without this bug I get
.
.
.
Finish: build setup for scylla-server-0.8-20150917.2d99476.fc21.src.rpm
Start: rpmbuild scylla-server-0.8-20150917.2d99476.fc21.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fA7nBm
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf scylla-server-0.8
+ /usr/bin/tar -xf
/builddir/build/SOURCES/scylla-server-0.8-20150917.2d99476.tar
+ cd scylla-server-0.8
/var/tmp/rpm-tmp.fA7nBm: line 33: cd: scylla-server-0.8: No such file or
directory
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.fA7nBm (%prep)
Bad exit status from /var/tmp/rpm-tmp.fA7nBm (%prep)
ERROR:
Exception(build/rpmbuild/SRPMS/scylla-server-0.8-20150917.2d99476.fc21.src.rpm)
Config(fedora-21-x86_64) 4 minutes 17 seconds
Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com>
Fix the hard-coded version number from RPM spec file by using the
SCYLLA-VERSION-GEN script.
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Our C++ compilation takes up so much memory that we cannot really use
RPM defaults. Limit the number of jobs to 2 for now to fix SIGBUS errors
in VMs as well as swap storm when building with mock.
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Fixes the following build error in clean Fedora chroot when building
with mock:
/var/tmp/rpm-tmp.xx23K7: ./configure.py: /usr/bin/python3: bad interpreter: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.xx23K7 (%build)
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Seastar builds DPDK by itself so there's no need to invoke make
ourselves. This ensures that the DPDK configuration we build is correct.
Spotted by Avi.
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
There's no need to build tests as they're not shipped. Speed up RPM
generation by limiting build to the "scylla" executable.
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Fix Scylla service startup issues on Fedora 21 by specifying an absolute
path for options file.
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>