You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by mm...@apache.org on 2017/04/04 16:15:31 UTC
incubator-metron git commit: METRON-808: Amazon EC2 deployment fails
at Expanding Volume Step (KunalAggarwal via mmiklavc) closes
apache/incubator-metron#496
Repository: incubator-metron
Updated Branches:
refs/heads/master 34614cc90 -> fccb67aec
METRON-808: Amazon EC2 deployment fails at Expanding Volume Step (KunalAggarwal via mmiklavc) closes apache/incubator-metron#496
Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/fccb67ae
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/fccb67ae
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/fccb67ae
Branch: refs/heads/master
Commit: fccb67aecca199d7aebd14b16debff4bf16f8acd
Parents: 34614cc
Author: KunalAggarwal <ag...@gmail.com>
Authored: Tue Apr 4 10:14:23 2017 -0600
Committer: Michael Miklavcic <mi...@gmail.com>
Committed: Tue Apr 4 10:14:23 2017 -0600
----------------------------------------------------------------------
metron-deployment/amazon-ec2/tasks/check-volume.yml | 2 +-
metron-deployment/amazon-ec2/tasks/expand-volume.yml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/fccb67ae/metron-deployment/amazon-ec2/tasks/check-volume.yml
----------------------------------------------------------------------
diff --git a/metron-deployment/amazon-ec2/tasks/check-volume.yml b/metron-deployment/amazon-ec2/tasks/check-volume.yml
index b7ac63d..5757260 100644
--- a/metron-deployment/amazon-ec2/tasks/check-volume.yml
+++ b/metron-deployment/amazon-ec2/tasks/check-volume.yml
@@ -22,5 +22,5 @@
- name: "Status of {{ vol_src }} volume"
debug: msg="volume={{ vol_src }} current={{ current_size.stdout|int }} expected={{ vol_size|int }}"
-- include: expand-volume.yml vol_src={{ vol_src }}
+- include: expand-volume.yml vol_src_1={{ vol_src }}
when: current_size.stdout|int < vol_size|int
http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/fccb67ae/metron-deployment/amazon-ec2/tasks/expand-volume.yml
----------------------------------------------------------------------
diff --git a/metron-deployment/amazon-ec2/tasks/expand-volume.yml b/metron-deployment/amazon-ec2/tasks/expand-volume.yml
index 1e25e27..35314df 100644
--- a/metron-deployment/amazon-ec2/tasks/expand-volume.yml
+++ b/metron-deployment/amazon-ec2/tasks/expand-volume.yml
@@ -15,9 +15,9 @@
# limitations under the License.
#
---
-- name: "Expand {{ vol_src }} volume"
+- name: "Expand {{ vol_src_1 }} volume"
# sectors delete 1 new primary first past mbr to end bootable write and exit
- shell: "(echo u s; echo d 1; echo n; echo p; echo 1; echo 2048 ; echo ;echo a; echo 1; echo w) | fdisk {{ vol_src }} || true"
+ shell: "(echo u s; echo d 1; echo n; echo p; echo 1; echo 2048 ; echo ;echo a; echo 1; echo w) | fdisk {{ vol_src_1 }} || true"
args:
executable: /bin/bash