Git Product home page Git Product logo

azure-samples / ai-video-intelligence-solution-accelerator Goto Github PK

View Code? Open in Web Editor NEW
25.0 18.0 11.0 8.25 MB

The AI Video Intelligence Solution Accelerator enables developers to deploy an end-to-end IoT Edge, including Azure Data Box Edge, based solution that processes camera feeds using CPU, GPU, and FPGA Azure Machine Learning accelerated models.

License: MIT License

C# 72.90% Batchfile 2.83% Shell 5.28% TypeScript 1.46% JavaScript 14.98% Dockerfile 0.07% HTML 0.05% Smarty 0.20% CSS 2.23%

ai-video-intelligence-solution-accelerator's Issues

Error deploy-pcs.cmd

summary

I tried to use the deploy-pcs.cmd command in the following docs, but I got error message
https://github.com/Azure-Samples/AI-Video-Intelligence-Solution-Accelerator

"code": "InvalidTemplateDeployment",
"message": "The template deployment failed because of policy violation. Please see details for more information.",

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

"Deploy the AI Video Intelligence Solution Accelerator" in https://github.com/Azure-Samples/AI-Video-Intelligence-Solution-Accelerator
1.Clone the AI Video Intelligence Solution Accelerator (this repo).
2.From a command prompt:
navigate to AI-Video-Intelligence-Solution-Accelerator/pcs/cli
deploy-pcs.cmd (you will be prompted for your subscription credentials)
3. got error message.

Any log messages given by the failure

Deployment validation failed:
{
"code": "InvalidTemplateDeployment",
"message": "The template deployment failed because of policy violation. Please see details for more information.",

Expected/desired behavior

success the command

OS and Version?

Windows 10

Versions

Mention any other details that might be useful

detail log

AI-Video-Intelligence-Solution-Accelerator\pcs\cli>deploy-pcs.cmd

AI-Video-Intelligence-Solution-Accelerator\pcs\cli>call npm uninstall -g iot-solutions
up to date in 0.035s

[email protected] postinstall AI-Video-Intelligence-Solution-Accelerator\pcs\cli\node_modules\jsonpath
node lib/aesprim.js > generated/aesprim-browser.js

[email protected] install AI-Video-Intelligence-Solution-Accelerator\pcs\cli\node_modules\websocket
(node-gyp rebuild 2> builderror.log) || (exit 0)

AI-Video-Intelligence-Solution-Accelerator\pcs\cli\node_modules\websocket>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
added 696 packages in 20.857s

[email protected] start AI-Video-Intelligence-Solution-Accelerator\pcs\cli
npm run build && npm test && npm run copy

[email protected] build AI-Video-Intelligence-Solution-Accelerator\pcs\cli
tsc -p tsconfig.json

[email protected] pretest AI-Video-Intelligence-Solution-Accelerator\pcs\cli
npm run lint

[email protected] lint AI-Video-Intelligence-Solution-Accelerator\pcs\cli
tslint -c tslint.json --type-check -p tsconfig.json 'src/**/*.{ts,tsx}'

[email protected] test AI-Video-Intelligence-Solution-Accelerator\pcs\cli
jest

PASS src\deployui.spec.ts
sample test for setting up jest
√ null check for deployUI (4ms)

Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 4.775s
Ran all test suites.

[email protected] copy AI-Video-Intelligence-Solution-Accelerator\pcs\cli
copyfiles ./solutions/**/. ./publish/

audited 704 packages in 5.7s
found 757 vulnerabilities (354 low, 79 moderate, 322 high, 2 critical)
run npm audit fix to fix them, or npm audit for details
AppData\Roaming\npm\pcs -> AppData\Roaming\npm\node_modules\iot-solutions\publish\index.js
AppData\Roaming\npm\node_modules\iot-solutions -> AI-Video-Intelligence-Solution-Accelerator\pcs\cli
(node:9584) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:9584) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:9584) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code H86Z96YJD to authenticate.
Successfully logged in
(node:21420) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:21420) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:21420) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
? Enter a solution name: **********
? Select a subscription: **********
? Select a location: West US
? Enter prefix for .azurewebsites.net: **********
? Enter a user name for the virtual machine: **********
? Enter a password for the virtual machine: ************
? Confirm your password: ************
✓ Application registered: https://portal.azure.com/microsoft.onmicrosoft.com#blade/Microsoft_AAD_IAM/ApplicationBlade/ob✓ Created resource group: https://portal.azure.com/microsoft.onmicrosoft.com#resource/subscriptions/********✕ Deployment validation failed:
{
"code": "InvalidTemplateDeployment",
"message": "The template deployment failed because of policy violation. Please see details for more information.",
"details": [
{
"code": "RequestDisallowedByPolicy",
"message": "Resource '-nsg' was disallowed by policy. Policy identifiers: '[{"policyAssignment":{"name":"CASG-DenyNSGRule100Allow","id":"/providers/Microsoft.Management/managementGroups/627fb097-52f2-4300-a739-4d20dd33fdd8/providers/Microsoft.Authorization/policyAssignments/CASG-DenyNSGRule100Allow"},"policyDefinition":{"name":"CASG-DenyNSGRule100Allow","id":"/providers/Microsoft.Management/managementGroups/627fb097-52f2-4300-a739-4d20dd33fdd✕ Error: {"code":"InvalidTemplateDeployment","message":"The template deployment failed because of policy violation. Please see details for more information.","details":[{"code":"RequestDisallowedByPolicy","message":"Resource '-nsg' was disallowed by policy. Policy identifiers: '[{"policyAssignment":{"name":"CASG-DenyNSGRule100Allow","id":"/providers/Microsoft.Management/managementGroups/627fb097-52f2-4300-a739-4d20dd33fdd8/providers/Microsoft.Authorization/policyAssignments/CASG-DenyNSGRule100Allow"},"policyDefinition":{"name":"CASG-DenyNSGRule100Allow","id":"/providers/Microsoft.Management/managementGroups/627fb097-52f2-4300-a739-4d20dd33fdd8/providers/Microsoft.Authorization/policyDefinitions/CASG-DenyNSGRule100Allow"}}]'.","target":"******-nsg"}]}

ASK

AVA is still preview, so I think it may not be maintained, but is there any way to use the command?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.