On 02/07/2014 04:49 AM, dheeru wrote:
Create another tenant and assign the admin role. You should be able to use it. Which services are not starting ?

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:

What i have is:
 select * from project where name = 'admin';;
+----------------------------------+-------+-------+-------------+---------+-----------+
| id | name | extra | description | enabled | domain_id |
+----------------------------------+-------+-------+-------------+---------+-----------+
| e0a4094cb09a4e528139d076244d0bde | admin | {} | NULL | 1 | default |
+----------------------------------+-------+-------+-------------+---------+-----------+

for  'create' the following sql works:

insert into project (id, name, extra, description, enabled, domain_id) values ('someuuid', 'admin-too', '{}','Admin Project',1, 'default');

so replace 'someuuid' with the old uuid, and set the name to 'admin'





-Dheeru
@Community Service


On Fri, Feb 7, 2014 at 10:27 AM, Nagaraj Mandya <[email protected] <mailto:[email protected]>> wrote:

    Hello,
    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.
-- Regards,
    Nagaraj

    _______________________________________________
    Mailing list:
    http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
    Post to     : [email protected]
    <mailto:[email protected]>
    Unsubscribe :
    http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




--
-dheeru
@Community Service


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to