Commit Graph

13 Commits

Author SHA1 Message Date
Jay Faulkner e6fa558879 Bugs are now in Launchpad, update docs to reflect
Update docs to reflect bugs being in LP now.

Change-Id: Ibe43fe463af1d7a3998acaa8b6c985b068249f91
2023-05-18 07:12:30 -07:00
Jay Faulkner f97e1946d3 Document VirtualBMC is not for production use
VirtualBMC is not a tool designed for production use; ensure this is
explicitly documented in the readme.

Story #2010382
Task #46661

Change-Id: I581b96b93d9b24f650ac0c6280d074708ec69ef4
2022-10-26 08:27:30 -07:00
caoyuan ddd93bf222 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I2fc590b50ee8d783d65054ad067cd0a9ea525e52
2019-04-23 11:54:35 +00:00
Maciej Kucia 90ac53067e Update README
The readme should reference to documentation.

Change-Id: I4fd4bf8a730067bbd11b6da0448ce65af3aa816f
Signed-off-by: Maciej Kucia <maciej@kucia.net>
2019-01-15 09:41:52 +01:00
Jim Rollenhagen dc62440b9d Remove duplicate lines in README
The 'get current boot device' part was in there twice, kill one of them.

Change-Id: I49ad2f32f7634515b28ce9e12ca4372d3dae3e12
2018-08-31 10:07:18 -04:00
Ilya Etingof 7ace4293e9 multiprocess server, ZMQ-based management cli tool
Original design of the VirtualBMC tool was that user manages
config files for individual VirtualBMC (via a cli tool), then
requests the tool to start the instances representing
individual VirtualBMC instances (via the cli tool). Then
the instances become independent processes. The only way
to know their whereabouts is through the pidfiles
they maintain.

There were certain practical inconveniences with the
original design, namely:

* Cumbersome to start/stop/monitor free-standing
  vBMC instances processes
* No two-way communication between the parent process
  and the VirtualBMC instances what makes child state check
  or modification unnecessary difficult

This commit turns server part of the tool into a single
process spawning multiple children processes and herding
them via ZMQ client/server.

The parent process runs server part of the control
interface, maintains persistent VirtualBMC instances
configuration and ensures all its children are alive
and kicking. Each VirtualBMC instance is still a separate
parent fork.

If child dies, parent respawns it right away. If parent
is about to die, it tries its best to kill all the
prospective orphans.

This new implementation tries to stay compatible with
the original one in part of `vbmc` tool CLI interface
and behaviour. Whenever it can't connect to the `vbmcd`
it tries to fork and spawn the daemon behind the scenes.

While the threading design for this tool might look better,
the underlying pyghmi library is apparently rather
complicated to use its concurrency capabilities reliably.
The other minor consideration is that running multiple
processes leverages CPU-based concurrency.

Other changes:

* The `start` command now accepts more than one domains
  to be started

Change-Id: Ie10f4598c7039a7afa9b45d01df3b3c3db252c1d
Story: 1751570
Task:  12057
2018-05-11 17:29:47 +02:00
wangqi 46617d212c Update links in README
Change the outdated links to the latest links in README

Change-Id: Iba55fba3b8e2754b1689ccd3ba8ad0701d3e9bc2
2018-03-08 11:27:33 +00:00
Zhijiang Hu d05eb2475b Support power reset command
Some OpenStack installer such as [1] use power reset when switching
from bootstrap kernel to OS installation kernel. So we'd better
implement this.

[1] https://review.openstack.org/#/admin/projects/openstack/daisycloud-core

Change-Id: I60df3a31c7600d35d50212538fbfffd22bf7c729
Signed-off-by: Zhijiang Hu <hu.zhiiang@zte.com.cn>
2018-01-18 09:54:39 +08:00
Lucas Alvares Gomes a63b7e8191 Fix documentation title and README
This patch fixes the documentation title, the name of the project is
VirtualBMC (with the capital cases) and also fix the README, it changes
the order of "team and repository tag" title to be the last and add
graceful shutdown and NMI as supported commands for ipmitool.

Change-Id: Ieb857b4c1065d5fff2028ee78a4a4e8586cd4724
2017-02-10 12:19:44 +00:00
Flavio Percoco 5a6e38d362 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

b'https://gist.github.com/0fa8867697757718c9a122540bef860f\n'

Change-Id: I46fb76ff4083bfe67d54d18c0b6058298731d351
2016-11-25 13:34:10 +01:00
Lucas Alvares Gomes 85a0b201ff Restructure the repository according to OpenStack
This patch is restructuring the VirtualBMC repository according to the
OpenStack template for projects (Cookiecutter).

This patch also removes the dependency on the python-daemon library
since it is not present in the OpenStack global-requirements, now a new
class called "detach_process" has been added to the virtualbmc/utils.py
module that will take care of detaching the process context from its
parent and session.

Change-Id: Id4ae1db5b73a18abc54276fe1dfbf3ceff7adc06
2016-05-09 12:35:50 +01:00
Lucas Alvares Gomes f6e7153e2b Add the "vbmc" utility
This patch is refactoring the code and adding the vbmc utility.
2016-02-12 23:37:05 +00:00
Lucas Alvares Gomes aff825c8ab Initial Commit with code 2016-02-11 15:55:51 +00:00