jiaopengju | hi, goldyfruit | 01:14 |
---|---|---|
jiaopengju | I will take a look at it soon | 01:16 |
goldyfruit | jiaopengju: I did a review :) | 01:17 |
goldyfruit | The Cinder V3 client needs to be imported | 01:18 |
goldyfruit | I've been able to restore a volume on a different cloud | 01:18 |
goldyfruit | Now I'm fighting to do the same but with an instance | 01:19 |
jiaopengju | I see, but zuul gives -1 on it | 01:19 |
goldyfruit | The restore complain about missing security group | 01:19 |
goldyfruit | jiaopengju: yeah, will have a look why | 01:19 |
goldyfruit | jiaopengju: is there a way to create a plan with network stuff only ? | 01:21 |
goldyfruit | like only router, net, subnet and security group ? | 01:21 |
jiaopengju | yes, of course | 01:25 |
jiaopengju | you can configure the karbor-network-protection-plugin | 01:26 |
goldyfruit | jiaopengju: do you have a "karbor plan-create" to share please ? | 01:26 |
goldyfruit | My provider already have the plugin | 01:26 |
goldyfruit | but I don't find the way to create the plan for that only | 01:26 |
goldyfruit | I tried: karbor plan-create net001 ac9b986e-cd0a-49fb-9513-9d93a4d9dac8 'ac9b986e-cd0a-49fb-9513-9d93a4d9dac8'='OS::Neutron::Network'='net1' | 01:27 |
goldyfruit | But the API complains about the instances is not found | 01:27 |
goldyfruit | (Thanks for your help/time) | 01:28 |
goldyfruit | >> HTTP exception thrown: The instance doesn't exist. | 01:29 |
jiaopengju | ok, I will give you an answer later | 01:31 |
goldyfruit | Thanks | 01:32 |
jiaopengju | :) | 01:32 |
openstackgerrit | Jiao Pengju proposed openstack/karbor master: Fix default configuration files path not exist https://review.openstack.org/592781 | 02:13 |
goldyfruit | I 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 |
goldyfruit | Provider ID: ac9b986e-cd0a-49fb-9513-9d93a4d9dac8 | 03:02 |
goldyfruit | Instance ID: 95749466-1a8d-4d9c-9da4-923f6e4698c5 | 03:02 |
goldyfruit | Network ID: a3667ab9-d37f-4be6-b0d2-fb76cf5ac77a | 03:02 |
goldyfruit | The network is the one attached to the instance | 03:02 |
goldyfruit | I didn't find any documentation about how to do it :/ | 03:03 |
goldyfruit | jiaopengju: I'm staying connected, feel free to give me a "karbor plan-create" with Network when you have some time :) | 03:10 |
goldyfruit | Thanks again for your help | 03:10 |
goldyfruit | This is my provider just in case: http://paste.openstack.org/raw/728275/ | 03:12 |
jiaopengju | I am so sorry, goldyfruit. I have other things being processed. After that I will focus on the issue you met | 03:14 |
goldyfruit | Just example of commands, no worries about my bugs :p | 03:15 |
goldyfruit | It is the night here, time to sleep :po | 03:16 |
goldyfruit | enjoy your day ! | 03:16 |
jiaopengju | I will send it to your email. So sorry :( | 03:16 |
goldyfruit | No problem jiaopengju !!! Don't be sorry | 03:18 |
openstackgerrit | Jiao Pengju proposed openstack/karbor-dashboard master: Updated from global requirements https://review.openstack.org/551492 | 06:09 |
openstackgerrit | Merged openstack/karbor master: Fix default configuration files path not exist https://review.openstack.org/592781 | 06:15 |
openstackgerrit | Jiao Pengju proposed openstack/karbor-dashboard master: Updated from global requirements https://review.openstack.org/551492 | 06:31 |
jiaopengju | hi goldfruit, I had send an email to you | 06:51 |
jiaopengju | the 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 |
jiaopengju | hope this can help you | 06:53 |
openstackgerrit | melissaml proposed openstack/karbor master: Remove the duplicated word https://review.openstack.org/592883 | 07:07 |
openstackgerrit | Merged openstack/karbor-dashboard master: Updated from global requirements https://review.openstack.org/551492 | 07:35 |
*** zhongjun2 has joined #openstack-karbor | 09:35 | |
openstackgerrit | Akihiro Motoki proposed openstack/karbor-dashboard master: Drop nose dependencies https://review.openstack.org/592549 | 10:52 |
*** goldyfruit has quit IRC | 11:47 | |
*** zhongjun2 has quit IRC | 12:10 | |
*** goldyfruit has joined #openstack-karbor | 12:34 | |
goldyfruit | jiaopengju: yes it helped ! But I didn't received your email, you could try to send to at gaetan.trellu@gmail.com | 12:34 |
goldyfruit | Stil having issue to restore my network :/ | 14:48 |
goldyfruit | When I create the checkpoint, in my bank I have this path: | 14:49 |
goldyfruit | /checkpoints/8ba7acbc-72f3-492e-9183-feb2ddd7a098/resource-data/a4b84a529e9e4eea8ff7bfbe51c48e32/metadata | 14:49 |
goldyfruit | When 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/metadata | 14:50 |
goldyfruit | a4b84a529e9e4eea8ff7bfbe51c48e32 and d20aecdc013f42739c1d110d7d592b7a are the projects UUID on the two different cloud | 14:50 |
goldyfruit | I tried to restore with this command: | 14:57 |
goldyfruit | karbor restore-create ac9b986e-cd0a-49fb-9513-9d93a4d9dac8 8ba7acbc-72f3-492e-9183-feb2ddd7a098 --parameters 'resource_type'='OS::Neutron::Network','resource_id'='a4b84a529e9e4eea8ff7bfbe51c48e32' | 14:57 |
goldyfruit | And it seems that I'm able only to create a plan to backup the network only for the admin tenant | 15:23 |
goldyfruit | I guess I have to find a way to add my tenant in the protectable-list | 16:05 |
goldyfruit | Ok, on every tenant where I run karbor protectable-list-instance OS::Neutron::Network it is only the admin project that is returned | 16:40 |
goldyfruit | OK, I solved the "karbor protectable-list-instance OS::Neutron::Network" issue, it was because in karbor.conf I was using the internalURL for Neutron | 17:31 |
goldyfruit | Still having my restore issue, digging... (sorry for the monologue) | 17:32 |
goldyfruit | Is 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 |
openstackgerrit | OpenStack Release Bot proposed openstack/karbor master: Update reno for stable/rocky https://review.openstack.org/593164 | 20:10 |
*** goldyfruit has quit IRC | 23:07 | |
*** goldyfruit has joined #openstack-karbor | 23:50 | |
goldyfruit | jiaopengju: any idea about how to specify the resource_id I want to restore ? | 23:50 |
goldyfruit | I 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 |
goldyfruit | Which 612bafb75fe044e0aca60db037bcf26e is the project's network that I backuped and want to restore on the other cloud | 23:51 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!