09:00:02 #startmeeting blazar 09:00:03 Meeting started Tue Jun 16 09:00:02 2020 UTC and is due to finish in 60 minutes. The chair is priteau. Information about MeetBot at http://wiki.debian.org/MeetBot. 09:00:05 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 09:00:07 The meeting name has been set to 'blazar' 09:00:26 #topic Roll call 09:00:59 hi 09:01:15 Hi suzhengwei, nice to see you here! 09:01:51 sorry for absent last meeting. 09:02:00 Let's wait a few minutes for people to join 09:02:05 ping tetsuro 09:02:17 o/ 09:02:48 Hi priteau and suzhengwei, nice to see you 09:03:35 The main topic for today is to discuss integration between Blazar and Masakari / Watcher 09:03:55 This is why suzhengwei is here, thanks a lot 09:04:34 https://wiki.openstack.org/wiki/Masakari 09:04:39 I don't think anyone else will join so let's start 09:04:43 #topic Integration between Blazar and Masakari / Watcher 09:05:34 I would like to give a simple introduce of Masakari. 09:05:51 Masakari provides Instances High Availability Service for OpenStack clouds by automatically recovering failed Instances. 09:06:15 When one host failed, Masakari will evacuate all instances from the failure host to other hosts. 09:06:58 Worsely, when large scale hosts failed, there is not enough resource to recovery all failed instances, so the reserved resource is very useful to the cloud patform. 09:07:43 Masakari tags some hosts as reserved hosts by itself, not through Blazer. 09:08:38 I wonder if Masakari can use reserved resources managed by Blazar. 09:08:51 How does your host tagging work? Does it integrate with Nova? 09:09:46 No, Masakari just tag some hosts in its database. 09:11:04 So it doesn't have any impact on scheduling decisions? Is it used as the target host for evacuation? 09:12:14 Yes, it used as the target host for evacuation. and it has problem on instance scheduling. 09:13:10 So, let me present how Blazar works 09:13:30 We have two modes of operation for compute resources: instance reservation and host reservation 09:14:20 With instance reservation, you create a reservation for a number of instances (>= 1) with a given amount of vCPUs/RAM/disk, optionally with affinity or anti-affinity policies 09:14:43 Blazar tracks resource allocation on hypervisors to make sure reserved resources are always available. 09:15:54 With host reservation, you reserve a full hypervisor (or several). Once the reservation has started, you can launch instances on this/these hypervisor(s) until you reach their capacity. 09:17:33 I don't think we've ever tried live migration with Blazar. I suppose it would work if done between hosts of the same host reservation, assuming there are enough spare resources. 09:17:59 It doesn't really fit well with the instance reservation model though. 09:18:54 I wonder if reserved hosts managed by Blazar can be used by HA in special condition, such as large scale hosts failure. 09:20:04 Host reservation would probably fit best with Masakari. You could have Masakari manage a reservation of spare hypervisors. When a hypervisor failure happens, remove a hypervisor from the reservation and use it as target? 09:20:24 That's assuming the HA instances are not launched within a reservation to start with 09:21:24 yes. 09:22:20 But before introducing to the Masakari, I must be clear about Blazer's capabilities about host reserve. 09:22:30 If HA instances are launched inside a host reservation, the spare hypervisor would probably have to be added to the reservation itself for the live migration to succeed 09:25:06 suzhengwei: What kind of capabilities are you looking for? 09:25:39 If we want to evacuate instances to reserved host, should we remove the host from reserved hosts pool? 09:25:52 If nova-scheduler can select reserved hosts when instance migrate or evacuate? 09:27:00 If not, is it easy to tranfer one normal host to a reserved host, or tranfer a reserved host to one normal host? 09:27:26 I am not completely sure about the behaviour of migration / evacuation with Blazar reservations, as I have never tried it, but I expect the Nova scheduler would prevent migration to a host in a different reservation 09:28:22 Changing a reserved (or reservable host) to a normal host involves removing it from Blazar via the host-delete command (or DELETE API) 09:29:09 I believe there are issues adding it back later, so if it's a behaviour that is needed by Masakari we would have to fix it 09:30:57 Unless Masakari can use reserved hosts directly. 09:31:07 How are HA instances created? 09:32:25 Directly with Nova, or via a Masakari API? 09:32:28 It rebuild/evacuate the instance on other node when host failure. 09:32:38 via Nova. 09:33:54 I mean the original instance, the one that failed 09:34:02 Is it created directly by the user through Nova? 09:34:04 Maskari just detect the failure and trigger instances evacuation. 09:34:35 yes, created dtrectly via Nova. 09:36:32 Reserved hosts may be useful for Watcher project, too. 09:37:44 What would Watcher do with reserved hosts? 09:39:43 In Watcher DPM(power saving) strategy, it could power on or off some reserved hosts, by comparing the number of reserved hosts with configure value. 09:42:51 Only partly reserved hosts is power-on. If more reserved hosts id needed, power on the rest. 09:43:02 What I see would be really useful is powering off unreserved hosts until just before they are needed. 09:43:37 Yeah that would be really cool. 09:44:23 Does watcher listen for notifications before taking some decisions? 09:45:16 yes, it mainly listen for Nova/Neutron/Cinder notifications. 09:45:46 Of course, it can extend. 09:46:01 Great, so the code to handle notifications is already in place 09:46:36 Currently Blazar only sends notifications on start / before_end / end of reservations, but we could add a before_start which would trigger watcher actions 09:47:00 We would need the hosts to power on a few minutes before a reservation starts, to make sure they are ready 09:47:04 it only handle special notification. 09:47:53 I would like to introduce Blazar to Watcher. 09:49:03 I would be happy to collaborate with the Masakari and Watcher projects. 09:49:26 I suggest the first step would be to gather design ideas into a common etherpad 09:49:34 yep 09:49:37 Then turn it into a spec, 09:51:32 I will learn more of Blazar before integration. 09:53:32 Should Masakari and Watcher integration be two completely separate efforts? 09:55:39 I think so. They are two separate projects, and difrrent framework. 09:56:10 OK. And you are in both teams, but I guess not everyone is 09:56:26 #action Create Etherpads for Masakari and Watcher integration with Blazar 09:56:52 diffirent framework 09:58:10 Time is out:) 09:58:27 Thanks a lot for your time suzhengwei! We'll keep progress on Etherpads and will see when is the best time and place to chat next 09:58:36 #topic AOB 09:58:48 Skipping Victoria OpenStack-wide priorities for today, let's discuss next week 09:58:51 Anything else to share today? 10:00:07 Out of time. Thanks for joining! 10:00:10 #endmeeting