Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU module error on submission #1102

Closed
poundbangbash opened this issue Jul 3, 2018 · 1 comment
Closed

GPU module error on submission #1102

poundbangbash opened this issue Jul 3, 2018 · 1 comment

Comments

@poundbangbash
Copy link
Contributor

poundbangbash commented Jul 3, 2018

After upgrading to MR 3.2.0, during postflight I get the following:

Server An error occurred while processing: \Gpu_model
Server Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'metal_supported' in 'field list'
Server info: starting: gpu

I haven't tracked down the issue yet but here is what I know:

The data in /usr/local/munki/preflight.d/gpuinfo.plist has an entry of

		<key>metal_supported</key>
		<integer>3</integer>

The database column in gpu is named metal

The gpu_model.php constructs $this->rs['metal_supported'] = 0;

In the process function there is a metal reference:

		$typeList = array(
			'model' => '',
			'vendor' => '',
			'vram' => '',
			'pcie_width' => '',
			'slot_name' => '',
			'device_id' => '',
			'gmux_version' => '',
			'efi_version' => '',
			'revision_id' => '',
			'rom_revision' => '',
			'metal' => '',
		);
tuxudo added a commit to tuxudo/munkireport-php that referenced this issue Jul 3, 2018
tuxudo added a commit to tuxudo/munkireport-php that referenced this issue Jul 3, 2018
tuxudo added a commit to tuxudo/munkireport-php that referenced this issue Jul 3, 2018
bochoven pushed a commit that referenced this issue Jul 4, 2018
* Fix for issue #1102

* Fix for issue #1102
@poundbangbash
Copy link
Contributor Author

Fixed in WIP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant