You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
With the latest release, I've discovered an issue with the documentation of the docker-volume-vsphere.conf file which can lead to high CPU usage on a Linux system.
The documentation gives the following example of the file:
In the above example, there should be a coma after "vsphere". Since there is not, having this file present in /etc/ and starting docker will result in docker continually trying to load the plugin, which causes high CPU usage on the system. This can be verified by looking at the output of /var/log/messages. In that file, we see the following error continuously looping:
Additionally, there is one more discrepancy in the documentation which doesn't cause the CPU issue but will result in logging trouble. It seems the fully qualified path to the log file must be specified. The example in the documentation shows only "/var/log" as the example. If that is used, messages can be observed in /var/log/messages indicating /var/log is unavailable. If a fully qualified file path such as "/var/log/docker-volume-vsphere.log" is used, the log file will be written to as expected.
The text was updated successfully, but these errors were encountered:
Testing done: As a quick sanity following steps were followed.
reproduce the issue locally > line "LogPath": "/var/log, created a new file and moved previous logs to dated folder
cleaned up everything locally
corrected /etc/docker-volume-vsphere.conf for driver (supplying an extra ,) and LogPath
restart docker-volume-vsphere to refresh the log changes
create volume > rm volume > verifies logs at the location mentioned at LogPath
Additional testing has been done for Driver (by changing vsphere => vmdk (legacy driver) and back to vsphere and make sure log output verifies the activity.
Affected changes are checked in and document is refreshed see here
With the latest release, I've discovered an issue with the documentation of the docker-volume-vsphere.conf file which can lead to high CPU usage on a Linux system.
The documentation gives the following example of the file:
In the above example, there should be a coma after "vsphere". Since there is not, having this file present in /etc/ and starting docker will result in docker continually trying to load the plugin, which causes high CPU usage on the system. This can be verified by looking at the output of /var/log/messages. In that file, we see the following error continuously looping:
Additionally, there is one more discrepancy in the documentation which doesn't cause the CPU issue but will result in logging trouble. It seems the fully qualified path to the log file must be specified. The example in the documentation shows only
"/var/log"
as the example. If that is used, messages can be observed in /var/log/messages indicating /var/log is unavailable. If a fully qualified file path such as"/var/log/docker-volume-vsphere.log"
is used, the log file will be written to as expected.The text was updated successfully, but these errors were encountered: