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

az resource show does not populate linuxfxversion in function apps #15171

Closed
divyagandhisethi opened this issue Sep 15, 2020 · 7 comments
Closed
Assignees
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group feature-request Service Attention This issue is responsible by Azure service team.
Milestone

Comments

@divyagandhisethi
Copy link

divyagandhisethi commented Sep 15, 2020

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
This issue was found in Azure/azure-functions-nodejs-worker#283 (comment) . Linux function apps use linuxfxversion to specify what language version the app is running on. The issue is that linuxfxversion does not get populated in 'az resource show', although it is set in backend.

@ghost ghost added the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Sep 15, 2020
@yonzhan yonzhan added the ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group label Sep 16, 2020
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Sep 16, 2020
@yonzhan yonzhan added this to the S176 milestone Sep 16, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Sep 16, 2020

add to S176

@yonzhan yonzhan modified the milestones: S176, S177 Oct 1, 2020
@yonzhan yonzhan modified the milestones: S177, S178 Oct 24, 2020
@yonzhan yonzhan modified the milestones: S178, S179 Nov 14, 2020
@yonzhan yonzhan modified the milestones: S179, S180 Nov 28, 2020
@yonzhan yonzhan modified the milestones: S180, S181 Dec 25, 2020
@zhoxing-ms
Copy link
Contributor

@divyagandhii Could you please show me the specific parameters you used? please add --debug to the original command and email the printed information to me~
My email address is [email protected], thanks~

@divyagandhisethi
Copy link
Author

I have sent the email with command and the result.

@yonzhan yonzhan modified the milestones: S181, S182 Jan 16, 2021
@zhoxing-ms
Copy link
Contributor

This issue seems to be caused by the missing data returned by REST API when GET /subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{webapp-name}?api-version=2020-09-01 is requested.

The value of LinuxFxVersion returned in siteProperties is Node|12, but the value in siteConfig is null, this requires the service team to investigate if it's as expected.

{
...
    "properties":{
        ...
        "siteProperties": {
            ...
            "properties": [
                {
                    "name": "LinuxFxVersion", 
                    "value": "Node|12"
                }, 
                {
                    "name": "WindowsFxVersion", 
                    "value": null
                }
            ], 
            ...
        }
        ...
        "siteConfig": {
            ...
            "linuxFxVersion": null, 
            "windowsFxVersion": null
            ... 
        }
        ...
    }
...
}

correlation-id: efd70ac6-4895-4918-80ae-834803f771f0

@zhoxing-ms zhoxing-ms added the Service Attention This issue is responsible by Azure service team. label Jan 16, 2021
@ghost
Copy link

ghost commented Jan 16, 2021

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.

Issue Details

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
This issue was found in Azure/azure-functions-nodejs-worker#283 (comment) . Linux function apps use linuxfxversion to specify what language version the app is running on. The issue is that linuxfxversion does not get populated in 'az resource show', although it is set in backend.

Author: divyagandhii
Assignees: zhoxing-ms
Labels:

ARM, OKR3.2 Candidate, Service Attention, feature-request

Milestone: S182

@yonzhan yonzhan modified the milestones: S182, Backlog Jan 16, 2021
@pragnagopa
Copy link
Member

cc @gzuber @AnatoliB - as this is related to function apps

@divyagandhisethi
Copy link
Author

This issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group feature-request Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

6 participants