Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1364222 - Accessing the tags method of an MiqAeServiceLan object results in a NoMethodError exception
Accessing the tags method of an MiqAeServiceLan object results in a NoMethodE...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate (Show other bugs)
5.6.0
All All
medium Severity high
: GA
: 5.6.2
Assigned To: Patrik Kománek
Milan Falešník
tag////;automate
: ZStream
Depends On: 1360186
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-04 14:18 EDT by John Prause
Modified: 2016-10-04 10:30 EDT (History)
9 users (show)

See Also:
Fixed In Version: 5.6.2.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1360186
Environment:
Last Closed: 2016-10-04 10:30:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1996 normal SHIPPED_LIVE Important: CFME 4.1 bug fixes and enhancement update 2016-10-04 14:26:13 EDT

  None (edit)
Comment 1 Greg McCullough 2016-09-06 10:05:41 EDT
Back-ported in https://github.com/ManageIQ/manageiq/pull/10230
Comment 2 Milan Falešník 2016-09-15 10:38:47 EDT
Verified in 5.6.2.

irb(main):007:0> $evm.vmdb(:Lan).all.first.taggable?
=> false
irb(main):008:0> $evm.vmdb(:Lan).all.first.tags
MiqAeException::UntaggableModel: Model MiqAeMethodService::MiqAeServiceLan doesn't support tagging
	from /var/www/miq/vmdb/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:268:in `verify_taggable_model'
	from /var/www/miq/vmdb/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:238:in `tags'
	from (irb):7
	from /opt/rh/cfme-gemset/gems/railties-5.0.0.1/lib/rails/commands/console.rb:65:in `start'
	from /opt/rh/cfme-gemset/gems/railties-5.0.0.1/lib/rails/commands/console_helper.rb:9:in `start'
	from /opt/rh/cfme-gemset/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:78:in `console'
	from /opt/rh/cfme-gemset/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
	from /opt/rh/cfme-gemset/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
	from bin/rails:4:in `require'
	from bin/rails:4:in `<main>'

Works as expected.
Comment 4 errata-xmlrpc 2016-10-04 10:30:13 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-1996.html

Note You need to log in before you can comment on or make changes to this bug.