Share v2 Commands

share lock

share message

share message delete

Remove one or more messages

openstack share message delete <message> [<message> ...]
message

ID of the message(s).

This command is provided by the python-manilaclient plugin.

share message list

Lists all messages

openstack share message list
    [--sort-column SORT_COLUMN]
    [--sort-ascending | --sort-descending]
    [--resource-id <resource-id>]
    [--resource-type <resource-type>]
    [--action-id <action-id>]
    [--detail-id <detail-id>]
    [--request-id <request-id>]
    [--message-level <message-level>]
    [--limit <limit>]
    [--since <since>]
    [--before <before>]
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

--sort-ascending

sort the column(s) in ascending order

--sort-descending

sort the column(s) in descending order

--resource-id <resource-id>

Filters results by a resource uuid. Default=None.

--resource-type <resource-type>

Filters results by a resource type. Default=None. Example: “openstack message list –resource-type share”

--action-id <action-id>

Filters results by action id. Default=None.

--detail-id <detail-id>

Filters results by detail id. Default=None.

--request-id <request-id>

Filters results by request id. Default=None.

--message-level <message-level>

Filters results by the message level. Default=None. Example: “openstack message list –message-level ERROR”.

--limit <limit>

Maximum number of messages to return. (Default=None)

--since <since>

Return only user messages created since given date. The date format must be conforming to ISO8601. Available only for microversion >= 2.52.

--before <before>

Return only user messages created before given date. The date format must be conforming to ISO8601. Available only for microversion >= 2.52.

This command is provided by the python-manilaclient plugin.

share message show

Show details about a message

openstack share message show <message>
message

ID of the message.

This command is provided by the python-manilaclient plugin.

share security service

share security service create

Create security service used by project.

openstack share security service create
    [--dns-ip <dns-ip>]
    [--ou <ou>]
    [--server <server>]
    [--domain <domain>]
    [--user <user]
    [--password <password>]
    [--name <name>]
    [--description <description>]
    [--default-ad-site <default_ad_site>]
    <type>
--dns-ip <dns-ip>

DNS IP address of the security service used inside project’s network.

--ou <ou>

Security service OU (Organizational Unit). Available only for microversion >= 2.44.

--server <server>

Security service IP address or hostname.

--domain <domain>

Security service domain.

--user <user

Security service user or group used by project.

--password <password>

Password used by user.

--name <name>

Security service name.

--description <description>

Security service description.

--default-ad-site <default_ad_site>

Default AD site. Available only for microversion >= 2.76. Can be provided in the place of ‘–server’ but not along with it.

type

Security service type. Possible options are: ‘ldap’, ‘kerberos’, ‘active_directory’.

This command is provided by the python-manilaclient plugin.

share security service delete

Delete one or more security services.

openstack share security service delete
    <security-service>
    [<security-service> ...]
security-service

Name or ID of the security service(s) to delete.

This command is provided by the python-manilaclient plugin.

share security service list

List security services.

openstack share security service list
    [--sort-column SORT_COLUMN]
    [--sort-ascending | --sort-descending]
    [--all-projects]
    [--share-network <share-network>]
    [--status <status>]
    [--name <name>]
    [--type <type>]
    [--user <user]
    [--dns-ip <dns-ip>]
    [--ou <ou>]
    [--default-ad-site <default_ad_site>]
    [--server <server>]
    [--domain <domain>]
    [--detail]
    [--limit <num-security-services>]
    [--marker <security-service>]
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

--sort-ascending

sort the column(s) in ascending order

--sort-descending

sort the column(s) in descending order

--all-projects

Display information from all projects (Admin only).

--share-network <share-network>

Filter results by share network name or ID.

--status <status>

Filter results by status.

--name <name>

Filter results by security service name.

--type <type>

Filter results by security service type.

--user <user

Filter results by security service user or group used by project.

--dns-ip <dns-ip>

Filter results by DNS IP address used inside project’s network.

--ou <ou>

Filter results by security service OU (Organizational Unit). Available only for microversion >= 2.44.

--default-ad-site <default_ad_site>

Filter results by security service default_ad_site. Available only for microversion >= 2.76.

--server <server>

Filter results by security service IP address or hostname.

--domain <domain>

Filter results by security service domain.

--detail

Show detailed information about filtered security services.

--limit <num-security-services>

Limit the number of security services returned

--marker <security-service>

The last security service ID of the previous page

This command is provided by the python-manilaclient plugin.

share security service set

Set security service.

openstack share security service set
    [--dns-ip <dns-ip>]
    [--ou <ou>]
    [--server <server>]
    [--domain <domain>]
    [--user <user]
    [--password <password>]
    [--name <name>]
    [--description <description>]
    [--default-ad-site <default_ad_site>]
    <security-service>
--dns-ip <dns-ip>

Set DNS IP address used inside project’s network.

--ou <ou>

Set security service OU (Organizational Unit). Available only for microversion >= 2.44.

--server <server>

Set security service IP address or hostname.

--domain <domain>

Set security service domain.

--user <user

Set security service user or group used by project.

--password <password>

Set password used by user.

--name <name>

Set security service name.

--description <description>

Set security service description.

--default-ad-site <default_ad_site>

Default AD site. Available only for microversion >= 2.76.

security-service

Security service name or ID.

This command is provided by the python-manilaclient plugin.

share security service show

Show security service.

openstack share security service show <security-service>
security-service

Security service name or ID to show.

This command is provided by the python-manilaclient plugin.

share security service unset

Unset security service.

openstack share security service unset
    [--dns-ip]
    [--ou]
    [--server]
    [--domain]
    [--user]
    [--password]
    [--name]
    [--description]
    [--default-ad-site]
    <security-service>
--dns-ip

Unset DNS IP address used inside project’s network.

--ou

Unset security service OU (Organizational Unit). Available only for microversion >= 2.44.

--server

Unset security service IP address or hostname.

--domain

Unset security service domain.

--user

Unset security service user or group used by project.

--password

Unset password used by user.

--name

Unset security service name.

--description

Unset security service description.

--default-ad-site

Default AD site. Available only for microversion >= 2.76.

security-service

Security service name or ID.

This command is provided by the python-manilaclient plugin.

share service

share service set

Enable/Disable share service (Admin only).

openstack share service set
    [--enable | --disable]
    [--disable-reason <reason>]
    <host>
    <binary>
--enable

Enable share service

--disable

Disable share service

--disable-reason <reason>

Reason for disabling the service (should be used with –disable option)

host

Host name as ‘example_host@example_backend’.

binary

Service binary, could be ‘manila-share’, ‘manila-scheduler’ or ‘manila-data’

This command is provided by the python-manilaclient plugin.

share service list

List share services (Admin only).

openstack share service list
    [--sort-column SORT_COLUMN]
    [--sort-ascending | --sort-descending]
    [--host <host>]
    [--binary <binary>]
    [--status <status>]
    [--state <state>]
    [--zone <zone>]
    [--ensuring <ensuring>]
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

--sort-ascending

sort the column(s) in ascending order

--sort-descending

sort the column(s) in descending order

--host <host>

Filter services by name of the host.

--binary <binary>

Filter services by the name of the service.

--status <status>

Filter results by status.

--state <state>

Filter results by state.

--zone <zone>

Filter services by their availability zone.

--ensuring <ensuring>

Filter services running ensure shares or not.

This command is provided by the python-manilaclient plugin.

share service ensure shares

Run ensure shares in a back end (Admin only).

openstack share service ensure shares <host>
host

Host to run ensure shares. ‘example_host@example_backend’.

This command is provided by the python-manilaclient plugin.