Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CIRCLE / cloud

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 94
  • Merge Requests 10
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Merged
Merge request !123 opened Jul 15, 2014 by Guba Sándor@gubasandor 
  • Report abuse
Report abuse

Feature Hot Plug

Fixes #170 (closed), #171 (closed)

✅ qcow2 image hot-attach/detach 🚫 CD-ROM hot attach/detach not possible in current libvirt/kvm ✅ NIC hot-attach/detach

  • Discussion 3
  • Commits 10
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Őry Máté
    @orymate started a discussion on the diff Jul 18, 2014
    circle/vm/operations.py
    33 33 Instance, InstanceActivity, InstanceTemplate, Interface, Node,
    34 34 NodeActivity,
    35 35 )
    36
    36 from string import ascii_lowercase
    • Őry Máté @orymate commented Jul 18, 2014
      Owner

      move up

      move up
    Please register or sign in to reply
  • Őry Máté
    @orymate started a discussion on the diff Jul 18, 2014
    circle/vm/operations.py
    149 165  
    150 166 def _operation(self, user, url, task, activity, name=None):
    151 167 activity.result = url
    152 # TODO implement with hot-attach when it'll be available
    153 168 from storage.models import Disk
    154 169  
    155 170 disk = Disk.download(url=url, name=name, task=task)
    171 devnums = list(ascii_lowercase)
    172 for d in self.instance.disks.all():
    173 devnums.remove(d.dev_num)
    174 disk.dev_num = devnums.pop(0)
    156 175 disk.full_clean()
    176 disk.save()
    157 177 self.instance.disks.add(disk)
    158 178  
    179 if self.instance.is_running and disk.type not in ["iso"]:
    • Őry Máté @orymate commented Jul 18, 2014
      Owner

      add a comment about why not to attach isos

      add a comment about why not to attach isos
    Please register or sign in to reply
  • Őry Máté @orymate commented Jul 18, 2014
    Owner

    +1

    +1
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Guba Sándor
Assignee
Guba Sándor @gubasandor
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
2
2 participants
Reference: circle/cloud!123