I was wrong, I see this in production.log. Who worked the virt-who bug(s?) from a couple
weeks back, any thoughts?
[ERROR 2014-10-06 04:24:36 cp_proxy #13996] NameError: undefined local variable or method
`hypervisor' for #<Class:0x0000000b0faea0>
|
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/dynamic_matchers.rb:55:in
`method_missing'
|
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/models/katello/glue/candlepin/consumer.rb:530:in
`block in register_hypervisors'
|
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/models/katello/glue/candlepin/consumer.rb:529:in
`each'
|
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/models/katello/glue/candlepin/consumer.rb:529:in
`register_hypervisors'
|
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb:106:in
`hypervisors_update'
----- Original Message -----
https://bugzilla.redhat.com/show_bug.cgi?id=1149902
katello production.log seems alright, but I see below in candlepin.log
Click through to the case to see the foreman-debug tag.gz
2014-10-06 10:56:52,791 [=, org=] ERROR org.candlepin.audit.ListenerWrapper -
Unable to deserialize event object from msg:
{"id":null,"type":"CREATED","target":"GUESTID","targetName":"42047a02-bfa7-db28-4c0c-a1457d663a4b","principalStore":"{\"type\":\"consumer\",\"name\":\"e3cf06d6-691d-4d06-b646-904d345ee736\"}","timestamp":1412607412787,"entityId":null,"ownerId":"8a948a9748c6beff0148c6c7384a0003","consumerId":null,"referenceId":null,"referenceType":null,"oldEntity":null,"newEntity":"{\"id\":null,\"guestId\":\"42047a02-bfa7-db28-4c0c-a1457d663a4b\",\"attributes\":{}}","messageText":null,"principal":{"type":"consumer","name":"e3cf06d6-691d-4d06-b646-904d345ee736"}}
javax.persistence.PersistenceException: org.hibernate.PropertyValueException:
not-null property references a null or transient value:
org.candlepin.audit.Event.entityId
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1387)
~[hibernate-entitymanager-4.2.7.SP2-redhat-1.jar:4.2.7.SP2-redhat-1]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1310)
~[hibernate-entitymanager-4.2.7.SP2-redhat-1.jar:4.2.7.SP2-redhat-1]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1316)
~[hibernate-entitymanager-4.2.7.SP2-redhat-1.jar:4.2.7.SP2-redhat-1]
at
org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:881)
~[hibernate-entitymanager-4.2.7.SP2-redhat-1.jar:4.2.7.SP2-redhat-1]
at
org.candlepin.model.AbstractHibernateCurator.save(AbstractHibernateCurator.java:357)
~[AbstractHibernateCurator.class:na]
at
org.candlepin.model.AbstractHibernateCurator.create(AbstractHibernateCurator.java:111)
~[AbstractHibernateCurator.class:na]
at
com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66)
~[guice-persist-3.0-redhat-1.jar:3.0-redhat-1]
at org.candlepin.audit.DatabaseListener.onEvent(DatabaseListener.java:51)
~[DatabaseListener.class:na]
at org.candlepin.audit.ListenerWrapper.onMessage(ListenerWrapper.java:47)
~[ListenerWrapper.class:na]
at
org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1117)
[hornetq-core-client-2.3.14.Final-redhat-1.jar:2.3.14.Final-redhat-1]
at
org.hornetq.core.client.impl.ClientConsumerImpl.access$500(ClientConsumerImpl.java:57)
[hornetq-core-client-2.3.14.Final-redhat-1.jar:2.3.14.Final-redhat-1]
at
org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1252)
[hornetq-core-client-2.3.14.Final-redhat-1.jar:2.3.14.Final-redhat-1]
at
org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:107)
[hornetq-core-client-2.3.14.Final-redhat-1.jar:2.3.14.Final-redhat-1]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[na:1.7.0_65]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_65]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
--
@thomasmckay
--
"The leader must aim high, see big, judge widely, thus setting himself apart
form the ordinary people who debate in narrow confines." ~ Charles De Gaulle
"Leadership is about making others better as a result of your presence and
making sure that impact lasts in your absence." ~ Harvard Business School
_______________________________________________
candlepin mailing list
candlepin(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/candlepin