8.10. report

8.10.1. report bug

rocks report bug

Report info about the system to help debug issues.

examples

$ rocks report bug

Report system info.

8.10.2. report dbhost

rocks report dbhost

8.10.3. report distro

rocks report distro

Output the path prefix for the location of the Rocks distribution.

examples

$ rocks report distro

Output the current path prefix to the distribution.

8.10.4. report host

rocks report host

Report the host to IP address mapping in the form suitable for /etc/hosts.

examples

$ rocks report host

Outputs data for /etc/hosts.

8.10.5. report host attr

rocks report host attr [host]

Report the set of attributes for hosts.

arguments

[host]

Host name of machine

examples

$ rocks report host attr compute-0-0

Report the attributes for compute-0-0.

8.10.6. report host bootflags

rocks report host bootflags [host...]

Output the kernel boot flags for a specific host

arguments

[host]

Zero, one or more host names. If no host names are supplied, info about all the known hosts is listed.

examples

$ rocks report host bootflags compute-0-0

Output the kernel boot flags for compute-0-0.

8.10.7. report host dhcpd

rocks report host dhcpd {host}

Output the DHCP server configuration file for a specific host.

arguments

host

Create a DHCP server configuration for the machine named 'host'. If no host name is supplied, then generate a DHCP configuration file for this host.

examples

$ rocks report host dhcpd frontend-0-0

Output the DHCP server configuration file for frontend-0-0.

8.10.8. report host interface

rocks report host interface {host} [iface=string]

Output the network configuration file for a host's interface.

arguments

host

One host name.

parameters

[iface=string]

Output a configuration file for this host's interface (e.g. 'eth0'). If no 'iface' parameter is supplied, then configuration files for every interface defined for the host will be output (and each file will be delineated by <file> and </file> tags).

examples

$ rocks report host interface compute-0-0 iface=eth0

Output a network configuration file for compute-0-0's eth0 interface.

8.10.9. report host network

rocks report host network {host}

Outputs the network configuration file for a host (on RHEL-based machines, this is the contents of the file /etc/sysconfig/network).

arguments

host

One host name.

examples

$ rocks report host network compute-0-0

Output the network configuration for compute-0-0.

8.10.10. report host roll

rocks report host roll [host]

Create a report in XML format for a set of rolls that should be applied to a frontend's configuration.

arguments

[host]

Host name of machine

examples

$ rocks report host roll frontend-0-0-0

Report the rolls assigned to frontend-0-0-0.

8.10.11. report host route

rocks report host route {host}

Create a report that contains the static routes for a host.

arguments

host

Host name of machine

examples

$ rocks report host route compute-0-0

Create a report of the static routes assigned to compute-0-0.

8.10.12. report resolv

rocks report resolv

Report for /etc/resolv.conf for public side nodes.

examples

$ rocks report resolv

Outputs data for /etc/resolv.conf for the frontend.

8.10.13. report resolv private

rocks report resolv private

Report for /etc/resolv.conf for private side nodes.

examples

$ rocks report resolv private

Outputs data for /etc/resolv.conf for compute nodes.

8.10.14. report script

rocks report script

Take STDIN XML input and create a shell script that can be executed on a host.

examples

$ rocks report host interface compute-0-0 | rocks report script

Take the network interface XML output from 'rocks report host interface' and create a shell script.

8.10.15. report tentakel

rocks report tentakel

Create a report that can be used to configure tentakel.

examples

$ rocks report tentakel

Create a tentakel configuration file.

8.10.16. report version

rocks report version

Output the version of Rocks.

examples

$ rocks report version

Output the current Rocks version.