Pete Zaitcev
07094b5cd0
Drop redundant milliseconds from logging
The current code logs the milliseconds twice: 2020-09-21 00:24:21,706.706 3484 DEBUG VirtualBMC [-] Get power... The documentation for the logging module in py3 is quite unambiguous about %(asctime) providing milliseconds. The documentation in py2 is unclear on what is supposed to offer, but in practice it works exactly as py3. Change-Id: Ibb050c58d5fb949316700d7d2db4c77bd62f5e25
VirtualBMC
Team and repository tags
Overview
A virtual BMC for controlling virtual machines using IPMI commands.
Installation
Supported IPMI commands
# Power the virtual machine on, off, graceful off, NMI and reset
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 power on|off|soft|diag|reset
# Check the power status
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 power status
# Set the boot device to network, hd or cdrom
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 chassis bootdev pxe|disk|cdrom
# Get the current boot device
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 chassis bootparam get 5
Project resources
- Documentation: https://docs.openstack.org/virtualbmc/latest
- Source: https://opendev.org/openstack/virtualbmc
- Bugs: https://storyboard.openstack.org/#!/project/openstack/virtualbmc
- Release Notes: https://docs.openstack.org/releasenotes/virtualbmc/
Project status, bugs, and requests for feature enhancements (RFEs) are tracked in StoryBoard: https://storyboard.openstack.org/#!/project/openstack/virtualbmc
For information on how to contribute to VirtualBMC, see https://docs.openstack.org/virtualbmc/latest/contributor
Description
Languages
Python
100%