Project

General

Profile

Actions

Task #6871

closed

Task #6869: Challenge OpenStack and OpenNebula with ucloud

Create ucloud-api

Added by Nico Schottelius over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
06/23/2019
Due date:
06/28/2019
% Done:

50%

Estimated time:
PM Check date:

Description

This is the user facing API for managing ucloud.

The main job of the API is to

  • a) verify that the user can execute the task
    • cannot delete other people's VMs
    • if creating a paid service, request an a verification from payment service that the user can pay
  • b) creating entries in etcd
    • These entries will be watched by others services and then eventually create the VM

For version 1:

  • Include ungleich-otp verification
    • Allow entering ungleich-otp URL via environment
  • Create VM JSON objects below /v1/vm/<vmid>

For version 2:

  • Implement payment verification
Actions #1

Updated by Nico Schottelius over 5 years ago

  • Due date set to 06/28/2019
  • v1 due this week, v2 due next week
  • Have William and Balazs verify after deploying
Actions #2

Updated by Ahmed Bilal over 5 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Ahmed Bilal over 5 years ago

  • v1 is deployed on my vm ssh root@2a0a:e5c0:2:12:0:f0ff:fea9:c3d9
  • @william and @llnu notified
Actions #4

Updated by Ahmed Bilal over 5 years ago

uuid is used instead of increasing number for Virtual Machine IDs.

Actions #5

Updated by Ahmed Bilal over 5 years ago

Now, using etcd3 instead of using coreos/etcd python binding because the latter does not have support to watch a prefix e.g /v1/vm

This has implication that we can't access etcd v2 data from v3 API and vice versa. So, instead of usual `etcdctl` we need to use `ETCDCTL_API=3 etcdctl`.

Actions #6

Updated by Ahmed Bilal over 5 years ago

  • % Done changed from 0 to 50
Actions #7

Updated by Ahmed Bilal over 5 years ago

  • Status changed from In Progress to Waiting
Actions #8

Updated by Ahmed Bilal over 5 years ago

  • Status changed from Waiting to Feedback
Actions #9

Updated by Ahmed Bilal over 5 years ago

  • Status changed from Feedback to In Progress
Actions #10

Updated by Ahmed Bilal almost 5 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF