Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

While Installing Fault using INSTALL_DIR=/usr/bin swift install.swift #7

Closed
mdzakirhussain opened this issue Nov 27, 2019 · 1 comment

Comments

@mdzakirhussain
Copy link

While Installing Fault using INSTALL_DIR=/usr/bin swift install.swift
I am getting the shown below

root@zakir-virtual-machine:/share/Fault# INSTALL_DIR=/usr/bin swift install.swift
usage: swift [--version] [--help] [--os-help] [--snet] [--verbose]
[--debug] [--info] [--quiet] [--auth <auth_url>]
[--auth-version <auth_version> |
--os-identity-api-version <auth_version> ]
[--user ]
[--key <api_key>] [--retries <num_retries>]
[--os-username ] [--os-password ]
[--os-user-id ]
[--os-user-domain-id ]
[--os-user-domain-name ]
[--os-tenant-id ]
[--os-tenant-name ]
[--os-project-id ]
[--os-project-name ]
[--os-project-domain-id ]
[--os-project-domain-name ]
[--os-auth-url ] [--os-auth-token ]
[--os-storage-url ] [--os-region-name ]
[--os-service-type ]
[--os-endpoint-type ]
[--os-cacert ] [--insecure]
[--os-cert ]
[--os-key ]
[--no-ssl-compression]
[--help] []

Command-line interface to the OpenStack Swift API.

Positional arguments:

delete Delete a container or objects within a container.
download Download objects from containers.
list Lists the containers for the account or the objects
for a container.
post Updates meta information for the account, container,
or object; creates containers if not present.
copy Copies object, optionally adds meta
stat Displays information for the account, container,
or object.
upload Uploads files or directories to the given container.
capabilities List cluster capabilities.
tempurl Create a temporary URL.
auth Display auth related environment variables.

Examples:
swift download --help

swift -A https://api.example.com/v1.0
-U user -K api_key stat -v

swift --os-auth-url https://api.example.com/v2.0
--os-tenant-name tenant
--os-username user --os-password password list

swift --os-auth-url https://api.example.com/v3 --auth-version 3
--os-project-name project1 --os-project-domain-name domain1
--os-username user --os-user-domain-name domain1
--os-password password list

swift --os-auth-url https://api.example.com/v3 --auth-version 3
--os-project-id 0123456789abcdef0123456789abcdef
--os-user-id abcdef0123456789abcdef0123456789
--os-password password list

swift --os-auth-token 6ee5eb33efad4e45ab46806eac010566
--os-storage-url https://10.1.5.2:8080/v1/AUTH_ced809b6a4baea7aeab61a
list

swift list --lh
no such command: install.swift

@donn
Copy link
Member

donn commented Nov 27, 2019

You installed… the wrong Swift. You cannot just sudo apt install swift, that's a completely different application. 😅

Readme.md:
Then install the Swift programming language: instructions are on swift.org.

@donn donn closed this as completed Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants