Code Monkey home page Code Monkey logo

Comments (4)

divyenpatel avatar divyenpatel commented on June 12, 2024

@mike-england I have re-produced this issue locally on my setup using the password }sso\d$2!UsO.

2020-01-15T19:51:46.228228743Z I0115 19:51:46.227086       1 config.go:285] GetCnsconfig called with cfgPath: /etc/cloud/csi-vsphere.conf
2020-01-15T19:51:46.228784937Z E0115 19:51:46.228594       1 config.go:303] Failed to parse config. Err: 7:18: unknown escape sequence
2020-01-15T19:51:46.229043957Z E0115 19:51:46.228735       1 service.go:136] Failed to read config. Error: 7:18: unknown escape sequence
2020-01-15T19:51:46.229290107Z time="2020-01-15T19:51:46Z" level=info msg="configured: csi.vsphere.vmware.com" clusterFlavor=VANILLA mode=controller
2020-01-15T19:51:46.229578682Z time="2020-01-15T19:51:46Z" level=info msg="removed sock file" path=/var/lib/csi/sockets/pluginproxy/csi.sock
2020-01-15T19:51:46.229592315Z time="2020-01-15T19:51:46Z" level=fatal msg="grpc failed" error="7:18: unknown escape sequence"

We are looking into how we can fix this issue.

from vsphere-csi-driver.

divyenpatel avatar divyenpatel commented on June 12, 2024

@mike-england I have just used the password you mentioned successfully with escaping character.

for password }sso\d$2!UsO, following works fine.

password = "}sso\\d$2!UsO"

from vsphere-csi-driver.

mike-england avatar mike-england commented on June 12, 2024

What about a password that uses , ", `, and ' at the same time? Not to challenge you, but it does seem to happen a bit around this office as our admin passwords get generated for us.

from vsphere-csi-driver.

divyenpatel avatar divyenpatel commented on June 12, 2024

@mike-england Let's say the VC password is - Admin!23\'"

Here is how you need to escape characters.

password = "Admin!23\\'\""

I am closing this issue, as there is not code change required for this issue. All we need to do is to set proper escape sequence in the password.

from vsphere-csi-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.