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

VMSS: exposing the requireGuestProvisionSignal field for 2019-03-01 #7246

Merged
merged 3 commits into from
Oct 14, 2019

Conversation

tombuildsstuff
Copy link
Contributor

Latest improvements:

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

Noticed this field was being sent across the wire but isn't in the Swagger:

{
	"name": "tom-dev3",
	"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tom-vmss-linux-dev/providers/Microsoft.Compute/virtualMachineScaleSets/tom-dev3",
	"type": "Microsoft.Compute/virtualMachineScaleSets",
	"location": "westeurope",
	"tags": {},
	"sku": {
		"name": "Standard_F2",
		"tier": "Standard",
		"capacity": 3
	},
	"properties": {
		"singlePlacementGroup": false,
		"upgradePolicy": {
			"mode": "Manual"
		},
		"virtualMachineProfile": {
			"osProfile": {
				"computerNamePrefix": "tomdev",
				"adminUsername": "tharvey",
				"linuxConfiguration": {
					"disablePasswordAuthentication": true,
					"ssh": {
						"publicKeys": [{
							"path": "/home/tharvey/.ssh/authorized_keys",
							"keyData": "XXXXX"
						}]
					},
					"provisionVMAgent": true
				},
				"secrets": [],
				"allowExtensionOperations": true,
				"requireGuestProvisionSignal": true
			},
			"storageProfile": {
				"osDisk": {
					"createOption": "FromImage",
					"caching": "ReadWrite",
					"writeAcceleratorEnabled": false,
					"managedDisk": {
						"storageAccountType": "Standard_LRS"
					}
				},
				"imageReference": {
					"publisher": "Canonical",
					"offer": "UbuntuServer",
					"sku": "16.04-LTS",
					"version": "latest"
				}
			},
			"networkProfile": {
				"networkInterfaceConfigurations": [{
					"name": "example",
					"properties": {
						"primary": true,
						"enableAcceleratedNetworking": false,
						"dnsSettings": {
							"dnsServers": []
						},
						"enableIPForwarding": false,
						"ipConfigurations": [{
							"name": "internal",
							"properties": {
								"primary": true,
								"subnet": {
									"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tom-vmss-linux-dev/providers/Microsoft.Network/virtualNetworks/tom-vmss-linux-vnet/subnets/internal"
								},
								"privateIPAddressVersion": "IPv4"
							}
						}]
					}
				}]
			},
			"priority": "Regular"
		},
		"provisioningState": "Failed",
		"overprovision": false,
		"doNotRunExtensionsOnOverprovisionedVMs": false,
		"uniqueId": "24e91467-72b2-4cd8-94b9-c225e363692a",
		"platformFaultDomainCount": 0
	}
}

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Sep 18, 2019

In Testing, Please Ignore

[Logs] (Generated from 69cac3e, Iteration 4)

Succeeded .NET: test-repo-billy/azure-sdk-for-net [Logs] [Diff]
Succeeded Python: test-repo-billy/azure-sdk-for-python [Logs] [Diff]
Failed Java: test-repo-billy/azure-sdk-for-java [Logs] [Diff]
  • Failed compute/resource-manager/v2017_03_30 [Logs]
  • Failed compute/resource-manager/v2017_09_01 [Logs]
  • Failed compute/resource-manager/v2017_12_01 [Logs]
  • Failed compute/resource-manager/v2018_04_01 [Logs]
Succeeded JavaScript: test-repo-billy/azure-sdk-for-js [Logs] [Diff]
In-Progress Go: test-repo-billy/azure-sdk-for-go [Logs] [Diff]
Succeeded Ruby: test-repo-billy/azure-sdk-for-ruby [Logs] [Diff]

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@AutorestCI
Copy link

AutorestCI commented Sep 18, 2019

Automation for azure-sdk-for-python

The initial PR has been merged into your service PR:
Azure/azure-sdk-for-python#7859

@AutorestCI
Copy link

AutorestCI commented Sep 18, 2019

Automation for azure-sdk-for-go

The initial PR has been merged into your service PR:
Azure/azure-sdk-for-go#6019

@yungezz yungezz added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Sep 19, 2019
@ravbhatnagar
Copy link
Contributor

Signing off frm ARM side. Since this property has existed on the service side in this api-version.

@ravbhatnagar ravbhatnagar added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Sep 24, 2019
@yungezz
Copy link
Member

yungezz commented Sep 25, 2019

hi @tombuildsstuff could you pls fix CI failure then the PR could be merged?
Here is error reference for Semantic and ModelValidation: https://github.com/Azure/adx-documentation-pr/wiki/Semantic-and-Model-Violations-Reference

@tombuildsstuff
Copy link
Contributor Author

@yungezz unfortunately that link returns a 404:

Screenshot 2019-09-25 at 10 03 40

@yungezz
Copy link
Member

yungezz commented Sep 25, 2019

@tombuildsstuff don't worry, we're trying to find a public place for the doc.

@tombuildsstuff
Copy link
Contributor Author

@yungezz all good - I've opened #7315 to see if that can be OSS'd

In the meantime, what's the best path to proceed with this?

@yungezz
Copy link
Member

yungezz commented Sep 25, 2019

offline version for reference.
Semantic and Model Violations Reference.zip

@yungezz
Copy link
Member

yungezz commented Oct 8, 2019

hi @tombuildsstuff any update on the PR?

@yungezz
Copy link
Member

yungezz commented Oct 11, 2019

HI @tombuildsstuff could you pls fix CI failure?

@raych1
Copy link
Member

raych1 commented Oct 14, 2019

@tombuildsstuff , compute.json is not a valid JSON which failed the CI checks. Please fix JSON then re-run the checks.


error: 

code: JSON_PARSE

message: The file is not a valid JSON file.

error:

  kind: structure

  code: unexpected token

  position:

    line: 6950

    column: 7

  token: '}'

  message: 'unexpected token, token: }, line: 6950, column: 7'

  url: >-


    /home/vsts/work/1/c93b354fd9c14905bb574a8834c4d69b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json

level: Error

@yungezz yungezz merged commit c88d4cc into Azure:master Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants