increasing the mysql max connection to accomodate buffer size. 67/28067/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Sun, 5 Feb 2017 13:49:30 +0000 (07:49 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Sun, 5 Feb 2017 13:49:30 +0000 (07:49 -0600)
Change-Id: Ic7d2ba8717289cd8ec5e3cca32b209b1f69cae33
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/01-bootstrap.sh
ci/03-maasdeploy.sh
ci/config_tpl/juju2/bundle_tpl/mysql.yaml

index 1577f49..b02b83d 100755 (executable)
@@ -18,5 +18,5 @@ if [[ "$jujuver" < "2" ]]; then
 else
   controllername=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployment.yaml`
   cloudname=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployment.yaml`
-  juju bootstrap --config agent-version=2.1-beta4 $controllername $cloudname --debug --to bootstrap.maas
+  juju bootstrap $controllername $cloudname --debug --to bootstrap.maas
 fi
index 425116c..5f973fd 100755 (executable)
@@ -15,14 +15,11 @@ sudo apt-add-repository ppa:maas/stable -y
 sudo apt-add-repository cloud-archive:newton -y
 sudo apt-get update -y
 #sudo apt-get dist-upgrade -y
-sudo apt-get install openssh-server bzr git virtinst qemu-kvm libvirt-bin \
+sudo apt-get install openssh-server bzr git virtinst qemu-kvm libvirt-bin juju \
              maas maas-region-controller python-pip python-psutil python-openstackclient \
              python-congressclient gsutil charm-tools pastebinit python-jinja2 sshpass \
              openssh-server vlan ipmitool jq -y
 
-wget https://launchpad.net/~juju/+archive/ubuntu/devel/+files/juju-2.0_2.1~beta4-0ubuntu1~16.04.1~juju1_amd64.deb
-sudo dpkg -i juju-2.0_2.1~beta4-0ubuntu1~16.04.1~juju1_amd64.deb
-
 sudo pip install --upgrade pip
 
 #first parameter should be custom and second should be either
index 30cc405..d6276a5 100644 (file)
@@ -12,7 +12,7 @@
 {% else %}
         innodb-buffer-pool-size: 1G
 {% endif %}
-        max-connections: 2000
+        max-connections: 4000
         root-password: {{ get_password('mysql_root') }}
         sst-password: {{ get_password('mysql_sst') }}
 {% if os.network.ipv6 %}