<div dir="ltr">Thanks Adam, I will try that out.</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<div>Regards,</div><div>Nagaraj</div></div></div>
<br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 8:42 PM, Adam Young <span dir="ltr"><<a href="mailto:ayoung@redhat.com" target="_blank">ayoung@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div class="">
<div>On 02/07/2014 04:49 AM, dheeru wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Create another tenant and assign the admin role. You should
be able to use it. Which services are not starting ?<br>
</div>
</div>
</blockquote>
<br></div>
Not quite enough. Assuming you are using the SQL backend, you want
to recreate the old Admin tenant ID so tha resources owned by that
tenant are back. Do you have a record off the UUID tenant ID? If
so, either create a different tenant andn alter it, or directly
create it in the data base. The SQL is relatively simple:<br>
<br>
What i have is: <br>
select * from project where name = 'admin';;<br>
+----------------------------------+-------+-------+-------------+---------+-----------+<br>
| id | name | extra | description |
enabled | domain_id |<br>
+----------------------------------+-------+-------+-------------+---------+-----------+<br>
| e0a4094cb09a4e528139d076244d0bde | admin | {} | NULL
| 1 | default |<br>
+----------------------------------+-------+-------+-------------+---------+-----------+<br>
<br>
for 'create' the following sql works:<br>
<br>
insert into project (id, name, extra, description, enabled,
domain_id) values ('someuuid', 'admin-too', '{}','Admin Project',1,
'default');<br>
<br>
so replace 'someuuid' with the old uuid, and set the name to 'admin'<div class=""><br>
<br>
<br>
<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>-Dheeru<br>
</div>
<div>@Community Service<br>
</div>
</div>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">On Fri, Feb 7, 2014 at 10:27 AM,
Nagaraj Mandya <span dir="ltr"><<a href="mailto:nmandya@gmail.com" target="_blank">nmandya@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hello,</span>
<div style="font-family:arial,sans-serif;font-size:13px">
I am using OpenStack Grizzly and my services are
configured with an admin tenant named "service" (in
admin_tenant_name). However, by mistake, I deleted that
tenant. Is there some way I can recreate that project?
All my services are now failing. Thanks.</div>
<div>
<div dir="ltr">--
<div>Regards,</div>
<div>Nagaraj</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div>-dheeru<br>
</div>
@Community Service<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</blockquote>
<br>
</div></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>