-
Notifications
You must be signed in to change notification settings - Fork 6
Description
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}"}]}