AUCOHL / Fault

A complete open-source design-for-testing (DFT) Solution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mdzakirhussain opened this issue · comments

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

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.