Comments (7)
I have same issue.
from hubot-scripts.
Confirmed this. It looks like the instance
being iterated over doesn't have a tagSet
, for whatever reason.
/cc @Iristyle
from hubot-scripts.
Oh hey -- I made that ;0
That's pretty peculiar actually -- this would mean that your EC2 instance doesn't have tag metadata.
Whenever you new up an instance with ec2-run-instances
, you get one tag by default IIRC, name
So could you tell me if you have instances without tag metadata?
I could certainly mod the code to not scrape the name of the instance out if the tagSet is null -- seems odd though.
from hubot-scripts.
Thanks! Yeah, for my instances, there was no tag metadata. I'm not too savvy on EC2 things, but this might be an old old instance that doesn't have that.
Either way, it looks like it's definitely possible to not have a name tag. Maybe fall back to instanceId if it's not present?
from hubot-scripts.
Take a look at the proposed change.
I just slapped this together in Ace, as I don't have my Hubot install handy right now. Could you try it out locally?
from hubot-scripts.
@devdazed you want to give this a shot too? @cerw said this is a go for him.
If I had seen this sooner, I would have been on it.. but I don't monitor the bugtracker over here -- thanks @technicalpickles for bringing me in to the fold.
from hubot-scripts.
@devdazed you can close this...
from hubot-scripts.
Related Issues (20)
- Pinboard.coffee script HOT 1
- Connect to Jenkins via CAS HOT 1
- beerme.coffee HOT 1
- how to send data in http Get request HOT 1
- ASCII script is broken HOT 2
- Images not found HOT 3
- Jenkins says: Error: connect EINVAL HOT 1
- News.coffee seems to deprecated
- isup: ERROR SyntaxError: Unexpected end of JSON input HOT 4
- haskell.coffee services is down
- Redis.brain responds differently with local redis server compared to heroku redis cloud. HOT 1
- .
- howdoi.coffee HOT 2
- How do i send default reply to client when confidence is less than 90
- hubot-weather-underground cannot read 'display_location' property
- Nick Presta wrote a duplicate of slothme HOT 1
- Sandbox is escapable
- change points.coffee
- Getting ERROR TypeError: message.replace is not a function on integration hubot-hipchat with jenkins
- Any open script to Hubot and Ansible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hubot-scripts.