Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Block Storage - Legacy Hardware
I have docker swarm set up on the following servers:
I configured docker to use the rex-ray volume plugin for DigitalOcean block storage.
The plugin sucessfully created a volume called pg-data on 126.96.36.199. 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 188.8.131.52 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....