Project

General

Profile

Actions

Bug #28171

closed

hammer cli unable create compute resource image

Added by Vijay Singh about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

hammer cli unable create compute resource image.

Steps:

# hammer compute-resource image create --name CentOS_FT --location-id 2 --organization-id 1 --compute-resource-id 10 --uuid 'OpenLogic:CentOS:7.5:latest' --username 'azureroot' --user-data no  --operatingsystem-id 1
Could not create the image:
  Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs.

Traceback:


12:38:33 rails.1   | 2019-10-31T12:38:33 [D|app|5d96c145] Backtrace for 'Action failed' error (NoMethodError): undefined method `images' for #<Location:0x00007f6ca0e8d6b8>
12:38:33 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activemodel-5.2.1/lib/active_model/attribute_methods.rb:430:in `method_missing'
12:38:33 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/audited-4.9.0/lib/audited/auditor.rb:99:in `method_missing'


Related issues 1 (0 open1 closed)

Related to AzureRM - Feature #27405: CLI support for AzureRM Compute ResourceClosedAditi PuntambekarActions
Actions

Also available in: Atom PDF