<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">So as to reproduce the nova-manage SQL
command, I would recommand to tcpdump -A port 3306 on the host and
get the SQL trace on what's failing.<br>
<br>
Could you please explain further what is your HA config ? Are you
using pacemaker/heartbeat or any VIP ?<br>
<br>
-Sylvain<br>
<br>
Le 11/03/2013 14:23, Samuel Winchenbach a écrit :<br>
</div>
<blockquote
cite="mid:CAK9s_NwoGED81p+ySStftLPJHZo6b9cta=+mrrn-Yk7Mcaq0Rg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:'courier
new',monospace">Does anyone think this could be an openstack
bug? I just want to check before submitting a bug report.</div>
<div class="gmail_default" style="font-family:'courier
new',monospace">
<br>
</div>
<div class="gmail_default" style="font-family:'courier
new',monospace">Sam</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Mar 8, 2013 at 4:02 PM, Jay
Pipes <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com" target="_blank">jaypipes@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry, I
really can't think of anything :(<br>
<div class="im"><br>
On 03/08/2013 03:52 PM, Samuel Winchenbach wrote:<br>
> I dropped those users and no change.<br>
><br>
> I also set up general logging in mysql but it really
doesn't provide any<br>
> additional information. Any idea for a next step I
could take?<br>
><br>
> I am almost at the point of taking a tcpdump and
trying to recreate the<br>
> salted password. :/<br>
><br>
> Thanks for the help<br>
><br>
> Sam<br>
><br>
><br>
><br>
><br>
> On Fri, Mar 8, 2013 at 3:38 PM, Jay Pipes <<a
moz-do-not-send="true" href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a><br>
</div>
<div class="im">> <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>>
wrote:<br>
><br>
> I'm stumped :( Looks like everything is set up
correctly to me. What is<br>
> interested is that your nova user access works
from test2, but there is<br>
> no nova@test2 user in the mysql.user table. What
about doing a DROP USER<br>
> nova@test1; FLUSH PRIVILEGES; and then see if
that fixes things... since<br>
</div>
> the <a moz-do-not-send="true"
href="http://nova@10.21.0.0/255.255.0.0" target="_blank">nova@10.21.0.0/255.255.0.0</a>
<<a moz-do-not-send="true"
href="http://nova@10.21.0.0/255.255.0.0" target="_blank">http://nova@10.21.0.0/255.255.0.0</a>><br>
<div class="im HOEnZb">> user is clearly working for
the access<br>
> from test2.<br>
><br>
> Also, I'd recommend highly removing the nova@%
user.<br>
><br>
> Best,<br>
> -jay<br>
><br>
> On 03/08/2013 03:09 PM, Samuel Winchenbach wrote:<br>
> ><br>
> > <a moz-do-not-send="true"
href="http://paste2.org/p/3085807" target="_blank">http://paste2.org/p/3085807</a><br>
> ><br>
> ><br>
> > On Fri, Mar 8, 2013 at 2:46 PM, Jay Pipes
<<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>><br>
</div>
<div class="im HOEnZb">> > <mailto:<a
moz-do-not-send="true" href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>>>
wrote:<br>
> ><br>
</div>
<div class="HOEnZb">
<div class="h5">> > Please paste the results
of SELECT User, Host, Password FROM<br>
> mysql.user<br>
> > when running as root...<br>
> ><br>
> > Thanks!<br>
> > -jay<br>
> ><br>
> > On 03/08/2013 02:25 PM, Samuel
Winchenbach wrote:<br>
> > > Here are my grants. I don't know
if this helps, but I did<br>
> verify that<br>
> > > the password was identical for
each grant:<br>
> > <a moz-do-not-send="true"
href="http://paste2.org/p/3085361" target="_blank">http://paste2.org/p/3085361</a><br>
> > ><br>
> > ><br>
> > > On Fri, Mar 8, 2013 at 2:17 PM,
Samuel Winchenbach<br>
> > <<a moz-do-not-send="true"
href="mailto:swinchen@gmail.com">swinchen@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:swinchen@gmail.com">swinchen@gmail.com</a>><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:swinchen@gmail.com">swinchen@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:swinchen@gmail.com">swinchen@gmail.com</a>>><br>
> > > <mailto:<a
moz-do-not-send="true"
href="mailto:swinchen@gmail.com">swinchen@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:swinchen@gmail.com">swinchen@gmail.com</a>><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:swinchen@gmail.com">swinchen@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:swinchen@gmail.com">swinchen@gmail.com</a>>>>>
wrote:<br>
> > ><br>
> > > root@test1:/var/log# mysql
-hmysql-ha -unova<br>
> > >
-p******************************** -e"SELECT User, Host,<br>
> Password<br>
> > > FROM mysql.user;"<br>
> > > ERROR 1142 (42000) at line 1:
SELECT command denied to user<br>
> > > 'nova'@'test1' for table
'user'<br>
> > ><br>
> > ><br>
> > > On Fri, Mar 8, 2013 at 2:06
PM, Jay Pipes<br>
> <<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>><br>
> > <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>><br>
</div>
</div>
<div class="HOEnZb">
<div class="h5">> > > <mailto:<a
moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>>>>
wrote:<br>
> > ><br>
> > > What does this show?<br>
> > ><br>
> > > mysql -hmysql-ha -unova
-p<PASS> -e"SELECT User, Host,<br>
> > Password FROM<br>
> > > mysql.user"<br>
> > ><br>
> > > -jay<br>
> > ><br>
> > > On 03/08/2013 01:46 PM,
Samuel Winchenbach wrote:<br>
> > > > Sorry, that must
have been a copy and paste error.<br>
> Here<br>
> > is what I<br>
> > > > actually ran:<br>
> > > ><br>
> > > > <a
moz-do-not-send="true"
href="http://paste2.org/p/3084996" target="_blank">http://paste2.org/p/3084996</a><br>
> > > ><br>
> > > ><br>
> > > > On Fri, Mar 8, 2013
at 12:40 PM, Jay Pipes<br>
> > <<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>><br>
> > > <mailto:<a
moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>>><br>
> > > > <mailto:<a
moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>><br>
> > <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>>>>>
wrote:<br>
> > > ><br>
> > > > On 03/08/2013
12:19 PM, Samuel Winchenbach wrote:<br>
> > > > > Hi All,<br>
> > > > ><br>
> > > > > I have two
nodes (test1 and test2) that I am<br>
> trying to<br>
> > > set up in a<br>
> > > > > highly
available configuration.<br>
> > > > ><br>
> > > > > During the
setup process I tried running<br>
> "nova-manage<br>
> > > service list" on<br>
> > > > > both nodes.
It worked fine on test2, but<br>
> fails on<br>
> > > test1 even<br>
> > > > though I<br>
> > > > > can connect
to the database with the mysql<br>
> client from<br>
> > > test1.<br>
> > > > ><br>
> > > > > Here is a
screen capture that shows the setup on<br>
> > the two<br>
> > > nodes are<br>
> > > > > basically
identical:<br>
> <a moz-do-not-send="true"
href="http://paste2.org/p/3084223" target="_blank">http://paste2.org/p/3084223</a><br>
> > > ><br>
> > > > In the above
paste you are doing:<br>
> > > ><br>
> > > > mysql -unova -
hmysql-ha -u root nova<br>
> > > >
-p********************************<br>
> > > ><br>
> > > > Note you are
supplying 2 -u arguments, and mysql<br>
> > will take<br>
> > > the second<br>
> > > > (root).<br>
> > > ><br>
> > > > -jay<br>
> > > ><br>
> > > >
_______________________________________________<br>
> > > > Mailing list: <a
moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack"
target="_blank">https://launchpad.net/~openstack</a><br>
> > > > Post to : <a
moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br>
> > <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>>><br>
> > > <mailto:<a
moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br>
> > <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>>>><br>
> > > > <mailto:<a
moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br>
> > <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>>><br>
> > > <mailto:<a
moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br>
> > <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> <mailto:<a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>>>>><br>
> > > > Unsubscribe : <a
moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack"
target="_blank">https://launchpad.net/~openstack</a><br>
> > > > More help : <a
moz-do-not-send="true"
href="https://help.launchpad.net/ListHelp"
target="_blank">https://help.launchpad.net/ListHelp</a><br>
> > > ><br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> ><br>
> ><br>
><br>
><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
</body>
</html>