Bug #998
oneuser create fails with --x509 and password as argument
| Status: | Closed | Start date: | 11/22/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% | ||
| Category: | CLI | |||
| Target version: | Release 3.2 - Beta1 | |||
| Resolution: | fixed | Pull request: | ||
| Affected Versions: | OpenNebula 3.2 |
Description
$ oneuser create new --x509 "/C=ES/ST=MAD/O=ONE/OU=DEV/CN=Test"
/usr/lib/one/ruby/cli/one_helper/oneuser_helper.rb:44:in `delete!': can't modify frozen string (TypeError)
from /usr/lib/one/ruby/cli/one_helper/oneuser_helper.rb:44:in `password_to_str'
from /usr/bin/oneuser:144
from /usr/lib/one/ruby/cli/command_parser.rb:379:in `call'
from /usr/lib/one/ruby/cli/command_parser.rb:379:in `check_args!'
from /usr/lib/one/ruby/cli/command_parser.rb:369:in `each'
from /usr/lib/one/ruby/cli/command_parser.rb:369:in `check_args!'
from /usr/lib/one/ruby/cli/command_parser.rb:347:in `collect!'
from /usr/lib/one/ruby/cli/command_parser.rb:347:in `check_args!'
from /usr/lib/one/ruby/cli/command_parser.rb:171:in `run'
from /usr/lib/one/ruby/cli/command_parser.rb:79:in `initialize'
from /usr/bin/oneuser:33:in `new'
from /usr/bin/oneuser:33
Associated revisions
Bug #998: Duplicate the password argument object in oneuser, to avoid frozen string error
History
#1
Updated by Daniel Molina over 9 years ago
- Description updated (diff)
- Status changed from New to Closed
- % Done changed from 0 to 100
- Resolution set to fixed