cyclecloud_arm's People
cyclecloud_arm's Issues
Attached Data disks is not initialized
The 128GB attached data disks is not initialized, thus not used
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 30G 2.6G 27G 9% /
devtmpfs 6.9G 0 6.9G 0% /dev
tmpfs 6.9G 0 6.9G 0% /dev/shm
tmpfs 6.9G 8.3M 6.9G 1% /run
tmpfs 6.9G 0 6.9G 0% /sys/fs/cgroup
/dev/sda1 497M 62M 436M 13% /boot
/dev/sdb1 197G 61M 187G 1% /mnt/resource
tmpfs 1.4G 0 1.4G 0% /run/user/1000
$ sudo fdisk -l
Disk /dev/sdc: 137.4 GB, 137438953472 bytes, 268435456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdb: 214.7 GB, 214748364800 bytes, 419430400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0xe2e4a35d
Device Boot Start End Blocks Id System
/dev/sdb1 2048 419428351 209713152 83 Linux
Disk /dev/sda: 32.2 GB, 32214351872 bytes, 62918656 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000a41c5
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 62914559 30944256 83 Linux
Incorrect way to determine home directory of user is used
cyclecloud_arm/cyclecloud_install.py
Line 38 in 4647d2e
See GETPWENT(3)
Deploy Failed in Azure Portal (wrong keys?)
Tried deploy via the button but it failed - I think this is the key part:
https://packages.microsoft.com/keys/microsoft.asc\\n\\n\\n[stderr]\\nwarning: /var/cache/yum/x86_64/7/azure-cli/packages/azure-cli-2.0.66-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 513b22cc: NOKEY\\n\\n\\nThe GPG keys listed for the \\\"Azure CLI\\\" repository are already installed but they are not correct for this package.\\nCheck that the correct key URLs are configured for this repository.\\n\\n\\n Failing package is: azure-cli-2.0.66-1.el7.x86_64\\n
Doesn't appear to be the same issue as #5.
Entire raw log follows:
{ "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.", "details": [ { "code": "Conflict", "message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'InstallCycle'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=1\\n[stdout]\\nthon2-virtualenv for package: azure-cli-2.0.66-1.el7.x86_64\\n--> Running transaction check\\n---> Package python-virtualenv.noarch 0:15.1.0-2.el7 will be installed\\n--> Processing Dependency: python2-devel for package: python-virtualenv-15.1.0-2.el7.noarch\\n--> Processing Dependency: python-setuptools for package: python-virtualenv-15.1.0-2.el7.noarch\\n--> Running transaction check\\n---> Package python-devel.x86_64 0:2.7.5-77.el7_6 will be installed\\n--> Processing Dependency: python(x86-64) = 2.7.5-77.el7_6 for package: python-devel-2.7.5-77.el7_6.x86_64\\n---> Package python-setuptools.noarch 0:0.9.8-7.el7 will be installed\\n--> Processing Dependency: python-backports-ssl_match_hostname for package: python-setuptools-0.9.8-7.el7.noarch\\n--> Running transaction check\\n---> Package python.x86_64 0:2.7.5-48.el7 will be updated\\n---> Package python.x86_64 0:2.7.5-77.el7_6 will be an update\\n--> Processing Dependency: python-libs(x86-64) = 2.7.5-77.el7_6 for package: python-2.7.5-77.el7_6.x86_64\\n---> Package python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 will be installed\\n--> Processing Dependency: python-ipaddress for package: python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch\\n--> Processing Dependency: python-backports for package: python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch\\n--> Running transaction check\\n---> Package python-backports.x86_64 0:1.0-8.el7 will be installed\\n---> Package python-ipaddress.noarch 0:1.0.16-2.el7 will be installed\\n---> Package python-libs.x86_64 0:2.7.5-48.el7 will be updated\\n---> Package python-libs.x86_64 0:2.7.5-77.el7_6 will be an update\\n--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: python-libs-2.7.5-77.el7_6.x86_64\\n--> Running transaction check\\n---> Package openssl-libs.x86_64 1:1.0.1e-60.el7_3.1 will be updated\\n--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.1e-60.el7_3.1 for package: 1:openssl-1.0.1e-60.el7_3.1.x86_64\\n---> Package openssl-libs.x86_64 1:1.0.2k-16.el7_6.1 will be an update\\n--> Running transaction check\\n---> Package openssl.x86_64 1:1.0.1e-60.el7_3.1 will be updated\\n---> Package openssl.x86_64 1:1.0.2k-16.el7_6.1 will be an update\\n--> Finished Dependency Resolution\\n\\nDependencies Resolved\\n\\n================================================================================\\n Package Arch Version Repository\\n Size\\n================================================================================\\nInstalling:\\n azure-cli x86_64 2.0.66-1.el7 azure-cli 30 M\\nInstalling for dependencies:\\n python-backports x86_64 1.0-8.el7 base 5.8 k\\n python-backports-ssl_match_hostname noarch 3.5.0.1-1.el7 base 13 k\\n python-devel x86_64 2.7.5-77.el7_6 updates 398 k\\n python-ipaddress noarch 1.0.16-2.el7 base 34 k\\n python-setuptools noarch 0.9.8-7.el7 base 397 k\\n python-virtualenv noarch 15.1.0-2.el7 base 1.7 M\\nUpdating for dependencies:\\n openssl x86_64 1:1.0.2k-16.el7_6.1 updates 493 k\\n openssl-libs x86_64 1:1.0.2k-16.el7_6.1 updates 1.2 M\\n python x86_64 2.7.5-77.el7_6 updates 94 k\\n python-libs x86_64 2.7.5-77.el7_6 updates 5.6 M\\n\\nTransaction Summary\\n================================================================================\\nInstall 1 Package (+6 Dependent packages)\\nUpgrade ( 4 Dependent packages)\\n\\nTotal download size: 40 M\\nDownloading packages:\\nDelta RPMs disabled because /usr/bin/applydeltarpm not installed.\\nPublic key for azure-cli-2.0.66-1.el7.x86_64.rpm is not installed\\n--------------------------------------------------------------------------------\\nTotal 51 MB/s | 40 MB 00:00 \\nRetrieving key from https://packages.microsoft.com/keys/microsoft.asc\\n\\n\\n[stderr]\\nwarning: /var/cache/yum/x86_64/7/azure-cli/packages/azure-cli-2.0.66-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 513b22cc: NOKEY\\n\\n\\nThe GPG keys listed for the \\\"Azure CLI\\\" repository are already installed but they are not correct for this package.\\nCheck that the correct key URLs are configured for this repository.\\n\\n\\n Failing package is: azure-cli-2.0.66-1.el7.x86_64\\n GPG Keys are configured as: https://packages.microsoft.com/keys/microsoft.asc\\n\\nTraceback (most recent call last):\\n File \\\"cyclecloud_install.py\\\", line 395, in <module>\\n main()\\n File \\\"cyclecloud_install.py\\\", line 380, in main\\n install_pre_req()\\n File \\\"cyclecloud_install.py\\\", line 322, in install_pre_req\\n _catch_sys_error([\\\"yum\\\", \\\"install\\\", \\\"-y\\\", \\\"azure-cli\\\"])\\n File \\\"cyclecloud_install.py\\\", line 29, in _catch_sys_error\\n output = check_output(cmd_list)\\n File \\\"/usr/lib64/python2.7/subprocess.py\\\", line 575, in check_output\\n raise CalledProcessError(retcode, cmd, output=output)\\nsubprocess.CalledProcessError: Command '['yum', 'install', '-y', 'azure-cli']' returned non-zero exit status 1\\n\\\".\"\r\n }\r\n ]\r\n }\r\n}" } ] }
Unnecessary backslash
cyclecloud_arm/cyclecloud_install.py
Line 195 in 4647d2e
$ python2
Python 2.7.10 (default, Feb 22 2019, 21:55:15)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 'update Application.Setting set Value = false where name ==\"cycleserver.installation.complete\"'
'update Application.Setting set Value = false where name =="cycleserver.installation.complete"'
>>> 'update Application.Setting set Value = false where name =="cycleserver.installation.complete"'
'update Application.Setting set Value = false where name =="cycleserver.installation.complete"'
Nodes don't set themselves to drain when autostopping
Before nodes call jetpack --shutdown
they should set themselves to drain. New nodes should also mark themselves as available in case older nodes set the drain status automatically.
Cannot select subnet
I've got an Azure Cyclecloud install done from the Azure Store (not using the button on the gitlab readme). It installed OK but then when creating a cluster (of any type) the GUI won't let me pick a subnet:
the dropdown has nothing populated and if I enter the subnet name manually it complains its not valid.
Consider cli_install_dir.startswith("cyclecloud-cli-installer")
cyclecloud_arm/cyclecloud_install.py
Line 299 in 4647d2e
(instead of re.match("cyclecloud-cli-installer", cli_install_dir)
)
Duplicate code
cyclecloud_arm/cyclecloud_install.py
Lines 158 to 165 in 4647d2e
Same as (except for variable name)
cyclecloud_arm/cyclecloud_install.py
Lines 180 to 187 in 4647d2e
7.5.1 never finishes deploying cluster.
Cluster never finishes with an error at Cloud.AwaitInstallation in PhaseMap when latest vesion of CycleCloud is chosen, assuming this is version 7.5.1. 7.5.0 has no issue deploying cluster.
pogo.exceptions.FrameworkError: Unable to determine AccessKey for url!
Hi.
I tried to deploy slurm-cluster via azure-cyclecloud. However, I am faced with the following error pogo.exceptions.FrameworkError: Unable to determine AccessKey for url!
.
thank.
letsEncrypt() - Inconsistent naming
cyclecloud_arm/cyclecloud_install.py
Line 384 in 4647d2e
letsEncrypt
is the only function which does not follow snake_case convention
Update for Cycle Cloud 8.1 / CentOS 8.2
The latest releases of Cycle Cloud still attempt to install version 7.x when using the arm template/python script. I prefer this method over the Marketplace image. Is it possible to update the code for the latest release?
Useless assignment to cyclecloud_admin_pw
cyclecloud_arm/cyclecloud_install.py
Line 69 in 4647d2e
The value is never used, the variable is assigned a new value anyway just few lines below
Installation/Deployment fails because pip "cannot uninstall 'ipaddress'
Hello,
I've tried deploying Cycle cluster with versions 7.7.4 and 7.7.3 as well as "latest". Installation fails for all these with identical error: pip
"cannot uninstall 'ipaddress'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall
See below for full stack trace:
Most recent version fails:
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'InstallCycle'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=1\\n[stdout]\\n (57kB)\\nCollecting paramiko==2.4.1 (from cyclecloud-cli==0.0.0)\\n Downloading https://files.pythonhosted.org/packages/3e/db/cb7b6656e0e7387637ce850689084dc0b94b44df31cc52e5fc5c2c4fd2c1/paramiko-2.4.1-py2.py3-none-any.whl (194kB)\\nCollecting rsa==3.4.2 (from cyclecloud-cli==0.0.0)\\n Downloading https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl (46kB)\\nCollecting google_api_python_client==1.4.2 (from cyclecloud-cli==0.0.0)\\n Downloading https://files.pythonhosted.org/packages/19/51/3c0e5004932754b51de2004503355b8b18dc65932fb2052c569a74d7c113/google_api_python_client-1.4.2-py2.py3-none-any.whl (48kB)\\nCollecting httplib2==0.10.3 (from cyclecloud-cli==0.0.0)\\n Downloading https://files.pythonhosted.org/packages/e4/2e/a7e27d2c36076efeb8c0e519758968b20389adf57a9ce3af139891af2696/httplib2-0.10.3.tar.gz (204kB)\\nCollecting idna==2.6 (from cyclecloud-cli==0.0.0)\\n Downloading https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl (56kB)\\nCollecting amqp==1.4.9 (from cyclecloud-cli==0.0.0)\\n Downloading https://files.pythonhosted.org/packages/ed/09/314d2788aba0aa91f2578071a6484f87a615172a98c309c2aad3433da90b/amqp-1.4.9-py2.py3-none-any.whl (51kB)\\nCollecting pyasn1==0.4.2 (from cyclecloud-cli==0.0.0)\\n Downloading https://files.pythonhosted.org/packages/ba/fe/02e3e2ee243966b143657fb8bd6bc97595841163b6d8c26820944acaec4d/pyasn1-0.4.2-py2.py3-none-any.whl (71kB)\\nBuilding wheels for collected packages: cyclecloud-cli, tryme, terminaltables, pycparser, anyjson, ipaddress, oauth2client, httplib2\\n Building wheel for cyclecloud-cli (setup.py): started\\n Building wheel for cyclecloud-cli (setup.py): finished with status 'done'\\n Stored in directory: /root/.cache/pip/wheels/f8/93/2c/837b7b336ed85ee1225c3e2ceb901819a9f6b141599a832900\\n Building wheel for tryme (setup.py): started\\n Building wheel for tryme (setup.py): finished with status 'done'\\n Stored in directory: /root/.cache/pip/wheels/ad/19/26/14290fda49000342e7e911d63515845f98157da9f4cea17613\\n Building wheel for terminaltables (setup.py): started\\n Building wheel for terminaltables (setup.py): finished with status 'done'\\n Stored in directory: /root/.cache/pip/wheels/30/6b/50/6c75775b681fb36cdfac7f19799888ef9d8813aff9e379663e\\n Building wheel for pycparser (setup.py): started\\n Building wheel for pycparser (setup.py): finished with status 'done'\\n Stored in directory: /root/.cache/pip/wheels/c0/a1/27/5ba234bd77ea5a290cbf6d675259ec52293193467a12ef1f46\\n Building wheel for anyjson (setup.py): started\\n Building wheel for anyjson (setup.py): finished with status 'done'\\n Stored in directory: /root/.cache/pip/wheels/0a/07/b1/a704fb6e43ef7b61969239c9fce608d52c3cc85d5eb6cd3891\\n Building wheel for ipaddress (setup.py): started\\n Building wheel for ipaddress (setup.py): finished with status 'done'\\n Stored in directory: /root/.cache/pip/wheels/4f/fe/3e/a310b86575d8d3ce870a9c04a00a91df3c041d3e70529b4361\\n Building wheel for oauth2client (setup.py): started\\n Building wheel for oauth2client (setup.py): finished with status 'done'\\n Stored in directory: /root/.cache/pip/wheels/7a/0b/de/3f8e939ae5f46f030eee5a16bd2dafde9e1e49ea1480b2f983\\n Building wheel for httplib2 (setup.py): started\\n Building wheel for httplib2 (setup.py): finished with status 'done'\\n Stored in directory: /root/.cache/pip/wheels/d6/f4/9c/f4eab4c19c0bde393b00a1f83afe12cc469852ff3810cd6f6d\\nSuccessfully built cyclecloud-cli tryme terminaltables pycparser anyjson ipaddress oauth2client httplib2\\nInstalling collected packages: requests, idna, pycparser, cffi, enum34, six, asn1crypto, ipaddress, cryptography, tryme, terminaltables, pyOpenSSL, anyjson, click, certifi, httplib2, pyasn1, pyasn1-modules, rsa, oauth2client, uritemplate, PyNaCl, amqp, kombu, bcrypt, paramiko, google-api-python-client, cyclecloud-cli\\n Found existing installation: six 1.9.0\\n Uninstalling six-1.9.0:\\n Successfully uninstalled six-1.9.0\\n Found existing installation: ipaddress 1.0.16\\n\\n\\n[stderr]\\nDEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\\nDEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\\nERROR: Cannot uninstall 'ipaddress'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.\\nTraceback (most recent call last):\\n File \\\"cyclecloud_install.py\\\", line 395, in <module>\\n main()\\n File \\\"cyclecloud_install.py\\\", line 381, in main\\n download_install_cc(args.downloadURL, args.cyclecloudVersion)\\n File \\\"cyclecloud_install.py\\\", line 304, in download_install_cc\\n _catch_sys_error([\\\"pip\\\", \\\"install\\\", \\\"cyclecloud-cli-sdist.tar.gz\\\"])\\n File \\\"cyclecloud_install.py\\\", line 29, in _catch_sys_error\\n output = check_output(cmd_list)\\n File \\\"/usr/lib64/python2.7/subprocess.py\\\", line 575, in check_output\\n raise CalledProcessError(retcode, cmd, output=output)\\nsubprocess.CalledProcessError: Command '['pip', 'install', 'cyclecloud-cli-sdist.tar.gz']' returned non-zero exit status 1\\n\\\".\"\r\n }\r\n ]\r\n }\r\n}"}]}
Thanks,
Andreas
cyclecloud_install.py is not working - Package azure-cli-2.0.52-1.el7.x86_64.rpm is not signed
The cyclecloud_install.py file is not working anymore.
because of "Package azure-cli-2.0.52-1.el7.x86_64.rpm is not signed".
I have the issue with cyclecloud versions "lastest", "7.6.0", "7.5.5"....
The last time I deployed Cyclecloud was 3 or 4 weeks ago. Was working fine with "latest" and "7.5.5"
Best regards,
Daniel
Error with cmd: ['yum', 'install', '-y', 'azure-cli']
Output: Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package azure-cli.x86_64 0:2.0.52-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
Installing:
azure-cli x86_64 2.0.52-1.el7 azure-cli 25 M
Transaction Summary
Install 1 Package
Total download size: 25 M
Installed size: 173 M
Downloading packages:
Package azure-cli-2.0.52-1.el7.x86_64.rpm is not signed
[stderr]
Package azure-cli-2.0.52-1.el7.x86_64.rpm is not signed
Traceback (most recent call last):
File "cyclecloud_install.py", line 369, in
main()
File "cyclecloud_install.py", line 354, in main
install_pre_req()
File "cyclecloud_install.py", line 300, in install_pre_req
_catch_sys_error(["yum", "install", "-y", "azure-cli"])
File "cyclecloud_install.py", line 29, in _catch_sys_error
output = check_output(cmd_list)
File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['yum', 'install', '-y', 'azure-cli']' returned non-zero exit status 1
".;
DEBUG: Finish sending metric.
DEBUG: 11:08:44 PM - NewAzureResourceGroupDeploymentCmdlet end processing.
DEBUG: 11:08:44 PM - NewAzureResourceGroupDeploymentCmdlet end processing.
Deploy Failed in Azure Portal
I tried to deploy Cycle Cloud, but failed with the following message. Sorry it includes Japanese.
Any workaround on this ?
{"code":"DeploymentFailed","message":"少なくとも 1 つのリソース デプロイ操作に失敗しました。詳細については、デプロイ操作の一覧を表示してください。使用方法の詳細については、https://aka.ms/arm-debug を参照してください。","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "リソース操作が完了し、ターミナル プロビジョニング状態は 'Failed' です。",\r\n "details": [\r\n {\r\n "code": "VMExtensionProvisioningError",\r\n "message": "拡張機能 'InstallCycle' を処理しているときに、VM がエラーを報告しました。エラー メッセージ: \"Enable failed: failed to execute command: command terminated with exit status=1\n[stdout]\nlient==1.4.2 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (1.4.2)\nRequirement already satisfied: httplib2==0.10.3 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (0.10.3)\nRequirement already satisfied: kombu==3.0.32 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (3.0.32)\nRequirement already satisfied: oauth2client==1.5.2 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (1.5.2)\nRequirement already satisfied: paramiko==2.4.1 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (2.4.1)\nRequirement already satisfied: pyOpenSSL==17.2.0 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (17.2.0)\nRequirement already satisfied: requests==2.5.1 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (2.5.1)\nRequirement already satisfied: PyNaCl==1.2.1 in /usr/lib64/python2.7/site-packages (from pogo==7.6.1) (1.2.1)\nRequirement already satisfied: amqp==1.4.9 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (1.4.9)\nRequirement already satisfied: anyjson==0.3.3 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (0.3.3)\nRequirement already satisfied: asn1crypto==0.24.0 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (0.24.0)\nRequirement already satisfied: bcrypt==3.1.4 in /usr/lib64/python2.7/site-packages (from pogo==7.6.1) (3.1.4)\nRequirement already satisfied: cffi==1.10.0 in /usr/lib64/python2.7/site-packages (from pogo==7.6.1) (1.10.0)\nRequirement already satisfied: enum34==1.1.6 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (1.1.6)\nRequirement already satisfied: idna==2.6 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (2.6)\nRequirement already satisfied: ipaddress==1.0.19 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (1.0.19)\nRequirement already satisfied: pyasn1==0.4.2 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (0.4.2)\nRequirement already satisfied: pyasn1_modules==0.2.1 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (0.2.1)\nRequirement already satisfied: pycparser==2.18 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (2.18)\nRequirement already satisfied: rsa==3.4.2 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (3.4.2)\nRequirement already satisfied: six==1.11.0 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (1.11.0)\nRequirement already satisfied: uritemplate==3.0.0 in /usr/lib/python2.7/site-packages (from pogo==7.6.1) (3.0.0)\nBuilding wheels for collected packages: pogo\n Building wheel for pogo (setup.py): started\n Building wheel for pogo (setup.py): finished with status 'done'\n Stored in directory: /root/.cache/pip/wheels/a1/8b/97/247983fb3c05bacc6823354d418dfeff9b51ed9ad42c75cec4\nSuccessfully built pogo\nInstalling collected packages: pogo\nSuccessfully installed pogo-7.6.1\n\nInstalling Azure CycleCloud server\n['cycle_server/install.sh', '--nostart']\nInstalling to /opt/cycle_server...\nSkipping startup because --nostart was specified.\n\nEditing CycleCloud server system properties file\n['chown', '-R', 'cycle_server.', '/opt/cycle_server']\n\nStarting CycleCloud server\n['/opt/cycle_server/cycle_server', 'start']\nUpdating configuration...\nConfiguration updated.\nStarted broker\nStarted webserver\n\nCycleServer is installed. Please browse to http://cyclecloud:8080 to complete the installation.\n\n['/opt/cycle_server/cycle_server', 'await_startup']\n\n['/opt/cycle_server/cycle_server', 'status']\nCycleServer status:\n broker: running\n web server: running\n\nFetching metadata\n['/opt/cycle_server/cycle_server', 'keystore', 'automatic', '--accept-terms', 'cyclecloud4gepz3.japaneast.cloudapp.azure.com']\n\nSetting up azure account in CycleCloud and initializing cyclecloud CLI\nInitializing cylcecloud CLI\n['/usr/bin/cyclecloud', 'initialize', '--loglevel=debug', '--batch', '--url=https://localhost', '--verify-ssl=false', '--username=root', '--password=CoPR5sletpC5Ti1wt5KVPLkgSI123lDBWMp3a2PN9nYRupLvne']\nWelcome to CycleCloud!\nCycleCloud configuration stored in /root/.cycle/config.ini\n\nRegistering Azure subscription\nError with cmd: ['/usr/bin/cyclecloud', 'account', 'create', '-f', '/tmp/tmpaNz8LQ/azure_data.json']\nOutput: \n\n[stderr]\nDEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\nDEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\nDEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\nAwaiting webserver ready................. ready.\nINFO:cyclecli:Set log level to: DEBUG\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): localhost\n/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:734: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html\n InsecureRequestWarning)\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /ads/component?format=text HTTP/1.1\" 200 None\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): localhost\nDEBUG:requests.packages.urllib3.connectionpool:\"POST /exec/view?input_format=json&format=json HTTP/1.1\" 200 None\nDEBUG:cyclecli.config_manager:Created new configuration default at /root/.cycle/configurations/default\nDEBUG:cyclecli.config_manager:Making default the current configuration\nDEBUG:cyclecli.config_manager:deleting original source file at /root/.cycle/configurations/default\n**** Error: FailedAcquireAccessToken - Failed to acquire access token with supplied credentials.\nTraceback (most recent call last):\n File \"cyclecloud_install.py\", line 382, in \n main()\n File \"cyclecloud_install.py\", line 376, in main\n args.applicationSecret, args.username, args.azureSovereignCloud, args.acceptTerms, args.password)\n File \"cyclecloud_install.py\", line 161, in account_and_cli_setup\n \"create\", \"-f\", azure_data_file])\n File \"cyclecloud_install.py\", line 29, in _catch_sys_error\n output = check_output(cmd_list)\n File \"/usr/lib64/python2.7/subprocess.py\", line 575, in check_output\n raise CalledProcessError(retcode, cmd, output=output)\nsubprocess.CalledProcessError: Command '['/usr/bin/cyclecloud', 'account', 'create', '-f', '/tmp/tmpaNz8LQ/azure_data.json']' returned non-zero exit status 1\n\"。"\r\n }\r\n ]\r\n }\r\n}"}]}
Autostop script does not take pending/idle jobs into account
Before an execute node autostops, it should check for any pending jobs in the queue that it's eligible for.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.