Tuesday, 2019-06-04

*** nicolasbock has quit IRC00:01
*** Sravan has quit IRC00:08
*** markvoelker has quit IRC00:24
*** Liang__ has joined #openstack-glance00:27
*** Liang__ is now known as LiangFang00:30
*** Sravan has joined #openstack-glance00:45
*** Sravan has quit IRC00:49
*** Sravan has joined #openstack-glance00:50
*** Sravan has quit IRC00:53
*** brinzhang has joined #openstack-glance01:05
*** Sravan has joined #openstack-glance01:08
*** gyee has quit IRC01:19
*** Sravan has quit IRC01:30
*** brinzhang has quit IRC01:39
*** brinzhang has joined #openstack-glance01:39
*** Sravan has joined #openstack-glance01:46
*** Sravan has quit IRC01:56
*** abhishekk has joined #openstack-glance03:44
*** Sravan has joined #openstack-glance03:47
*** LiangFang has quit IRC03:59
*** Liang__ has joined #openstack-glance04:01
*** Sravan has quit IRC04:13
*** udesale has joined #openstack-glance04:25
*** Sravan has joined #openstack-glance04:25
*** Sravan has quit IRC04:25
*** baojg has quit IRC04:35
*** baojg has joined #openstack-glance04:41
openstackgerritAbhishek Kekane proposed openstack/glance_store master: Change lacation metadata key 'backend' to 'store'  https://review.opendev.org/65896004:55
openstackgerritAbhishek Kekane proposed openstack/glance_store master: Rethinking file system access  https://review.opendev.org/63976504:55
openstackgerritAbhishek Kekane proposed openstack/glance-specs master: Spec Lite: Rethinking our filesystem access  https://review.opendev.org/60558404:55
openstackgerritAbhishek Kekane proposed openstack/glance master: Change lacation metadata key 'backend' to 'store'  https://review.opendev.org/65896204:56
openstackgerritAbhishek Kekane proposed openstack/glance master: Rethinking filesystem access  https://review.opendev.org/61125304:56
*** pcaruana has joined #openstack-glance05:12
*** pcaruana has quit IRC05:23
*** pcaruana has joined #openstack-glance05:28
openstackgerritAbhishek Kekane proposed openstack/glance master: Lazy update stores information  https://review.opendev.org/66064505:42
openstackgerritAbhishek Kekane proposed openstack/glance master: Make location API compatible with multiple store  https://review.opendev.org/61722905:42
*** Liang__ has quit IRC05:53
*** Liang__ has joined #openstack-glance05:54
*** abhishekk has quit IRC06:09
*** lpetrut has joined #openstack-glance06:10
*** evrardjp_ is now known as evrardjp06:43
*** brinzhang has quit IRC06:49
*** brinzhang has joined #openstack-glance06:49
*** tkajinam has quit IRC07:24
*** tkajinam has joined #openstack-glance07:24
*** markvoelker has joined #openstack-glance07:32
*** markvoelker has quit IRC08:05
*** brinzhang has quit IRC08:07
*** brinzhang has joined #openstack-glance08:07
*** abhishekk has joined #openstack-glance08:21
*** priteau has joined #openstack-glance08:23
*** tkajinam has quit IRC08:24
*** tesseract has joined #openstack-glance08:56
*** mvkr has joined #openstack-glance08:59
*** Liang__ has quit IRC09:03
*** Liang__ has joined #openstack-glance09:05
*** rcernin has quit IRC09:07
*** tesseract has quit IRC09:40
*** mugsie_ is now known as mugsie09:52
*** markvoelker has joined #openstack-glance10:02
*** Liang__ has quit IRC10:03
*** abhishekk has quit IRC10:14
*** baojg has quit IRC10:33
*** markvoelker has quit IRC10:36
*** nicolasbock has joined #openstack-glance10:39
*** brinzhang has quit IRC10:43
*** brinzhang has joined #openstack-glance10:43
*** nicolasbock has quit IRC10:47
*** baojg has joined #openstack-glance10:59
*** hrw has joined #openstack-glance11:26
hrwmorning11:26
*** markvoelker has joined #openstack-glance11:33
CeeMacquick question, when using cinder as the default store, should image 'types' be limited to RAW only? Or will glance / cinder convert  other image formats to RAW when creating the volume-backed image?11:40
*** udesale has quit IRC11:52
*** udesale has joined #openstack-glance11:52
*** baojg has quit IRC12:02
*** baojg has joined #openstack-glance12:04
*** markvoelker has quit IRC12:05
*** mugsie is now known as mugsie_12:18
*** mugsie_ is now known as mugsie12:18
*** priteau has quit IRC12:34
*** priteau has joined #openstack-glance12:57
*** Luzi has joined #openstack-glance13:00
smcginnisCeeMac: Image formats will be converted.13:01
openstackgerritBrian Rosmaita proposed openstack/glance master: Update v2/info/stores api-ref  https://review.opendev.org/66197113:03
*** priteau has quit IRC13:04
*** baojg has quit IRC13:09
*** baojg has joined #openstack-glance13:10
*** Luzi has quit IRC13:13
*** baojg has quit IRC13:14
rosmaitaCeeMac: here's some info, smcginnis can do a sanity check on this13:21
rosmaitaFirst, I assume you are working from these docs (or the version for your release): https://docs.openstack.org/cinder/latest/admin/blockstorage-volume-backed-image.html13:21
rosmaitaThe basic idea is this: cinder lets you create an image from a volume and store it in glance13:21
rosmaitaIt gives you 2 ways to do this:13:21
rosmaita1) dump the volume as raw bits and upload those raw bits to glance; then glance will store that stuff by itself13:21
rosmaita2) the volume-backed-image: if you're going to use the image to create more volumes, under certain circumstances, cinder can do a fast-clone of the volume and keep the data in the *cinder* backend, and then tell Glance that's where the data is (in this case,13:21
rosmaitaCinder will set the disk_format, container_format appropriately on the image)13:22
rosmaitaIf you are going to do option (2), you need to tell Glance and Cinder some info, which is outlined in that doc i linked above13:22
rosmaitaon the glance side, in glance-api.conf the [glance_store]/stores option is a list of all the stores that glance can use13:22
rosmaitaif you want to do (2), you need to add 'cinder' to the list13:22
rosmaitabut don't remove the "normal" store where you want Glance to store images13:22
rosmaitaalso, you probably want to set the [glance_store]/cinder_store_* options13:22
rosmaitai think that's pretty much everything13:22
*** Liang__ has joined #openstack-glance13:23
CeeMacthanks rosmaita yeah, I was following the rocky version of that doc13:28
CeeMacand option 2) is the way I was going13:28
CeeMacI have the config set as per the doc, and the default_store is set to cinder.  I'm a little confused over the process of creating the image though.  Should I just be able to perform a 'normal' image upload process through horizon (as per v1 api) or is this specifically an openstack cli with particular switches task?13:29
CeeMacI need to make this "user" proof also13:29
CeeMacI ran a test upload just now and it just got created on the file backend13:29
*** brinzhang has quit IRC13:30
rosmaitaCeeMac: i don't think you want the default_store set to cinder, unless you want to put *all* images in there13:30
CeeMacyeah, that would be the plan, as the glance-api is running on a controller node with limited space right now13:31
CeeMacand our cinder-backend is scalable13:31
rosmaitaoh, ok13:31
rosmaitamaybe you need to restart the glance-api service?13:32
CeeMaci thought i had, but i'll do it again just to be sure.  I also couldn't see anything particularly interesting in the glance-api logs, would you expect to see anything written there if there was an issue communicating with cinder?13:33
CeeMacoh, wait.  default_store should be under [glance_store] section, not default?13:35
*** lpetrut has quit IRC13:43
rosmaitaCeeMac: yes, both 'default_store' and 'stores' need to be in [glance_store] section13:56
CeeMacJust changing that and will retest14:01
openstackgerritdo3meli proposed openstack/glance master: Remove additional " from config help  https://review.opendev.org/66304114:08
CeeMacrosmaita: ok, that seems to have taken the configuration, i'm getting glance scheduling issues now, so I'll switch channels, thanks for the help :)14:37
rosmaitaCeeMac: np, keep us posted in here ... looking forward to hearing about your success!14:39
*** abhishekk has joined #openstack-glance14:49
*** lpetrut has joined #openstack-glance14:57
*** Liang__ has quit IRC14:58
*** itlinux has quit IRC14:58
CeeMacrosmaita: ran up against another error :( posted across in #openstack-cinder, as not sure which end this falls into14:59
*** lpetrut has quit IRC15:29
*** gyee has joined #openstack-glance15:35
*** jistr is now known as jistr|call15:45
*** jistr|call is now known as jistr15:45
*** Sravan has joined #openstack-glance15:47
*** Sravan has quit IRC15:48
*** Sravan has joined #openstack-glance15:48
rosmaitaCeeMac: looks like on the glance end, looking at it now15:48
CeeMacrosmaita: thanks15:49
*** Sravan has quit IRC15:49
*** itlinux has joined #openstack-glance15:54
abhishekkCeeMac, have you used devstack to setup the environment?15:56
abhishekkor how did you setup your environment?15:57
*** itlinux has quit IRC15:59
rosmaitaCeeMac: also, can you verify that /etc/glance/rootwrap.conf exists?  also /etc/glance/rootwrap.d/glance_cinder_store.filters15:59
CeeMacabhishekk: I've deployed with OSA across multiple hosts16:04
abhishekkrosmaita, right16:04
CeeMacrosmaita: the former does, the latter I'll be looking at setting up in the morning16:04
CeeMacJust on the way out of the office (GMT)16:05
rosmaitaCeeMac: ok, sounds good, i'm pretty sure you need the filters file16:05
rosmaitatalk to you tomorrow16:05
CeeMacrosmaita: I believe you are correct, I'll find out tomorrow and let you know :)16:05
rosmaitahave a good evening!16:06
CeeMacThanks!16:06
*** abhishekk has quit IRC16:08
*** abhishekk has joined #openstack-glance16:10
abhishekkCeeMac, you need to make sure these files (https://github.com/openstack/glance_store/tree/master/etc/glance) are present in /etc/glance16:11
*** itlinux has joined #openstack-glance16:11
*** lpetrut has joined #openstack-glance16:27
openstackgerritBrian Rosmaita proposed openstack/glance_store master: Change location metadata key 'backend' to 'store'  https://review.opendev.org/65896016:28
*** itlinux has quit IRC16:29
*** itlinux has joined #openstack-glance16:30
*** itlinux has quit IRC16:37
*** itlinux has joined #openstack-glance16:41
*** abhishekk has quit IRC16:52
*** lpetrut has quit IRC16:55
*** itlinux has quit IRC17:23
*** itlinux has joined #openstack-glance17:24
*** Sravan has joined #openstack-glance17:27
*** Sravan has quit IRC17:31
*** gyee has quit IRC17:41
*** udesale has quit IRC17:46
*** jdillaman has quit IRC17:55
*** itlinux has quit IRC18:30
*** itlinux has joined #openstack-glance18:31
*** itlinux has quit IRC18:39
*** itlinux has joined #openstack-glance18:43
*** imacdonn has quit IRC19:38
*** altlogbot_1 has joined #openstack-glance19:39
*** itlinux has quit IRC19:50
*** imacdonn has joined #openstack-glance19:53
*** itlinux has joined #openstack-glance19:54
*** itlinux has quit IRC20:30
*** itlinux has joined #openstack-glance20:31
*** hoonetorg has quit IRC20:42
*** hoonetorg has joined #openstack-glance20:55
*** pcaruana has quit IRC21:07
*** itlinux has quit IRC21:16
*** Sravan has joined #openstack-glance22:24
*** Sravan has quit IRC22:26
*** Sravan has joined #openstack-glance22:29
*** Sravan has quit IRC22:37
*** tkajinam has joined #openstack-glance22:51
*** Sravan has joined #openstack-glance22:54
*** Sravan has quit IRC23:11
*** rcernin has joined #openstack-glance23:20
*** gyee has joined #openstack-glance23:29
*** Sravan has joined #openstack-glance23:33
*** itlinux has joined #openstack-glance23:37
*** itlinux has quit IRC23:38
*** Sravan has quit IRC23:41
*** itlinux has joined #openstack-glance23:42
*** itlinux_ has joined #openstack-glance23:45
*** itlinux has quit IRC23:47

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!