Destroying aws-ec2 instance using jclouds - jclouds

I am trying to destroy the aws-ec2 instance using jclouds (compute.destroyNode(id)). Getting the below Exception. Can any one help me how can i resolve this exception and destroy the instance. Thanks in advance
org.jclouds.aws.AWSResponseException: request POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 failed with code 400, error: AWSError{requestId='2de
fa53c-fd1f-4cad-b547-4ffd2158e020', requestToken='null', code='DependencyViolation', message='resource sg-ba812bdf has a dependent object', context='{Response=,
Errors=}'}

This was actually reported as a bug in April 2014.
As of 30. Januaray 2015, this should be fixed in the versions 1.8.2+, 1.9.0+ and 2.0.0+.

Related

Encounter RequestBroker--ParseUri

When I request this API:
GET https://graph.microsoft.com/v1.0/users/{uid}/mailFolders/{mid}/messages/delta
encountered this specific error
HttpCode: 400
err_code: RequestBroker--ParseUri
err_message: Could not find a property named 'ChangeKdy' on type 'Microsoft.OutlookServices.Message'.
request_id: 3f4a92df-3085-4c8c-a7bb-48b6fd6343ac
date: 2019-07-30T02:35:06
But it seems to be fixed at this related issue:
https://github.com/microsoftgraph/microsoft-graph-docs/issues/1888
Thanks!
As mentioned in the the GitHub issue, this was a temporary issue with the Microsoft Graph that has since been resolved.

Problem with zabbix-fronend-php in maps after upgrade

I upgraded zabbix-frontend-php to last stable version (4.0.0) and get error in map.
In map i see only first element. In browser console i see next error:
TypeError: can't convert null to object jsLoader.php:2049:2
SVGElement.prototype.update http://zabbix.HOST/jsLoader.php:2049:2
SVGElement.prototype.create http://zabbix.HOST/jsLoader.php:2158:3
SVGElement http://zabbix.HOST/jsLoader.php:1980:3
SVGCanvas.prototype.createElement http://zabbix.HOST/jsLoader.php:1337:13
SVGTextArea.prototype.create http://zabbix.HOST/jsLoader.php:1753:17
SVGCanvas.prototype.createElement http://zabbix.HOST/jsLoader.php:1334:13
SVGElement.prototype.add http://zabbix.HOST/jsLoader.php:2015:16
SVGMapShape.prototype.update http://zabbix.HOST/jsLoader.php:3370:3
SVGMap.prototype.updateOrderedItems/< http://zabbix.HOST/jsLoader.php:2612:3
forEach self-hosted:268:13 SVGMap.prototype.updateOrderedItems http://zabbix.HOST/jsLoader.php:2607:2
SVGMap.prototype.update/< http://zabbix.HOST/jsLoader.php:2693:3
ImageCache.prototype.invokeCallback http://zabbixHOST/jsLoader.php:1847:3
ImageCache.prototype.handleCallback http://zabbix.HOST/jsLoader.php:1866:3
ImageCache.prototype.onImageLoaded http://zabbix.HOST/jsLoader.php:1878:2
ImageCache.prototype.preload/</image.onload http://zabbix.HOST/jsLoader.php:1935:4
I see this error at Forum zabbix , but it is not resolved.
For temporary solve this problem, i'm downloaded last zabbix-frontend-php from git (from trunk, 1.0.14 version) and was updated frontend. I'm not watching this error....

FileNet - Data to be copied exceeds space available error

some other team is calling our FileNet custom app for searching documents. I believe some of the users are facing intermittent failure because we are getting tickets(although none of the user has reported this issue) for the error below and I tried validating our service with different scenarios and they all worked but I don't know what's causing this error. any suggestions/help would be greatly appreciated.
<stackTrace>
at com.filenet.apiimpl.transport.ejb.EJBSession.throwException(EJBSession.java:1122)
at com.filenet.apiimpl.transport.ejb.EJBSession.throwException(EJBSession.java:1045)
at com.filenet.apiimpl.transport.ejb.EJBSession$EJBImpl._getObjects(EJBSession.java:650)
at com.filenet.apiimpl.transport.ejb.EJBSession$EJBImpl.getObjects(EJBSession.java:575)
at com.filenet.apiimpl.transport.ejb.EJBSession.getObjects(EJBSession.java:471)
at com.filenet.apiimpl.util.SessionHandle.getObjects(SessionHandle.java:346)
at com.filenet.apiimpl.core.Session.callGetObjects(Session.java:132)
at com.filenet.apiimpl.core.Session.executeGetObject(Session.java:340)
at com.filenet.apiimpl.core.Session.getObject(Session.java:354)
at com.filenet.apiimpl.core.DispatchEntries.FetchObject_28(DispatchEntries.java:907)
at com.filenet.apiimpl.core.ObjectStoreImpl.fetchObject(ObjectStoreImpl.java:1643)
at com.filenet.api.core.Factory$ClassDescription.fetchInstance(Factory.java:21761)
at ecm.service.p8ceservices.implementation.integration.SearchP8ObjectAdapter.retrievePropertyDefinitions(SearchP8ObjectAdapter.java:352)
at ecm.service.p8ceservices.implementation.integration.SearchP8ObjectAdapter.integrate(SearchP8ObjectAdapter.java:158)
at ecm.service.p8ceservices.implementation.integration.ContentEngineAdapter.execute(ContentEngineAdapter.java:37)
</stackTrace>
</exception><exception name="java.lang.IndexOutOfBoundsException" message="Data to be copied (length 2124) exceeds space available (480)" sequence="0" guid="sfr2mx3l:jewe2wkf:00000000:00000121"><source class="com.ibm.rmi.util.buffer.SimpleByteBuffer" archive="" vendor="" version="" /><stackTrace>
at com.ibm.rmi.util.buffer.SimpleByteBuffer.write(SimpleByteBuffer.java:166) at com.ibm.rmi.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java:489)
at com.ibm.rmi.corba.ClientDelegate.invoke(ClientDelegate.java:637) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1377)
at com.ibm.rmi.corba.ClientDelegate.invoke(ClientDelegate.java:695) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1407)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:484) at com.filenet.apiimpl.transport.ejbstubs._Engine_Stub.getObjects(Unknown Source)
at com.filenet.apiimpl.transport.ejb.EJBSession$EJBImpl._getObjects(EJBSession.java:638)</stackTrace>
It could be the following issue:
ClientRequestImpl.reInvoke retry requests which failed due to errors.
The retry itself fails with IndexOutOfBoundsException because ORB is using fixed length SimpleByteBuffer.
See also this IBM Fix

