Ask Your Question
0

nova-manage crashes when mysql root password contains special chars

asked 2011-07-04 15:28:33 -0500

When the mysql root password contains special chars (especially $ and @), nova-manage fails when trying to synchronize the database.

root@host:~# nova-manage db sync Command failed, please check log for more info

Please find attached an extract of /var/log/nova/nova-manage.log

(nova): TRACE: KeyError: 'ABCD' The root mysql password would be in this case something like $ABCD@

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-07-08 10:35:41 -0500

This is in fact desired behavior: flags value are actually Template strings, and "$ABCD" serves to reference the value of the ABCD flag.

edit flag offensive delete link more
0

answered 2011-07-08 10:37:04 -0500

Flag values are actually Python Template strings.

You should use "$$" to represent "$" in a flag value.

See for details: http://docs.python.org/library/string...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-07-04 15:28:33 -0500

Seen: 17 times

Last updated: Jul 08 '11