Ask Your Question
0

Code modification in multinode setup

asked 2017-05-25 01:15:41 -0600

Mohammed Moin gravatar image

Hi all, I am working on nova scheduling,i have multinode setup with one controller, one network and 3 compute nodes. I want to modify the existing code for filter scheduler. Is it possible in multinode environment. If so how can i proceed? pls do suggest some solutions. Thank you.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-05-25 06:31:50 -0600

The nova scheduler normally only runs on the controller, so you just have to modify the code there. The general filter_scheduler code is in .../nova/scheduler/filter_scheduler.py (link to git), and individual filters are in the filters subdirectory.

edit flag offensive delete link more

Comments

Dear Bernd Bausch sir, i have followed your instructions and added some simple set of code. but when i restart nova scheduler it is giving error. what may be the issue or how to recompile after altering the code. pls let me know

Mohammed Moin gravatar imageMohammed Moin ( 2017-06-12 23:06:35 -0600 )edit

If there is an error, something is wrong in your code. To have an idea what is wrong, I would need to know the error and perhaps also your code.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-19 19:36:03 -0600 )edit
-1

answered 2017-07-30 10:20:25 -0600

benhart gravatar image

Watch out! modification of code can result with a lot of errors that are going to be hard to detect. There are software you can use in order to help you, such as checkmarx and others but it's still a lot of work so I recommend you to not do it often. Good luck!

edit flag offensive delete link more

Comments

This is spam

Bernd Bausch gravatar imageBernd Bausch ( 2017-07-30 23:26:15 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-05-25 01:15:41 -0600

Seen: 227 times

Last updated: Jul 30 '17