<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Probably want to follow MySQL procedures to reset the root password to 'pass'.<div><br></div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">PCM (Paul Michali)</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br>Contact info for Cisco users <a href="http://twiki.cisco.com/Main/pcm">http://twiki.cisco.com/Main/pcm</a><br><br></div></span></span>
</div>
<br><div><div>On Jun 18, 2013, at 5:52 PM, zan tosh <<a href="mailto:ztosh71@gmail.com">ztosh71@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><div dir="ltr">Yes, this seems to be mysql issue. These are the error I am seeing:<div><br></div><div><div>2013-06-18 11:46:22 + sudo mysqladmin -u root password pass</div><div>2013-06-18 11:46:22 mysqladmin: connect to server at 'localhost' failed</div>

<div>2013-06-18 11:46:22 error: 'Access denied for user 'root'@'localhost' (using password: NO)'</div><div>2013-06-18 11:46:22 + true</div><div>2013-06-18 11:46:22 + sudo mysql -uroot -ppass -h127.0.0.1 -e 'GRANT ALL PRIVILEGES ON *.* TO '\''root'\''@'\''%'\'' identified by '\''pass'\'';'</div>

<div>2013-06-18 11:46:22 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)</div><div>2013-06-18 11:46:22 + sudo sed -i '/^bind-address/s/<a href="http://127.0.0.1/0.0.0.0/g" target="_blank">127.0.0.1/0.0.0.0/g</a>' /etc/my.cnf</div>

<div>2013-06-18 11:46:22 + sudo grep -q default-storage-engine /etc/my.cnf</div><div>2013-06-18 11:46:22 + sudo bash -c 'source /opt/stack/devstack/functions; iniset /etc/my.cnf mysqld default-storage-engine InnoDB'</div>

<div>2013-06-18 11:46:22 + sudo sed -i /log.slow.queries/d /etc/my.cnf</div><div>2013-06-18 11:46:22 + sudo sed -i -e '/^\[mysqld\]/ a log-slow-queries = /var/log/mysql/mysql-slow.log' /etc/my.cnf</div><div>2013-06-18 11:46:22 + sudo sed -i /long.query.time/d /etc/my.cnf</div>

<div>2013-06-18 11:46:22 + sudo sed -i -e '/^\[mysqld\]/ a long-query-time = 0' /etc/my.cnf</div><div>2013-06-18 11:46:22 + sudo sed -i /log.queries.not.using.indexes/d /etc/my.cnf</div><div>2013-06-18 11:46:22 + sudo sed -i -e '/^\[mysqld\]/ a log-queries-not-using-indexes' /etc/my.cnf</div>

<div><br></div><div>I tried restarting mysqld, re-installing mysql-server etc. Still get the same error when I try to access mysql using root. Btw, I am runnin RHEL 6.4</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jun 18, 2013 at 10:07 AM, Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 06/18/2013 12:49 PM, zan tosh wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am getting stuck with the following errors while installing using<br>
devstack (stable/grizzly).<br>
2013-06-18 09:43:01 + export OS_SERVICE_TOKEN=password<br>
2013-06-18 09:43:01 + OS_SERVICE_TOKEN=password<br>
2013-06-18 09:43:01 + export OS_SERVICE_ENDPOINT=<a href="http://localhost:35357/v2.0" target="_blank">http://<u></u>localhost:35357/v2.0</a><br>
2013-06-18 09:43:01 + OS_SERVICE_ENDPOINT=<a href="http://localhost:35357/v2.0" target="_blank">http://<u></u>localhost:35357/v2.0</a><br>
2013-06-18 09:43:01 + create_keystone_accounts<br>
2013-06-18 09:43:01 ++ keystone tenant-create --name admin<br>
2013-06-18 09:43:01 ++ grep ' id '<br>
2013-06-18 09:43:01 ++ get_field 2<br>
2013-06-18 09:43:01 ++ read data<br>
2013-06-18 09:43:01 An unexpected error prevented the server from<br>
fulfilling your request. (OperationalError) (1045, "Access denied for<br>
user 'root'@'localhost' (using password: YES)") None None (HTTP 500)<br>
</blockquote></div>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<u></u>^^<br>
<br>
That is your issue. It's mysql connectivity.<span class="HOEnZb"><font color="#888888"><br>
<br>
        -Sean<br>
<br>
-- <br>
Sean Dague<br>
<a href="http://dague.net/" target="_blank">http://dague.net</a></font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~<u></u>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~<u></u>openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/<u></u>ListHelp</a><br>
</div></div></blockquote></div><br></div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>