Friday, 2018-08-17

jiaopengjuhi, goldyfruit01:14
jiaopengjuI will take a look at it soon01:16
goldyfruitjiaopengju: I did a review :)01:17
goldyfruitThe Cinder V3 client needs to be imported01:18
goldyfruitI've been able to restore a volume on a different cloud01:18
goldyfruitNow I'm fighting to do the same but with an instance01:19
jiaopengjuI see, but zuul gives -1 on it01:19
goldyfruitThe restore complain about missing security group01:19
goldyfruitjiaopengju: yeah, will have a look why01:19
goldyfruitjiaopengju: is there a way to create a plan with network stuff only ?01:21
goldyfruitlike only router, net, subnet and security group ?01:21
jiaopengjuyes, of course01:25
jiaopengjuyou can configure the karbor-network-protection-plugin01:26
goldyfruitjiaopengju: do you have a "karbor plan-create" to share please ?01:26
goldyfruitMy provider already have the plugin01:26
goldyfruitbut I don't find the way to create the plan for that only01:26
goldyfruitI tried: karbor plan-create net001 ac9b986e-cd0a-49fb-9513-9d93a4d9dac8 'ac9b986e-cd0a-49fb-9513-9d93a4d9dac8'='OS::Neutron::Network'='net1'01:27
goldyfruitBut the API complains about the instances is not found01:27
goldyfruit(Thanks for your help/time)01:28
goldyfruit>> HTTP exception thrown: The instance doesn't exist.01:29
jiaopengjuok, I will give you an answer later01:31
goldyfruitThanks01:32
jiaopengju:)01:32
openstackgerritJiao Pengju proposed openstack/karbor master: Fix default configuration files path not exist  https://review.openstack.org/59278102:13
goldyfruitI tried that too: karbor plan-create vm002 ac9b986e-cd0a-49fb-9513-9d93a4d9dac8 '95749466-1a8d-4d9c-9da4-923f6e4698c5'='OS::Nova::Server'='vm1','a3667ab9-d37f-4be6-b0d2-fb76cf5ac77a'='OS::Neutron::Network'='net1'03:02
goldyfruitProvider ID: ac9b986e-cd0a-49fb-9513-9d93a4d9dac803:02
goldyfruitInstance ID: 95749466-1a8d-4d9c-9da4-923f6e4698c503:02
goldyfruitNetwork ID: a3667ab9-d37f-4be6-b0d2-fb76cf5ac77a03:02
goldyfruitThe network is the one attached to the instance03:02
goldyfruitI didn't find any documentation about how to do it :/03:03
goldyfruitjiaopengju: I'm staying connected, feel free to give me a "karbor plan-create" with Network when you have some time :)03:10
goldyfruitThanks again for your help03:10
goldyfruitThis is my provider just in case: http://paste.openstack.org/raw/728275/03:12
jiaopengjuI am so sorry, goldyfruit. I have other things being processed. After that I will focus on the issue you met03:14
goldyfruitJust example of commands, no worries about my bugs :p03:15
goldyfruitIt is the night here, time to sleep :po03:16
goldyfruitenjoy your day !03:16
jiaopengjuI will send it to your email. So sorry :(03:16
goldyfruitNo problem jiaopengju !!! Don't be sorry03:18
openstackgerritJiao Pengju proposed openstack/karbor-dashboard master: Updated from global requirements  https://review.openstack.org/55149206:09
openstackgerritMerged openstack/karbor master: Fix default configuration files path not exist  https://review.openstack.org/59278106:15
openstackgerritJiao Pengju proposed openstack/karbor-dashboard master: Updated from global requirements  https://review.openstack.org/55149206:31
jiaopengjuhi goldfruit, I had send an email to you06:51
jiaopengjuthe command you use is correct. But you input the wrong value. When you want to protect network resources, the resource id is not the network id, you should use project id instead. And you can use ‘karbor protectable-list-instances OS::Neutron::Network’ to show what ids you can protect.06:53
jiaopengjuhope this can help you06:53
openstackgerritmelissaml proposed openstack/karbor master: Remove the duplicated word  https://review.openstack.org/59288307:07
openstackgerritMerged openstack/karbor-dashboard master: Updated from global requirements  https://review.openstack.org/55149207:35
*** zhongjun2 has joined #openstack-karbor09:35
openstackgerritAkihiro Motoki proposed openstack/karbor-dashboard master: Drop nose dependencies  https://review.openstack.org/59254910:52
*** goldyfruit has quit IRC11:47
*** zhongjun2 has quit IRC12:10
*** goldyfruit has joined #openstack-karbor12:34
goldyfruitjiaopengju: yes it helped ! But I didn't received your email, you could try to send to at gaetan.trellu@gmail.com12:34
goldyfruitStil having issue to restore my network :/14:48
goldyfruitWhen I create the checkpoint, in my bank I have this path:14:49
goldyfruit/checkpoints/8ba7acbc-72f3-492e-9183-feb2ddd7a098/resource-data/a4b84a529e9e4eea8ff7bfbe51c48e32/metadata14:49
goldyfruitWhen I want to restore this checkpoint on the other cloud Karbor is looking for this path:14:49
goldyfruit/checkpoints/8ba7acbc-72f3-492e-9183-feb2ddd7a098/resource-data/d20aecdc013f42739c1d110d7d592b7a/metadata14:50
goldyfruita4b84a529e9e4eea8ff7bfbe51c48e32 and d20aecdc013f42739c1d110d7d592b7a are the projects UUID on the two different cloud14:50
goldyfruitI tried to restore with this command:14:57
goldyfruitkarbor restore-create ac9b986e-cd0a-49fb-9513-9d93a4d9dac8 8ba7acbc-72f3-492e-9183-feb2ddd7a098 --parameters 'resource_type'='OS::Neutron::Network','resource_id'='a4b84a529e9e4eea8ff7bfbe51c48e32'14:57
goldyfruitAnd it seems that I'm able only to create a plan to backup the network only for the admin tenant15:23
goldyfruitI guess I have to find a way to add my tenant in the protectable-list16:05
goldyfruitOk, on every tenant where I run karbor protectable-list-instance OS::Neutron::Network it is only the admin project that is returned16:40
goldyfruitOK, I solved the "karbor protectable-list-instance OS::Neutron::Network" issue, it was because in karbor.conf I was using the internalURL for Neutron17:31
goldyfruitStill having my restore issue, digging... (sorry for the monologue)17:32
goldyfruitIs there a way to define a resource_id for the network_id: https://github.com/openstack/karbor/blob/4be8f036e2261f7c226079a14c9a5f399837f3d7/karbor/services/protection/protection_plugins/network/neutron_protection_plugin.py#L608 ?19:21
openstackgerritOpenStack Release Bot proposed openstack/karbor master: Update reno for stable/rocky  https://review.openstack.org/59316420:10
*** goldyfruit has quit IRC23:07
*** goldyfruit has joined #openstack-karbor23:50
goldyfruitjiaopengju: any idea about how to specify the resource_id I want to restore ?23:50
goldyfruitI tried that: karbor restore-create ac9b986e-cd0a-49fb-9513-9d93a4d9dac8 95c89151-a353-46af-98cd-a1b7fa43298f --parameters 'resource_type'='OS::Neutron::Network','resource_id'='612bafb75fe044e0aca60db037bcf26e'23:50
goldyfruitWhich 612bafb75fe044e0aca60db037bcf26e is the project's network that I backuped and want to restore on the other cloud23:51

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