#startmeeting #meetingname scrum seems the bot hasnt joined #info Agenda: 1) Roundtable / Open Discussion Remote host closed the connection). Other topics? (the bot is out sick) Chicken soup? I hope to be out sick too haha, AdamKingIT: indeed :) Ok no other topics... #topic Roundtable / Open Discussion #info aglitke has been trying to clear the backlog of patches. Making good progress. We have two overdue issues: https://github.com/kimchi-project/kimchi/issues?milestone=2&state=open ahh, one #info alinefm Sent patch to fix bug https://github.com/kimchi-project/kimchi/issues/74 (remove vm from local database only if it added from Kimchi UI) shaohef: https://github.com/kimchi-project/kimchi/issues/24 <-- any progress? #info alinefm Sent patch to fix bug https://github.com/kimchi-project/kimchi/issues/71 (keep image ratio) #info bingbu sent RFD v2 of adding ISCSI and NFS StoragePool and review several patches #info alinefm Get patches to disable 'create' button in create vm window merged #info alinefm Working on clone feature aglitke, do I need to open bugs for it ^? Remote host closed the connection). alinefm: Actually that would help if you would open an enhancement or two #info royce is doing shallow scan patches, settelled down with design, submitted v2, exception series merged, thanks aglitke, shaohef,bing_bu for your review alinefm: For issue 74, did you prevent the VM from being deleted, or avoid the error report even though the delete was successful? AdamKingIT, the vm was already been deleted from libvirt and it failed when deleting it from local database (objstore) aglitke: sorry, have not check it on F19 these days. alinefm, by clone feature, do you mean clone vm using the same backing file? alinefm: ok, so you just fixed/avoided the error report for the local database delete? I added a parameter to ignore (does not display error) when the vm is being deleted and it is not on local database cool royce, from first discussion with aglitke we decided to create a template from a vm (creating a qemu base image) and then allow create a vm from the template alinefm: one thing we should look at is enumerating the storage volumes used by a vm when deleting. We should parse the domain xml so we can properly handle vms created outside of kimchi #info I posted a presentation to cattail that I will be using today with some customers, and in the future. Comments welcome aglitke, it is already working How long until we think we can have iso scanning in the UI using the shallow method> alinefm: merged? aglitke, yes! at least it worked in my tests ok, good the only problem while deleting vm's added outside kimchi was related to the local database alinefm: you can send patch, and I will test it re: shallow scan. Let me talk to DingXin. He had scan UI code working based on the old design. I suspect it won't take him a long time though excellent. AdamKingIT: That's great! He can use royce's patches until they are merged zhoumeina, for what? alinefm: #74 zhoumeina, it is already merged =) OK, I'll corporate with xinding on the scan UI alinefm: ok, great The shallow method has been merged? alinefm: The volume used by VM created outside of kimchi maybe can not accessed(removed) because of permission, maybe. xinding: It is close, but not merged yet. bing_bu, it worked well for me. I used virt-manager to add a vm and delete it from kimchi UI AdamKingIT: we have to redesign the ui of iso scan? I'll work on it from tommorow I do think the UI should pop up a confirmation dialog when deleting a VM AdamKingIT: ^ We are deleting disks permanently and it's easy mis-click aglitke: yes ,it is needed especially on a tablet with my fat fingers. I don't THINK much if any redesign is required, but we'll find out alinefm: maybe you can try to create a VM using virsh under root, I am not sure about that. aglitke: I bet you wear your seatbelt too ;-) heh AdamKingIT: I think we need a shallow scan button , deep scan button, can stop scan button, at least I agree, its pretty bad if you misclick. I will open a bug report zhoumeina: I assigned you https://github.com/kimchi-project/kimchi/issues/85 aglitke: maybe the UI should tip the user whether to delete the using image or images ? feel free to reassign as needed. bing_bu: If they don't delete them then we have orphaned files with no way to delete them. AdamKingIT: the path of iso file is no needed to keep, AdamKingIT: I just opened one aglitke: sometimes the user just want to remove the vm from list but do not want remove the data. AdamKingIT: a grid poped or something else instead bing_bu: we cannot support that until we have volume management interfaces. aglitke: ok, I will work on it aglitke: You mean creating a vm from an existing image file will not supported by kimchi. not at the moment. We are focusing on the common features first bing_bu: why we can not create a VM from an existing image file? We want to do really well on the tasks a user will first want to accomplish aglitke: I dont understand, I thought the user want to create a VM via iso images, not right? shaohef: create lot of same VMs easily zhoumeina: exactly bing_bu: yes. so why can not create? bing_bu is asking for a feature to create a vm from some existing disk image. I am saying that is not a common feature and is low priority. aglitke: oh I do think its worth "Create VM from existing VM" - aka Clone, thuogh that is simpler than "Create from Disk Image" alinefm, clone in kimchi we generate different volumes for cloned vm, seems not the usual way we do in other virtual management... AdamKingIT: The way we are approaching that one is allowing any VM to be converted into a template and then you use the normal flow for create vm to create clones from that template. WOuld that just create a template like what was used for the original VM? so cloning a vm is just creating a vm from a template with a common disk defined. Meaning you would lose any 'live' changes No ! good! We lock the VM and copy the disk to a new file for the template and make that file readonly. I do think clone is more simple than create a new guest OS by install it from ISO. then we use qemu-img to create a new leaf image to reassign to the original vm Handy too royce, we will have the same content in 2 disk images normally we use the same volume and make them depend on the same backing file then new vms can be created by creating leaf images from that base. bing_bu: I think we should make a VM temple from an exist vms. We will require the VM to be powered off during this process. aglitke: yes, agree. shaohef: same bing_bu: so we do not need to install a VM again. It will take a long time. aglitke: maybe we can called this as "creating a VM based on existing image" = copy the image file,rename it to the new name,create template,define. shaohef: if you can take a look at that default network and default pool bug we will be done with the July Sprint items Are there any other topics that people would like to bring up? aglitke: OK. I will do it. Reflections... Thanks for the good ideas. Keep them coming, we'll discuss at next week's scrum About storagepool, do we still make lots of check before creating a 'default' storagepool or just create a 'default' pool if no pool? bing_bu: I think some distros have separated the creation of the default net and default pool into another package. So we just need to figure out which one it is. aglitke: cacheBust. I want to generate the html.tmpl form html.tmpl.in shaohef: yes add .html.tmpl into the list of output files in configure.ac then you need to have a html.tmpl.in file autoconf will replace @VAR@ with VAR aglitke: yes. but actually that may not be what we want because the value needs to change when files change. That is automake, not autoconf aglitke: do we need a Makefile.subs? I don't know... I don't think so. You will probably use the Makefile do_substitution trick like we do for several other files. aglitke: As I know, virt-install and virt-manager can do that aglitke: yes. aglitke: virt-manager just create default if no pool, do not create any other pool out of '/var/lib/libvirt/images' bing_bu: yes, so the best way to figure it out is to find the package dependencies of virt-manager and see which package contains the /etc/libvirt/networks/default.xml file rpm -qf /etc/libvirt/networks/default.xml shaohef: ^ I think storage pools have a similar xml file. aglitke: yes. then we will require that rpm in the spec file for the appropriate distro aglitke: I will look into it. great' is F19 the only distro affected by this? aglitke: to check whether a similar xml file for storage pool aglitke: yeah, you are right aglitke: just test F19 distro ok. Mom is also affected... I need to change my package dependencies for that package too aglitke, there is a similar problem to it when the pool and network exists but they are not active it happened sometimes to me and I needed to active it manually to get kimchi works properly alinefm: ok, that is easier... We can pretty safely enable those. at daemon startup alinefm: I think we can active it that is just a libvirt API call aglitke, shaohef, yeap we can do it in the Model constructor. but if it failed? If it fails then kimchi should report an error and exit. or maybe just display an error page to the user. right! I will send a patch for it alinefm: thanks! aglitke, I was thinking and show a error while starting up the kimchi service instead of display a page error alinefm: we might want to do both. one issue is that the end user may not be looking at the server logs they will try to open the web interface and it will be down Would be nice if it was up but displayed a banner with more information about the error. And the interface is disabled. We could do this with royce's error handling have the server always raise HTTPError(500, details) for all requests if there is a global error condition. aglitke, yes! you are right Maybe something non-generic Yeah. We need a translatable user error message Trying to think if things could be partially functional in this state AdamKingIT: when will we integrate PAM for authentication? Kimchi could not activate the libvirt 'default' network which is needed for proper network connectivity of virtual machines. What if the virtual machines had no network defined? (I know we don';t allow this now, but its not incobceivable I think we still want some basic sanity in the system We have some basic ground rules: default network available sanity good. One the one hand I like that the server won't even start if the world doesn't make sense default storage pool available Its simple, clean Yeah, but I worry that a user won't get feedback On the other, of there are no current VMs making use of the default network or storage pool, why shouldn't I be able to work? I'd actually like to allow the debugreports feature to still work from this error page. so we display an error and then have a button to collect a Debug report package. I need to get more familiar w/ the debugreports then the user is empowered to do something about the error instead of just getting a server not found error. AdamKingIT: It just calls 'sosreport' under the covers and will allow the user to download a collected tar.gz file that they can forward to support. yeah, so the next smallest step on the continuum is allow the server to start, but the users all get an error page saying to call aglitke and have him fix his server heh yep hehehe AdamKingIT: Did you have a chance to play with Auth yet? I haven't. Was out of town this weekend, and didn't have time during the week... My thought is to break it into small enough pieces that we can all get on the same page, then break out the impl of the parts yep. for starters the two I see are: HTTP challenge backend PAM auth engine the PAM part can initially be : return True that will allow us to get the UI and REST API working I had it at: Create a login form that"validates" the user and issues the magic cookie (where uid/pwd is hard coded to start. or always passes the check) HTTP challenge -> HTTP respons -> backend PAM auth engine then we can make the PAM part a little more difficult to pass. Then put protection on some URLs to send to the auth form if the user doesn't have a valid token If that works ok, we can add the constraint to the URLs I want a quick and dirty impl of the HTTP Form and redirection stuff so I can see how it works with the REST API implement actual PAM auth and work on generating a secure token AdamKingIT: You want to take point on the initial bits? y I think I still have pt on the initial bits, ok. top o' the hour. Thanks for joining everyone! #endmeeting