Make automated scripts quieter
This eliminates a lot of not-very-interesting stuff from the test logs. Change-Id: I20bd90f8875645ef02ce3423a555c523b62ca4e3 Signed-off-by: Zane Bitter <zbitter@redhat.com>
This commit is contained in:
parent
2af388ae9c
commit
3a850dfe32
@ -70,11 +70,11 @@ Install OZ
|
||||
|
||||
It is recommended to install the latest upstream oz, as this supports Fedora 17 (and Ubuntu U10/U12) guests::
|
||||
|
||||
git clone https://github.com/clalancette/oz.git
|
||||
git clone -q https://github.com/clalancette/oz.git
|
||||
pushd oz
|
||||
rm -f ~/rpmbuild/RPMS/noarch/oz-*
|
||||
make rpm
|
||||
sudo yum localinstall -y ~/rpmbuild/RPMS/noarch/oz-*
|
||||
sudo yum -q -y localinstall ~/rpmbuild/RPMS/noarch/oz-*
|
||||
popd
|
||||
|
||||
Note: In the steps above, it's only necessary to be root for the yum localinstall, it's recommended not to be root while building the rpm.
|
||||
@ -147,7 +147,7 @@ Download heat-jeos via git
|
||||
|
||||
::
|
||||
|
||||
git clone git://github.com/heat-api/heat-jeos.git
|
||||
git clone -q git://github.com/heat-api/heat-jeos.git
|
||||
pushd heat-jeos
|
||||
sudo python setup.py install
|
||||
popd
|
||||
@ -198,7 +198,7 @@ Launch a Wordpress instance
|
||||
|
||||
::
|
||||
|
||||
heat -d create wordpress --template-file=templates/WordPress_Single_Instance.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpass;KeyName=${USER}_key"
|
||||
heat create wordpress --template-file=templates/WordPress_Single_Instance.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpass;KeyName=${USER}_key"
|
||||
|
||||
List stacks
|
||||
-----------
|
||||
@ -260,7 +260,7 @@ Because the software takes some time to install from the repository, it may be a
|
||||
HOST=`echo $WebsiteURL | sed -r -e 's#http://([^/]+)/.*#\1#'`
|
||||
|
||||
retries=9
|
||||
while ! ping -q -c 1 $HOST && ((retries-- > 0)); do
|
||||
while ! ping -q -c 1 $HOST >/dev/null && ((retries-- > 0)); do
|
||||
echo "Waiting for host networking..." >&2
|
||||
sleep 2
|
||||
done
|
||||
|
@ -131,7 +131,7 @@ function os_erase() {
|
||||
|
||||
sudo rm -f /var/lib/libvirt/qemu/save/instance-000*
|
||||
sudo rm -f /var/lib/libvirt/qemu/instance-000*
|
||||
sudo yum erase -y python-glance python-nova* python-keystone* openstack-swift* openstack-dashboard
|
||||
sudo yum -q -y erase python-glance python-nova* python-keystone* openstack-swift* openstack-dashboard
|
||||
|
||||
sudo systemctl start mysqld.service
|
||||
sleep 1
|
||||
@ -139,7 +139,7 @@ function os_erase() {
|
||||
sudo openstack-db --service nova --drop $*
|
||||
sudo openstack-db --service glance --drop $*
|
||||
sudo openstack-db --service keystone --drop $*
|
||||
sudo yum erase -y openstack-utils
|
||||
sudo yum -q -y erase openstack-utils
|
||||
|
||||
sudo vgchange -an nova-volumes
|
||||
sudo losetup -d /dev/loop0
|
||||
@ -151,8 +151,8 @@ function os_erase() {
|
||||
|
||||
|
||||
function os_install() {
|
||||
sudo yum groupinstall -y Virtualization
|
||||
sudo yum install -y openstack-utils openstack-nova openstack-glance openstack-keystone openstack-dashboard scsi-target-utils qpid-cpp-server mysql-server qpid-cpp-server-daemon
|
||||
sudo yum -q -y groupinstall Virtualization
|
||||
sudo yum -q -y install openstack-utils openstack-nova openstack-glance openstack-keystone openstack-dashboard scsi-target-utils qpid-cpp-server mysql-server qpid-cpp-server-daemon
|
||||
sudo dd if=/dev/zero of=/var/lib/nova/nova-volumes.img bs=1M seek=20k count=0
|
||||
sudo systemctl start mysqld.service
|
||||
sleep 1
|
||||
|
Loading…
Reference in New Issue
Block a user