Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing EBS Raid creation and adding Encryption option to Raid #130

Closed
wants to merge 29 commits into from

Conversation

DrMerlin
Copy link

See AWS issue: #129 and #118.

This restores the ability to create EBS volumes as part of a Raid.

It also adds the required passthrough to created encrypted volumes as a Raid.

@scalp42
Copy link
Contributor

scalp42 commented Apr 13, 2015

LGTM 👍

@@ -31,3 +33,5 @@
attribute :disk_type, kind_of: String, default: 'standard'
attribute :disk_piops, kind_of: Integer, default: 0
attribute :existing_raid, kind_of: [TrueClass, FalseClass]
attribute :disk_encrypted, kind_of: [TrueClass, FalseClass], default: false
attribute :disk_kms_key_id, kind_of: String
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the :disk_kms_key_id be marked as a required parameter?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope @juliandunn aws-sdk will default to one:

Default master key that protects my EBS volumes when no other key is defined

This master key is used by default if you don't define a master key when you create an encrypted resource in this service. Settings on this key cannot be modified to ensure the availability, durability and security of this key.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What he said.

I tested it with the default key (read: no attribute provided) and it worked fine using the master key.

@mreeves1
Copy link

mreeves1 commented Jun 2, 2015

+1 - This is currently biting us too.

@purgatorio
Copy link

+1 on this

@liquid-sky
Copy link

+1 Pls merge

@miketheman miketheman added the ebs label Jun 13, 2015
@mkantor
Copy link
Contributor

mkantor commented Jun 15, 2015

Is there anything I could do to help expedite this? Until this pull request is merged we're stuck on the 2.3.0 release, which has its own set of issues (it barfs in cn-north-1 for example).

@scalp42
Copy link
Contributor

scalp42 commented Jun 16, 2015

This PR is really straightforward, would like to know also what can be done to speed it up please.

Thanks in advance!

@mkantor
Copy link
Contributor

mkantor commented Jun 16, 2015

I sliced out the tiny changeset that unbreaks ebs_raid and opened #156 (just in case that helps get the fix merged faster, I don't mean to undermine @DrMerlin's excellent work here).

Matt Jones added 7 commits July 21, 2015 10:50
Fixed permissions

Fixing Raid creation issue with Snapshot_id and adding encryption passthrough

Updated README.md to include Encryption parameters for ebs_raid

Pulled code from sous-chefs#99

Comment cleanup

Property format standardization

Bring our fork up to date with AWS 2.7.0

Fixed permissions

Fixing Raid creation issue with Snapshot_id and adding encryption passthrough

Pulled code from sous-chefs#99

Bumped version to 14.1.0

Comment cleanup

Property format standardization
Missing source/issues urls from metadata

Rebase to Current AWS Master

Bring our fork up to date with AWS 2.7.0

Fixing Raid creation issue with Snapshot_id and adding encryption passthrough

Updated README.md to include Encryption parameters for ebs_raid
Bring our fork up to date with AWS 2.7.0

Fixed permissions

Fixing Raid creation issue with Snapshot_id and adding encryption passthrough

Updated README.md to include Encryption parameters for ebs_raid

Pulled code from sous-chefs#99

Comment cleanup

Property format standardization

Bring our fork up to date with AWS 2.7.0

Fixed permissions

Fixing Raid creation issue with Snapshot_id and adding encryption passthrough

Pulled code from sous-chefs#99

Bumped version to 14.1.0

Comment cleanup

Property format standardization

Rebased Fork on Current AWS Book (2.7.2) and reversioned to our 14.2.0

Missing source/issues urls from metadata

Rebase to Current AWS Master

Bring our fork up to date with AWS 2.7.0

Fixing Raid creation issue with Snapshot_id and adding encryption passthrough

Updated README.md to include Encryption parameters for ebs_raid

Fixed permissions

Fixing Raid creation issue with Snapshot_id and adding encryption passthrough

Updated README.md to include Encryption parameters for ebs_raid

Pulled code from sous-chefs#99

Comment cleanup

Property format standardization

Bring our fork up to date with AWS 2.7.0

Fixed permissions

Fixing Raid creation issue with Snapshot_id and adding encryption passthrough

Pulled code from sous-chefs#99

Bumped version to 14.1.0

Comment cleanup

Property format standardization
# The first commit's message is:
Rebased Fork on Current AWS Book (2.7.2) and reversioned to our 14.2.0

# This is the 2nd commit message:

Missing source/issues urls from metadata

# This is the 3rd commit message:

Rebase to Current AWS Master

# This is the 4th commit message:

Bring our fork up to date with AWS 2.7.0
Updated README.md to include Encryption parameters for ebs_raid
@DrMerlin
Copy link
Author

Since #156 was merged in lieu of this PR, I have opened PR #165 with the remaining content.

@DrMerlin DrMerlin closed this Jul 21, 2015
@DrMerlin DrMerlin deleted the EbsRaid branch July 21, 2015 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants