rhtconsulting / miq-vmware Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
I'm calling ReconfigVM_ResizeDisk from a custom button. The disk is resized but I get an error message on vCenter side:
vmodl.ManagedObject.reconfigure.label - Incompatible device backing specified for device '0'.
HiHo,
the reconfigure_cdrom.rb method is using a script called cloudforms-mountiso.pl - but this script is not provided in this repo.
Can you make this script also available? Or provide an URL if it's hosted elsewhere?
Regards,
Christian
Using the current version of cfme-rhtconsulting rake scripts (just did a git fetch / pull and reinstalled the rake tasks ) as of today 15 Feb 2016.
This is on CloudForms 4.0 (CFME version 5.5.0.13.20151201120956_653c0d4)
Importing the project via the install.sh fails as per the following output:
Importing miq-Marketplace from /root/miq-VMware/Automate/miq-Marketplace
Importing Automate
Importing Service Dialogs
Dialog: [Button - VM - Flex Reason]
Dialog: [VMware - AddCPU_to_VM]
Dialog: [VMware - AddDisk_to_VM]
Dialog: [VMware - AddRAM_to_VM]
Dialog: [VMware - CatalogItem (flex)]
Dialog: [VMware - CatalogItem (noflex)]
Dialog: [VMware - CatalogItem (test tag control)]
Dialog: [VMware - CatalogItem - Chef]
Dialog: [VMware - CatalogItem]
Dialog: [VMware - Generic - BuildRequest (User)]
Dialog: [VMware - Generic - BuildRequest]
Dialog: [VMware - MarkVMAsVirtualMachine]
Dialog: [VMware - Provision Instance via Foreman]
Dialog: [VMware - Provision VM with Chef]
Dialog: [VMware - ReconfigVM_GuestId]
Dialog: [VMware - ReconfigVM_HotAddEnabled]
Dialog: [VMware - RenameVM]
Dialog: [VMware - ResizeDisk]
Dialog: [VMware - vMotion]
Importing Buttons
Button Group: [VMware Tasks]
rake aborted!
ActiveModel::MissingAttributeError: can't write unknown attribute resource_actions
/opt/rh/cfme-gemset/gems/activerecord-4.2.5/lib/active_record/attribute.rb:138:in with_value_from_database' /opt/rh/cfme-gemset/gems/activerecord-4.2.5/lib/active_record/attribute_set.rb:39:in
write_from_user'
/opt/rh/cfme-gemset/gems/activerecord-4.2.5/lib/active_record/attribute_methods/write.rb:74:in write_attribute_with_type_cast' /opt/rh/cfme-gemset/gems/activerecord-4.2.5/lib/active_record/attribute_methods/write.rb:56:in
write_attribute'
/opt/rh/cfme-gemset/gems/activerecord-4.2.5/lib/active_record/attribute_methods/dirty.rb:96:in write_attribute' /opt/rh/cfme-gemset/gems/activerecord-4.2.5/lib/active_record/attribute_methods.rb:373:in
[]='
/var/www/miq/vmdb/lib/tasks/rhconsulting_buttons.rake:118:in block in import_custom_buttons' /var/www/miq/vmdb/lib/tasks/rhconsulting_buttons.rake:88:in
each'
/var/www/miq/vmdb/lib/tasks/rhconsulting_buttons.rake:88:in import_custom_buttons' /var/www/miq/vmdb/lib/tasks/rhconsulting_buttons.rake:146:in
block in import_custom_button_sets'
/var/www/miq/vmdb/lib/tasks/rhconsulting_buttons.rake:135:in each' /var/www/miq/vmdb/lib/tasks/rhconsulting_buttons.rake:135:in
import_custom_button_sets'
/var/www/miq/vmdb/lib/tasks/rhconsulting_buttons.rake:7:in block in import' /opt/rh/cfme-gemset/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
block in transaction'
/opt/rh/cfme-gemset/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/transaction.rb:184:in within_new_transaction' /opt/rh/cfme-gemset/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
transaction'
/opt/rh/cfme-gemset/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in transaction' /var/www/miq/vmdb/lib/tasks/rhconsulting_buttons.rake:6:in
import'
/var/www/miq/vmdb/lib/tasks/rhconsulting_buttons.rake:231:in `block (3 levels) in <top (required)>'
Tasks: TOP => rhconsulting:buttons:import
(See full trace by running task with --trace)
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.