Project

General

Profile

Actions

Task #7112

closed

Userguide for ucloud

Added by Ahmed Bilal over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Start date:
09/03/2019
Due date:
% Done:

0%

Estimated time:
PM Check date:

Description

"how to use ucloud"? from user's perspective.
With starting to install the CLI, getting a seed, etc?

Actions #2

Updated by Ahmed Bilal over 4 years ago

  • Status changed from New to Feedback
  • Assignee changed from Ahmed Bilal to Nico Schottelius
Actions #3

Updated by Nico Schottelius over 4 years ago

  • Assignee changed from Nico Schottelius to Mondi Ravi

Can you proof read it && give Ahmed feedback?

Actions #4

Updated by Mondi Ravi over 4 years ago

  • Status changed from Feedback to In Progress

Oops, I seem to have missed this. Doing it right now.

Actions #5

Updated by Mondi Ravi over 4 years ago

  • Status changed from In Progress to New
  • Assignee changed from Mondi Ravi to Ahmed Bilal

Looks good to me for a first version.

Some points I don't understand/did not find/improvements in the doc are:

- As a user, would I need to specify UCLOUD_API_SERVER ? If yes, I think its missing
- I think we already discussed this in ucloud channel, USERNAME/REALM/SEED would need to goto somewhere ~/.ucloud
- Streamline/make the installation of ucloud simpler ?

Actions #6

Updated by Ahmed Bilal over 4 years ago

As a user, would I need to specify UCLOUD_API_SERVER ? If yes, I think its missing

I think we already discussed this in ucloud channel, USERNAME/REALM/SEED would need to goto somewhere ~/.ucloud

It is already implemented (name, realm and seed is added now)

git clone https://code.ungleich.ch/ucloud/ucloud-setup

(cd ucloud-setup && pipenv run python ucloud-setup.py cli setup --path /root --api_server http://[2a0a:e5c0:0:2:0:b3ff:fe39:7994]:5000 --name xxxx --realm xxxx --seed xxx))

Streamline/make the installation of ucloud simpler

It is mostly streamlined. I will make it more simpler soon.

# Only needed on alpine
apk add git

git clone https://code.ungleich.ch/ungleich-public/ucloud-setup; cd ucloud-setup; sh ./init.sh

pipenv run python ucloud-setup.py api setup --auth_name xxxxxxxxxx --auth_realm xxxxxxxxxx \
--auth_seed xxxxxxxxxxx --realm_allowed ungleich-admin --realm_allowed ungleich-user --path ../ --etcd_url [2a0a:e5c0:0:2:0:b3ff:fe39:7994]

pipenv run python ucloud-setup.py scheduler setup --vm_prefix /v1/vm --host_prefix /v1/host \
--request_prefix /v1/request --path ../ --etcd_url [2a0a:e5c0:0:2:0:b3ff:fe39:7994]

pipenv run python ucloud-setup.py host setup --path ../ --ssh_username abc \
--ssh_key_path ~/.ssh/id_rsa --ssh_key_pass meow --etcd_url [2a0a:e5c0:0:2:0:b3ff:fe39:7994]

pipenv run python ucloud-setup.py file-scan setup --path ../ --base_dir /var/www \
--file_prefix /v1/file --etcd_url [2a0a:e5c0:0:2:0:b3ff:fe39:7994]

pipenv run python ucloud-setup.py image setup --path ../ --base_dir /var/www --etcd_url [2a0a:e5c0:0:2:0:b3ff:fe39:7994]

(cd ~/ucloud-api && pipenv run python ~/ucloud-api/create_image_store.py)

pipenv run python ucloud-setup.py cli setup --path /root --api_server http://[2a0a:e5c0:0:2:0:b3ff:fe39:7994]:5000 --name xxxx --realm xxxx --seed xxx
Actions #7

Updated by Nico Schottelius over 4 years ago

  • Priority changed from Normal to High
Actions #8

Updated by Ahmed Bilal over 4 years ago

  • Status changed from New to In Progress
Actions #9

Updated by Ahmed Bilal over 4 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF