<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 02/07/2014 04:49 AM, dheeru wrote:<br>
    </div>
    <blockquote
cite="mid:CAKV+guerAUZEXsAwN1orR68CkJ1=zWrx3dBsNQCh_QZk28QvWw@mail.gmail.com"
      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>
    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'<br>
    <br>
    <br>
    <br>
    <br>
    <blockquote
cite="mid:CAKV+guerAUZEXsAwN1orR68CkJ1=zWrx3dBsNQCh_QZk28QvWw@mail.gmail.com"
      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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
            Unsubscribe : <a moz-do-not-send="true"
              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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>