Comments (6)
While checking the API call logs on AWS side via cloudtrail it indeed seems that the size value is not part of the call. Reverting back to v2.5.0, hence gem right_aws, the call is successful. However, then
the issue "Can't create a RAID on an HVM instance #80" kicks in and the creation fails due to an incompatibility in the device naming scheme for HVM instances.
Could the gem be marked as incompatible of some sort? Also, are there any reasonable alternatives out there, any LRWP for creating EBS devices on HVM instances? I currently lack the resources time and knowledge to create something helpful, but maybe it is time to move forward for somebody to create an ebs cookbook?
from aws.
just for completeness
Here is the call of the current cookbook version:
"errorMessage": "The request must contain the parameter size/snapshot",
"requestParameters": {
"zone": "eu-west-1a",
"volumeType": "standard"
},
"responseElements": null,
Here is one with the wrong device name (cookbook version 2.5.0):
"requestParameters": {
"volumeId": "vol-6xxxxx",
"instanceId": "i-0xxxxx",
"device": "/dev/sdi1",
"deleteOnTermination": false
},
"responseElements": null,
And here is a successful api call (via aws website):
"requestParameters": {
"size": "250",
"zone": "eu-west-1a",
"volumeType": "gp2",
"encrypted": false
}
"responseElements": {
"volumeId": "vol-dxxxxx",
"size": "250",
"zone": "eu-west-1a",
"status": "creating",
"createTime": 1426667251303,
"volumeType": "gp2",
"iops": 750,
"encrypted": false
}
HTH
from aws.
I am getting this issue post 2.5 as well. I needed to move to 2.7 for the Encryption options, but now I can't create any EBS Raids.
from aws.
I figured out what the problem is...
provider/ebs_raid.rb :349
-
snapshot_id creating_from_snapshot ? snapshots[i - 1] : ''
-
snapshot_id creating_from_snapshot ? snapshots[i - 1] : nil
I guess AWS SDK doesn't like '' as an empty snapshot_id. nil seems to be working fine in my fork.
from aws.
https://github.com/opscode-cookbooks/aws/compare/master...needle-cookbooks:EbsRaid?expand=1
This also has some stuff in it for Encryption for Raids, which is missing from 2.7.0.
from aws.
Can confirm that changing to nil
as per @DrMerlin fixes this.
from aws.
Related Issues (20)
- Feature proposal: route53 http/tcp health checks HOT 4
- route53_record support for multiple zone_id's HOT 1
- Multi-attach EBS HOT 2
- AWS -VPC Architect
- "unexpected value at params[:expires_in]" error when using aws_s3_file resource HOT 2
- Please update metadata.rb --ruby sdk versions to latest one HOT 1
- AWS requires with_decryption when creating values in secrets manager HOT 4
- route53_record resource: change_record method does not rescue Aws::Route53::Types::ThrottlingException
- aws_s3_file very slow HOT 5
- Split aws cookbook apart
- LoadError: cannot load such file -- aws-sdk-secretsmanager HOT 5
- Fails to deploy due to aws-sdk-ruby 2574
- Incorrect list length comparison
- Need Sample Code for Coldfusion to download files from S3 HOT 1
- Assume Role Bug
- AWS Chef 17 Compatibility
- Ec2 instance web browsing taking too long HOT 1
- Dependency Dashboard
- Cloudwatch Alarms HOT 4
- Add support for IMDSv2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws.