Giter Site home page Giter Site logo

Comments (6)

whysthatso avatar whysthatso commented on August 24, 2024

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.

whysthatso avatar whysthatso commented on August 24, 2024

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.

DrMerlin avatar DrMerlin commented on August 24, 2024

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.

DrMerlin avatar DrMerlin commented on August 24, 2024

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.

DrMerlin avatar DrMerlin commented on August 24, 2024

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.

liquid-sky avatar liquid-sky commented on August 24, 2024

Can confirm that changing to nil as per @DrMerlin fixes this.

from aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.