<commit_before><?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://docbook.org/ns/docbook"
    xmlns:xi="http://www.w3.org/2001/XInclude"
    xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
    xml:id="admin_cli_manage_projects_users">
    <?dbhtml stop-chunking?>
    <title>Manage projects, users, and roles</title>
    <para>As a cloud administrator, you manage projects, users, and
        roles. Projects are organizational units in the cloud to which
        you can assign users. Projects are also known as <emphasis
            role="italic">tenants</emphasis> or <emphasis
            role="italic">accounts</emphasis>. Users can be members of
        one or more projects. Roles define which actions users can
        perform. You assign roles to user-project pairs.</para>
    <para>You can define actions for OpenStack service roles in the
                <filename>/etc/<replaceable>PROJECT</replaceable>/policy.json</filename>
        files. For example, define actions for Compute service roles
        in the <filename>/etc/nova/policy.json</filename> file.</para>
    <para>You can manage projects, users, and roles independently from
        each other.</para>
    <para>During cloud set up, the operator defines at least one
        project, user, and role.</para>
    <para>Learn how to add, update, and delete projects and users,
        assign users to one or more projects, and change or remove the
        assignment. To enable or temporarily disable a project or
        user, you update that project or user. You can also change
        quotas at the project level.</para>
    <para>Before you can delete a user account, you must remove the
        user account from its primary project.</para>
    <para>Before you can run keystone client commands, you must
        download and source an OpenStack RC file. See <link
            xlink:href="http://docs.openstack.org/user-guide/content/cli_openrc.html"
            >Download and source the OpenStack RC file</link>.</para>
    <section xml:id="services">
        <title>Services</title>
        <para>To look at your service catalog, use these keystone
            client commands.</para>
        <section xml:id="keystone-service-create">
            <title><literal>service-create</literal></title>
            <para>Keyword arguments:</para>
            <itemizedlist>
                <listitem>
                    <para>Name</para>
                </listitem>
                <listitem>
                    <para>Type</para>
                </listitem>
                <listitem>
                    <para>Description</para>
                </listitem>
            </itemizedlist>
            <para>Example:</para>
            <screen><prompt>$</prompt> <userinput>keystone service create \
--name=nova \
--type=compute \
--description=&quot;Nova Compute Service&quot;</userinput></screen>
        </section>
        <section xml:id="keystone-service-list">
            <title><literal>service-list</literal></title>
            <para>Arguments</para>
            <itemizedlist>
                <listitem>
                    <para>service_id</para>
                </listitem>
            </itemizedlist>
            <para>Example:</para>
            <screen><prompt>$</prompt> <userinput>keystone service-list</userinput></screen>
        </section>
        <section xml:id="keystone-service-get">
            <title><literal>service-get</literal></title>
            <para>Arguments</para>
            <itemizedlist>
                <listitem>
                    <para>service_id</para>
                </listitem>
            </itemizedlist>
            <para>Example:</para>
            <screen><prompt>$</prompt> <userinput>keystone service-get 08741d8ed88242ca88d1f61484a0fe3b</userinput></screen>
        </section>
        <section xml:id="keystone-service-delete">
            <title><literal>service-delete</literal></title>
            <para>Arguments</para>
            <itemizedlist>
                <listitem><commit_msg>Fix typo: It's service-create<commit_after><?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://docbook.org/ns/docbook"
    xmlns:xi="http://www.w3.org/2001/XInclude"
    xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
    xml:id="admin_cli_manage_projects_users">
    <?dbhtml stop-chunking?>
    <title>Manage projects, users, and roles</title>
    <para>As a cloud administrator, you manage projects, users, and
        roles. Projects are organizational units in the cloud to which
        you can assign users. Projects are also known as <emphasis
            role="italic">tenants</emphasis> or <emphasis
            role="italic">accounts</emphasis>. Users can be members of
        one or more projects. Roles define which actions users can
        perform. You assign roles to user-project pairs.</para>
    <para>You can define actions for OpenStack service roles in the
                <filename>/etc/<replaceable>PROJECT</replaceable>/policy.json</filename>
        files. For example, define actions for Compute service roles
        in the <filename>/etc/nova/policy.json</filename> file.</para>
    <para>You can manage projects, users, and roles independently from
        each other.</para>
    <para>During cloud set up, the operator defines at least one
        project, user, and role.</para>
    <para>Learn how to add, update, and delete projects and users,
        assign users to one or more projects, and change or remove the
        assignment. To enable or temporarily disable a project or
        user, you update that project or user. You can also change
        quotas at the project level.</para>
    <para>Before you can delete a user account, you must remove the
        user account from its primary project.</para>
    <para>Before you can run keystone client commands, you must
        download and source an OpenStack RC file. See <link
            xlink:href="http://docs.openstack.org/user-guide/content/cli_openrc.html"
            >Download and source the OpenStack RC file</link>.</para>
    <section xml:id="services">
        <title>Services</title>
        <para>To look at your service catalog, use these keystone
            client commands.</para>
        <section xml:id="keystone-service-create">
            <title><literal>service-create</literal></title>
            <para>Keyword arguments:</para>
            <itemizedlist>
                <listitem>
                    <para>Name</para>
                </listitem>
                <listitem>
                    <para>Type</para>
                </listitem>
                <listitem>
                    <para>Description</para>
                </listitem>
            </itemizedlist>
            <para>Example:</para>
            <screen><prompt>$</prompt> <userinput>keystone service-create \
--name=nova \
--type=compute \
--description=&quot;Nova Compute Service&quot;</userinput></screen>
        </section>
        <section xml:id="keystone-service-list">
            <title><literal>service-list</literal></title>
            <para>Arguments</para>
            <itemizedlist>
                <listitem>
                    <para>service_id</para>
                </listitem>
            </itemizedlist>
            <para>Example:</para>
            <screen><prompt>$</prompt> <userinput>keystone service-list</userinput></screen>
        </section>
        <section xml:id="keystone-service-get">
            <title><literal>service-get</literal></title>
            <para>Arguments</para>
            <itemizedlist>
                <listitem>
                    <para>service_id</para>
                </listitem>
            </itemizedlist>
            <para>Example:</para>
            <screen><prompt>$</prompt> <userinput>keystone service-get 08741d8ed88242ca88d1f61484a0fe3b</userinput></screen>
        </section>
        <section xml:id="keystone-service-delete">
            <title><literal>service-delete</literal></title>
            <para>Arguments</para>
            <itemizedlist>
                <listitem>
{'fraction_non_alphanumeric': 0.11687669878922659, 'fraction_numerical': 0.008895478131949592, 'mean_word_length': 2.198340576847096, 'pattern_counts': {'":': 0, '<': 241, '<?xml version=': 2, '>': 241, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 20}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6962841', 'n_tokens_mistral': 2264, 'n_tokens_neox': 2132, 'n_words': 573}