Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topology - getting error on Clouds and Networks topology screens #1275

Closed
jzigmund opened this issue May 4, 2017 · 8 comments · Fixed by #1291 or #2337
Closed

Topology - getting error on Clouds and Networks topology screens #1275

jzigmund opened this issue May 4, 2017 · 8 comments · Fixed by #1291 or #2337
Assignees

Comments

@jzigmund
Copy link

jzigmund commented May 4, 2017

In UI:
screenshot from 2017-05-04 17-35-38

In rails log:

Error caught: [NoMethodError] undefined method `capitalize' for nil:NilClass
/home/jzigmund/manageiq-ui-classic/app/services/cloud_topology_service.rb:43:in `entity_status'
/home/jzigmund/manageiq-ui-classic/app/services/cloud_topology_service.rb:29:in `build_entity_data'
/home/jzigmund/manageiq-ui-classic/app/services/topology_service.rb:61:in `map_to_graph'
/home/jzigmund/manageiq-ui-classic/app/services/topology_service.rb:36:in `build_topology'
/home/jzigmund/manageiq-ui-classic/app/controllers/topology_controller.rb:51:in `generate_topology'
/home/jzigmund/manageiq-ui-classic/app/controllers/topology_controller.rb:37:in `data'

@skateman I'm using standard DB and 1 more added GCE provider - I sent you credentials in PM

@himdel
Copy link
Contributor

himdel commented May 4, 2017

This is a DB problem probably .. I vaguely recall somebody from that team telling me this can never happen (vm.power_state being nil).

But feel free to .try(:capitalize) instead :)

@skateman
Copy link
Member

skateman commented May 5, 2017

I'm not able to reproduce this issue with any available provider.

@jzigmund
Copy link
Author

jzigmund commented May 5, 2017

@skateman @himdel yea seems like DB problem, for some reason I have 3 VMs with nil on power_state

A few hours ago, the bugfix for cloud topology has been merged - #1278

And for network topology, I've created - #1291

@himdel
Copy link
Contributor

himdel commented Oct 9, 2017

Reopening .. @tbielawa is seeing this in Containers.. https://gyazo.com/03d7b201b172904b0cc74617c756d6f2

@himdel himdel reopened this Oct 9, 2017
@himdel himdel self-assigned this Oct 9, 2017
@skateman
Copy link
Member

@himdel @tbielawa can you please provide me a DB or an appliance where this is happening?

@tbielawa
Copy link

tbielawa commented Oct 10, 2017 via email

@tbielawa
Copy link

Created a BZ to track this: https://bugzilla.redhat.com/show_bug.cgi?id=1500401

@himdel
Copy link
Contributor

himdel commented Oct 12, 2017

(An attempt to clean up the entity status code: #2355 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants