Azure-Samples/MyDriving

Machine Learning Contains no Workplace deploy1 fails

Netchicken opened this issue · 13 comments

Following the setup instructions, I added the Account Name and the Account Key. However there is no path to Container, the outdated pic shows truncated tripdata/tables/mlinput/*(

Here is a screenshot of what it should look like
pathtocontainermanual

Here is what I get. Note the empty field
pathtocontainer
om/SIcP2tC

did you import ML project or do you try to setup your own? (better to import it, there is no setup guide for ML experiment that covers whole setup)
paste tripdata/tables/mlinput/* in empty field, it's the path to data within storage

I have deleted and rerun the scripts, here is the problem area. The instructions say...
7. Now, go to the Azure classic portal, select the Machine Learning service and then the mydriving workspace.
8. Open the workspace by selecting Sign-in to ML Studio.

However there isn't any workspace shown, just the opportunity to create a new one. In the last build I did that, hoping voodoo would join it to our existing one, but it didn't.
nomachinelearningworkspace

The issue might be this below .
When running the script I just chose my account, Is there another way to activate it now I am 1/2 way through?

If I try to make an Azure management certificate what is the url?
It doesn't like below, (key) replaces code
$cert = New-SelfSignedCertificate -DnsName http://mydriving-(key).azurewebsites.net -CertStoreLocation "cert:\LocalMachine\My" $password = ConvertTo-SecureString -String "YourPassWord" -Force -AsPlainText Export-PfxCertificate -Cert $cert -FilePath ".\my-cert-file.pfx" -Password $password

Before the Machine Learning workspaces are imported, you'll be asked to provide the thumbprint of your Azure management certificate. Paste in the thumbprint and press [Enter] to continue. If you press [Enter] directly, the script will attempt to sign in using AAD. You can use the latter option if you are the owner of your subscription.

@Netchicken Did you follow all the manual setup instructions from https://github.com/Azure-Samples/MyDriving/tree/master/scripts ? These steps should be followed after you run the power shell script.

And for the ML import please use the thumbprint method as UserName/Password has not been working reliably for many users.

Well I created a thumbprint and added it to the deploy1.ps now I get errors that are simlar to others at

At C:\Users\Gary\Desktop\MyDriving2\MyDriving\scripts\PowerShell\deploy.ps1:147 char:16

  • ... ployment2 = New-AzureRmResourceGroupDeployment -Name "$DeploymentName ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
    • FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

With this Project MS marketing have made a wonderful site saying how great it is and easy to install, yet all I have seen so far is what a Headache Azure is to set up. Its a pity I have a class of students wanting to work on this project. We are all stopped by the Azure issues for the last 3 days.

I really want to teach these new technologies to my guys, but the documentation is so fragmented and issues so hard to resolve.

Did you try this workaround out? #506

Yep we created and uploaded the Management cert using that workaround and copied the thumbprint.

at the beginning you have this error:
Cannot find path 'C:\Users\ARM\scenario_complete.json' because it does not exist.
could you verify that you checked out whole project?

You were correct, in a move the ARM folders didn't go.
I have redownloaded and run the script again. This time, for the first time, it asked for my thumbprint. However now I get a new error, or series of errors saying files are not digitally signed.

C:\Users\Gary\Desktop\MyDriving3\MyDriving\scripts\PowerShell\scripts\setupStorage.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running
scripts and setting execution policy, see about_Execution

Was not meant to be closed! My mistake!

output.txt
scripts

OK fixed the permissions thing, now I get this, which is insane as its there and unchanged by me. Now at day 4 of trying to get this running. A lesser man would have given up by now :-)

My scripts C:\Users\Gary\Desktop\MyDriving3\MyDriving\scripts\PowerShell\scripts

Uploading hive scripts...
. : The term '.\scripts\Copy-ArtifactsToBlobStorage.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At C:\Users\Gary\Desktop\MyDriving3\MyDriving\scripts\PowerShell\deploy.ps1:125 char:3

  • . .\scripts\Copy-ArtifactsToBlobStorage.ps1 -StorageAccountName $depl ...
  • CategoryInfo : ObjectNotFound: (.\scripts\Copy-...BlobStorage.ps1:String) [], CommandNotFoundException
  • FullyQualifiedErrorId : CommandNotFoundException

How can I get an error like this? It creates a file, then can't find it again.
anothererror

I reinstalled the project and ran it again finally getting over the Machine Language issue.