Block Storage - Legacy Hardware

October 31, 2017 121 views
Block Storage Docker Ubuntu 16.04

Support,

I have docker swarm set up on the following servers:

  • 159.203.170.208
  • 159.203.102.58
  • 104.236.217.2
  • 104.236.249.172
  • 45.55.74.3

I configured docker to use the rex-ray volume plugin for DigitalOcean block storage.

https://hub.docker.com/r/rexray/dobs/

The plugin sucessfully created a volume called pg-data on 159.203.102.58. In attempting to test the attachment of the volume to another droplet using the swarm services I am getting this error:

"Err": "VolumeDriver.Mount: docker-legacy: Mount: pg_data: failed: POST https://api.digitalocean.com/v2/volumes/5cc36dd2-be76-11e7-ab91-0242ac114504/actions: 422 Droplet can't attach volumes due to a region restriction",

The droplet is 104.236.249.172 the attachment is trying to use.

All of these droplets are on nyc3.

I came across this article:

Note: Currently, the NYC3 region contains both block storage-capable hardware and legacy hardware that does not yet support attaching block storage volumes. If your Droplet is placed on legacy hardware, you will be unable to attach a volume without migrating to a new server.

The best way to ensure that your Droplet will be able to use block storage in NYC3 is to attach a volume during the Droplet creation process. This will guarantee that your Droplet is placed on hardware that supports block storage.

I am wondering if this is the issue? Are we on legacy servers or a mixture? If we have to migrate to have this working what is the impact on our servers since we put a lot of work setting it up? Is there a way we can be moved using our same ip addresses etc....

Thanks,

Lyndon

Be the first one to answer this question.