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

crashes when domain is included #21

Open
alfredodeza opened this issue Jun 13, 2016 · 0 comments
Open

crashes when domain is included #21

alfredodeza opened this issue Jun 13, 2016 · 0 comments

Comments

@alfredodeza
Copy link
Contributor

This is a bit silly because we aren't expecting it to happen but we should prevent it regardless

vagrant@vagrant:~$ chacra/bin/chacractl binary delete https://chacra.ceph.com/binaries/calamari/1.4.0-rc15/centos/7/x86_64/calamari-server-1.4.0-rc15_6_gf2cad5f.el7.centos.x86_64.rpm
Traceback (most recent call last):
  File "chacra/bin/chacractl", line 6, in <module>
    main.ChacraCtl()
  File "/home/vagrant/chacra/local/lib/python2.7/site-packages/chacractl/main.py", line 37, in __init__
    self.main(argv)
  File "/home/vagrant/chacra/local/lib/python2.7/site-packages/chacractl/decorators.py", line 68, in newfunc
    return f(*a, **kw)
  File "/home/vagrant/chacra/local/lib/python2.7/site-packages/chacractl/main.py", line 80, in main
    parser.dispatch()
  File "/home/vagrant/chacra/local/lib/python2.7/site-packages/tambo/dispatcher.py", line 21, in dispatch
    return instance.main()
  File "/home/vagrant/chacra/local/lib/python2.7/site-packages/chacractl/api/binaries.py", line 135, in main
    url_part = self.sanitize_url(self.parser.get('delete'))
  File "/home/vagrant/chacra/local/lib/python2.7/site-packages/chacractl/api/binaries.py", line 50, in sanitize_url
    url = url_part.lstrip('/')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant