Project

General

Profile

Task #6871

Task #6869: Challenge OpenStack and OpenNebula with ucloud

Create ucloud-api

Added by Nico Schottelius 4 months ago. Updated 3 months ago.

Status:
In Progress
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

History

#1

Updated by Nico Schottelius 4 months ago

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

Updated by Ahmed Bilal 4 months ago

  • Status changed from New to In Progress
#3

Updated by Ahmed Bilal 4 months ago

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

Updated by Ahmed Bilal 4 months ago

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

#5

Updated by Ahmed Bilal 4 months 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`.

#6

Updated by Ahmed Bilal 4 months ago

  • % Done changed from 0 to 50
#7

Updated by Ahmed Bilal 4 months ago

  • Status changed from In Progress to Waiting
#8

Updated by Ahmed Bilal 4 months ago

  • Status changed from Waiting to Feedback
#9

Updated by Ahmed Bilal 3 months ago

  • Status changed from Feedback to In Progress

Also available in: Atom PDF