opened
catdrich
username_0
I have reinstalled all the servers using the documentation learned from issue #18, including using the correct pyVmomi version.  

There are still some minor (hopefully) issues.  When I first create a volume, for example:
flockerctl --control-service xxxxxxx create --node xxxxxxx --size 10Gb --metadata "name=postgres, size=small
The status seems to go from detached to pending, but then it stays in "pending" until I restart the flocker-dataset-agent service.  I have set this sit all day without it attaching until I finally restarted the service.

When I try to move the volume to another server in the group (once it's been successfully attached), it seems to be sporadic - some times it moves and attaches in a relatively short amount of time.  Other times I have to restart the service.  I can't find any pattern to this, but more often than not I have to restart the flocker-dataset-agent service.

FYI, I am using swarm with flocker as a test (https://docs.clusterhq.com/en/latest/docker-integration/tutorial-swarm-compose.html) and then adapted it to test it with one of our applications, and it works (except for this bug with attaching the volumes that occurs).

I move it by first stopping the present one and then doing a rm -f (as in the swarm tutorial linked in the previous paragraph).  I then change the node designation in the environment in the docker-compose.yml for example,  When I docker-compose up for the new node, it first shows as attached to the new node, then detached and I get an error that it is taking too long.  After I try a third or fourth time, sometimes the volume attaches without me having to restart the dataset agent.  

Any ideas, suggestions?  Eventually we might like to use the docker/flocker/swarm combination in production, but I think there are still a few kinks to work out.  There will probably be several updates released until we are close to using this in production.
Some slight issues related to issue #18 and volumes not attaching correctly
issue
created
aliouba
username_1
+1
comment