-
Notifications
You must be signed in to change notification settings - Fork 142
build-prep-1node.sh: improve to use by non-root users #373
Conversation
It's still required that the user have sudo privileges to run the script though. Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Also, if we can have 3 pools and if the hctl status output resembles that of Sage cluster then same motraddr.sh script in m0client-sample-apps can be used. @andriytk ? |
A further improvement would be to completely skip the build step if the required rpms are already installed on the system (or just an option to skip the build step) and go directly to single node setup steps. This will probably require the singlenode.yaml contents incorporated in the script if they are not rpm installed by default. @andriytk ? |
@nezzzu this is devvm - for development purposes, not just install and run. But we can add the commands to build rpms there probably also. m0client-sample-apps can be used even now without multiple pools, one pool is enough. The rc-files for the utilities can be created manually. Not familiar with motraddr.sh script, cannot advise on that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
13 ./scripts/install-motr-service
21 make && make devinstall
also need sudo
, I think.
Yes, thanks @huanghua78 . |
The default mode would be to build and install rpms. The development mode is available with the `-dev` option now. Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
@nezzzu as you suggested - it builds and installs rpms by default now. The development mode is still available via the Please review and give it a try. |
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Use the real node hostname instead of "cmu" always. Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
This issue/pull request has been marked as |
It's still required that the user have sudo privileges to run the script though.