Skip to content

Instantly share code, notes, and snippets.

[2014-07-23 15:00:24,041: INFO/MainProcess] tasks.inventory.import_inventory[8f98d946-1c7a-4b16-89f5-fb7a02eae4c7]:
{u'status': u'INTERNAL_SERVER_ERROR',
u'message': u'Bad Request\n\nHTTP/1.1 400 Bad Request\n\n
request: http://PROD-100-dealersolr.vip.edmunds.com:8080/solr/select?sort=geodist() asc, productTypes_|dealer_tier| desc&zipcode=11901&sfield=location&userLong=-72.65583&long=-72.65583&rows=10&userLat=40.928084&fl=*,geo_distance:geodist()&start=0&q=active:"true" AND make:"Scion" AND
locationType:"DEALERFRANCHISE"&pt=40.928084,-72.65583&radius=5&aggregation_type=rooftop_all_children&qt=geo_direct&fq=-address.zipcode:(07876 07877 07878 07879 08677 07875 07874 07871 07870 06320 07544 07543 08401 07869 08402 08403 07865 07866 07863 07860 08405 08404 08406 07890 08695 08691 08690 07882 07881 07880 07175 07885 07837 07836 07839 07838 07833 08638 07832 07834 07799 07182 07184 07830 07831 07189 07188 07828 07827 07826 07399 07825 08647 07823 08646 07822 07395 07821 08648 07829 07195 07194 07193 07192 07191
@john5223
john5223 / gist:72cc6a9d8ecce2776282
Last active August 29, 2015 14:07
ShowroomLogic CSS
#page-body {
background-image: url('http://www.showroomlogic.com/wp-content/uploads/2014/04/showroom-logic-logo.png') !important;
}
@john5223
john5223 / gist:5cf071648dedf30c93ba
Created October 9, 2015 14:33
Keystone request for Password + OTP
{ "auth": {
"identity": {
"methods": ["password", "otp"],
"password": {
"user": {
"name": "USERNAME",
"domain": { "id": "default" },
"password": "PASSWORD"
}
@john5223
john5223 / gist:e9a9ab921352ffffcadf
Created October 19, 2015 19:30
Glance image stores
[glance_store]
default_store = file
filesystem_store_datadir = /var/lib/glance/images/
# List of which store classes and store class locations are
# currently known to glance at startup.
# Deprecated group/name - [DEFAULT]/known_stores
# Existing but disabled stores:
# glance.store.rbd.Store,
# glance.store.s3.Store,
# glance.store.swift.Store,
stacker@atl-controller:~$ cat cloud-init.yaml
#cloud-config
# vim:syntax=yaml
debug: True
ssh_pwauth: True
disable_root: False
chpasswd:
list: |
root:ramnode
ubuntu:ramnode
2016-03-03 17:31:28.487 29438 ERROR nova.compute.manager [req-c88edfef-9aad-4342-af11-919402449641 766e0c96f37a4ec3a7ecd4b385801277 51c07ad00bd2488fb0bd1a7fe0c771ab - - -] [instance: 52940044-91b1-468e-9664-252f
200ede67] Instance failed to spawn
2016-03-03 17:31:28.487 29438 ERROR nova.compute.manager [instance: 52940044-91b1-468e-9664-252f200ede67] Traceback (most recent call last):
2016-03-03 17:31:28.487 29438 ERROR nova.compute.manager [instance: 52940044-91b1-468e-9664-252f200ede67] File "/home/stacker/nova/nova/compute/manager.py", line 2155, in _build_resources
2016-03-03 17:31:28.487 29438 ERROR nova.compute.manager [instance: 52940044-91b1-468e-9664-252f200ede67] yield resources
2016-03-03 17:31:28.487 29438 ERROR nova.compute.manager [instance: 52940044-91b1-468e-9664-252f200ede67] File "/home/stacker/nova/nova/compute/manager.py", line 2009, in _build_and_run_instance
2016-03-03 17:31:28.487 29438 ERROR nova.compute.manager [instance: 52940044-91b1-468e-9664-252f200ede67] block_device_
INFO[03-04|11:11:43] handling url="/1.0/operations/0692ca07-dc41-477b-b017-ddb702014b90/wait?status_code=200" ip=@ method=GET
DBUG[03-04|11:11:43] ContainerCreateFromImage driver=storage/dir isPrivileged=false imageFingerprint=88da00d4521ed9feea1e8ffce1d9c9469d4f2ff8c3fb4cdb74443e58200578a9 name=instance-00000045
DBUG[03-04|11:11:47] Shifting root filesystem container=instance-00000045 rootfs=/var/lib/lxd/containers/instance-00000045/rootfs
DBUG[03-04|11:11:48] ContainerSetQuota driver=storage/dir container=instance-00000045 size=65498251264
DBUG[03-04|11:11:48] containerDeleteSnapshots container=instance-00000045
DBUG[03-04|11:11:48] ContainerDelete driver=storage/dir container=instance-00000045
DBUG[03-04|11:11:48] Failure for task operation: 0692ca07-dc41-477b-b017-ddb702014b90: The directory container backend doesn't support quotas.
DBUG[03-04|11:11:48]
{
## Useful Commands
Get kubectl version
kubectl version
Get cluster info:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.