azurebigcompute / bigcomputelabs Goto Github PK
View Code? Open in Web Editor NEWBig Compute Learning Labs
Big Compute Learning Labs
You need to install the batch cli extension before some of the commands will work
Correct syntax in storage account creation.
it returns this AttributeError when I ran this to create the pool :
az batch pool create --template pool-ffmpeg.json --account-name ****** --account-endpoint ******.westeurope.batch.azure.com
This package of the Batch Extensions module supports Azure Batch up to version 4.1. The current version 4.1.1 has not been tested for compatibility.
The behavior of this command has been altered by the following extension: azure-batch-cli-extensions
You are using an experimental feature {Pool Template}.
poolId (The pool id ): ffmpeg
nodeCount (The number of pool nodes): 2
You are using an experimental feature {Package Management}.
'function' object has no attribute 'metadata'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 344, in execute
cmd.exception_handler(ex)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/batch/_exception_handler.py", line 30, in batch_exception_handler
reraise(*sys.exc_info())
File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 319, in execute
result = cmd(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 180, in call
return super(AzCliCommand, self).call(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/knack/commands.py", line 109, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 420, in default_command_handler
result = op(**command_args)
File "/home/sa/.azure/cliextensions/azure-batch-cli-extensions/azext_batch/custom.py", line 110, in create_pool
client.pool.add(pool, add_option)
File "/opt/az/lib/python3.6/site-packages/azure/batch_extensions/operations/pool_operations.py", line 124, in add
return super(ExtendedPoolOperations, self).add(pool, pool_add_options, custom_headers, raw, **operation_config)
File "/opt/az/lib/python3.6/site-packages/azure/batch/operations/pool_operations.py", line 277, in add
url = self.add.metadata['url']
AttributeError: 'function' object has no attribute 'metadata'
what is the "Application ID" in step 4.2 Add Azure Credentials for cycleCloud ?
Thanks,
The following github
git clone [email protected]:Azure/cyclecloud-vFXT.git
is referenced in the Avere cyclecloud tutorial, Has this repository been moved or do I need to request access to it?
Thanks,
Cormac.
I think there may be a possible issue with the cyclecloud_install.py script that is called by deployment template.
I get the attached error when I try to deploy the template.
err.txt
The VM is provisioned (I can sign into it), but the execution of the cyclecloud_install.py script called by VMExtension section of the template fails. See the screenshot below for the error log output on the Linux VM.
That would be great to enhace the Cycle Cloud tutorial with the usage of these templates: https://github.com/hmeiland/cycleprojects
you may want refer the users using WIndows Bash to another solution: creating a config file with the proxy settings.
`
root@mymachine:/mnt/c/workspace/BigComputeLabs# cat ~/.ssh/config
Host ccjumpbox
HostName adminjb.westeurope.cloudapp.azure.com
User cycleadmin
ForwardAgent yes
Host ccserver
Hostname cycleserver
User cycleadmin
ProxyCommand ssh ccjumpbox -W %h:%p 2>/dev/null
`
and then ssh cycleserver -i ~/.ssh/id_rsa
wget http://sample-videos.com/video/mp4/720/big_buck_bunny_720p_30mb.mp4
--2018-01-23 20:44:06-- http://sample-videos.com/video/mp4/720/big_buck_bunny_720p_30mb.mp4
Resolving sample-videos.com (sample-videos.com)... failed: Name or service not known.
wget: unable to resolve host address ‘sample-videos.com’
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.