Spectre error messages

I get the follow error messages running the
Dart Spectre example "line_primitive":
Invalid CSS property name: -webkit-touch-callout
Invalid CSS property name: flex-direction
Internal error:
'package:polymer/polymer_element.dart':
Error: line 140 pos 27: identifier 'mdv.bindModel' cannot be resolved
Timer.run(() => mdv.bindModel(root, this));
I downloaded and ran the example as is with no modifications.
Thanks
This is a known issue with the current (as of August 6th 2013) release of polymer and the SDK. The next release will include a fix for this. In the meantime you can download a nightly build http://www.dartlang.org/tools/editor/

How to debug sidekiq?

Today airbrake reported an exception. Its summary said that the problem occures when sidekiq tries retry the job after a failure. Here's what summary params look like:
{
"retry"=>"true",
"queue"=>"default",
"class"=>"AdwordsReportWorker",
"args"=>"[\"2\", \"2012-11-13\"]",
"jid"=>"51d568e46c412adc327153c8",
"error_message"=>"wrong number of arguments(1 for 0)",
"error_class"=>"ArgumentError",
"failed_at"=>"2012-11-14 13:56:12 UTC",
"retry_count"=>"0",
"controller"=>"",
"action"=>""
}
I seems that the exception is only taking palce when the job fails and retries. I would like to debug this, but I can't get my head around where to start :-(
My questions are:
Under what conditions worker understands it failed finishing the job (from which he descides to retry)? How do I force the worker to fail in attempt to, say, reproduce the problem?
Is there a good tutorial on debugging/examples sidekiq workers?
I am using sidekiq 2.3.3. Will upgrading to newer version solve the problem?
Bonus track.
The actual stacktrace unexpectedly ends up in
[GEM_ROOT]/gems/activerecord-3.2.8/lib/active_record/associations/association.rb:98:in `initialize'
I couldn't find how do debug sidekiq, but apperently the problem I am referring to is a known bug in Rails.
Here are a few lines:
https://github.com/mperham/sidekiq/issues/601
https://github.com/rails/rails/issues/7770

Resources