Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Persona: Error in -o help=backends -o filePersona #657

Open
sonawane-shashikant opened this issue Jun 18, 2019 · 2 comments
Open

File Persona: Error in -o help=backends -o filePersona #657

sonawane-shashikant opened this issue Jun 18, 2019 · 2 comments
Assignees
Milestone

Comments

@sonawane-shashikant
Copy link

When we try to install plugin with incorrect driver, plugin goes into restarting state and help shows error.

Test Bed - SLES
CSSOS-SSA06 cli% showversion
Release version 3.3.1 (MU3)
Patches: None
Component Name Version
CLI Server 3.3.1 (MU3)
CLI Client 3.3.1
System Manager 3.3.1 (MU3)
Kernel 3.3.1 (MU3)
TPD Kernel Code 3.3.1 (MU3)

Steps to reproduce -

  1. In hpe.conf, give block driver name in DEFAULT_FILE section.
  2. Install plugin and verify the results.
  3. Verify help by running the below command
    docker volume -d hpe -o help=backends -o filePersona

Expected Result -
backeds should be seen as failed in case it doesn't enable

Actual Result -
Below error is seen

CSSOSBE03-B01:~ # docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4f3031b2e8ba quay.io/coreos/etcd:v2.2.0 "/etcd -name etcd0..." 5 days ago Up 2 days 0.0.0.0:2379-2380->2379-2380/tcp, 0.0.0.0:4001->4001/tcp, 7001/tcp etcd
ef82c47f6b42 hpestorage/legacyvolumeplugin:3.2-prerelease "/bin/sh -c ./plug..." 5 days ago Restarting (1) 22 seconds ago plugin_container

CSSOSBE03-B01:~ # docker volume create -d hpe -o help=backends -o filePersona
Error response from daemon: create 3a4ae1539b5cbe2e2f14149369e3307b6599a4ddc20fb732bce844d61bd1cc22: Post http://%2Frun%2Fdocker%2Fplugins%2Fhpe.sock/VolumeDriver.Create: dial unix /run/docker/plugins/hpe.sock: connect: no such file or directory

plugin_error_log.txt
hpe.conf.txt

@prablr79
Copy link
Contributor

@wdurairaj similar error found during Managed plugin CHO run.

@prablr79 prablr79 added the Need Verification Test team need to verify label Jul 4, 2019
@prablr79 prablr79 added this to the 3.2.1 milestone Jul 15, 2019
@prablr79 prablr79 removed the Need Verification Test team need to verify label Jul 15, 2019
@prablr79
Copy link
Contributor

Need to address in 3.2.1 , current release Installer will take care this scenario, however this needs a code change at driver level.

@imran-ansari imran-ansari self-assigned this Jul 15, 2019
imran-ansari added a commit to imran-ansari/python-hpedockerplugin that referenced this issue Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants