[JIRA] (JENKINS-59339) Required parameter 'hyperVGeneration' is missing (null)

20 views
Skip to first unread message

medianick@gmail.com (JIRA)

unread,
Sep 12, 2019, 4:37:04 PM9/12/19
to jenkinsc...@googlegroups.com
Nick Jones created an issue
 
Jenkins / Bug JENKINS-59339
Required parameter 'hyperVGeneration' is missing (null)
Issue Type: Bug Bug
Assignee: Azure DevOps
Components: azure-vm-agents-plugin
Created: 2019-09-12 20:36
Environment: Azure VM Agents 1.2.1
Priority: Blocker Blocker
Reporter: Nick Jones

Sometime between July 12th – our last successful Azure VM agent for Jenkins – and September 12th, the deployments of new agents from Jenkins stopped working. I upgraded to 1.2.1 today and tested it, and the deployment failed with the following error:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"BadRequest","message":"{\r\n \"error\": {\r\n \"code\": \"InvalidParameter\",\r\n \"message\": \"Required parameter 'hyperVGeneration' is missing (null).\",\r\n \"target\": \"hyperVGeneration\"\r\n }\r\n}"}]}

I tried downgrading to 1.2.0 in case that was the issue, but it has the same issue – suggesting that this is a new requirement on the Azure side that the Azure VM Agents plugin is not handling.

This entirely blocks the usage of Azure agents, so we have no workaround but to use permanent agents or alternate clouds.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jieshe@microsoft.com (JIRA)

unread,
Sep 15, 2019, 9:49:02 PM9/15/19
to jenkinsc...@googlegroups.com
Jie Shen assigned an issue to Jie Shen
Change By: Jie Shen
Assignee: Azure DevOps Jie Shen

jieshe@microsoft.com (JIRA)

unread,
Sep 15, 2019, 10:48:03 PM9/15/19
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-59339
 
Re: Required parameter 'hyperVGeneration' is missing (null)

It is a little wired here. I have successfully provisioned some agents with the newest version. 

For the error message here, the hyperVGeneration is not required according to the documentation https://docs.microsoft.com/en-us/azure/templates/microsoft.compute/2019-03-01/images#imageproperties-object .

jieshe@microsoft.com (JIRA)

unread,
Sep 15, 2019, 10:51:02 PM9/15/19
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-59339

To mitigate this issue, I think I just need to add the hyperVGeneration parameter in the arm template. But I cannot find more information about the difference between "V1" and "V2" for hyperVGeneration.

 

Another option here is following this PR https://github.com/Azure/azure-sdk-for-python/pull/4931 to revert the images to previous API version.

jieshe@microsoft.com (JIRA)

unread,
Sep 15, 2019, 10:53:04 PM9/15/19
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-59339

Nick Jones Indeed you can manually install any version of a plugin. You just need to download the official hpi package from https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ . And unpack it to the right place at $JENIINS_HOME/plugins.

jieshe@microsoft.com (JIRA)

unread,
Sep 15, 2019, 10:53:04 PM9/15/19
to jenkinsc...@googlegroups.com
Jie Shen edited a comment on Bug JENKINS-59339
[~medianick] Indeed you can manually install any version of a plugin. You just need to download the official hpi package from [https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/] . And unpack it to the right place at $JENIINS_HOME/plugins. Then restart the Jenkins server.

jieshe@microsoft.com (JIRA)

unread,
Sep 18, 2019, 3:15:03 AM9/18/19
to jenkinsc...@googlegroups.com
Jie Shen resolved as Fixed
 
Change By: Jie Shen
Status: Open Resolved
Resolution: Fixed
Released As: 1.2.2

medianick@gmail.com (JIRA)

unread,
Sep 18, 2019, 11:30:02 AM9/18/19
to jenkinsc...@googlegroups.com
Nick Jones closed an issue as Fixed
Change By: Nick Jones
Status: Resolved Closed

medianick@gmail.com (JIRA)

unread,
Sep 18, 2019, 11:30:03 AM9/18/19
to jenkinsc...@googlegroups.com
Nick Jones commented on Bug JENKINS-59339
 
Re: Required parameter 'hyperVGeneration' is missing (null)

I confirm that 1.2.2 fixes the issue. Thanks!

Reply all
Reply to author
Forward
0 new messages