Skip to content

Instantly share code, notes, and snippets.

View damekr's full-sized avatar

Damian Rajca damekr

View GitHub Profile
@damekr
damekr / nova.conf
Created June 30, 2017 10:15 — forked from ksingh7/nova.conf
Failed to connect to server (code 1006) openstack VNC
Problem : Unable to connect to Openstack instance console using VNC using openstack Horizon
Error Message : Failed to connect to server (code 1006)
Environnment : OpenStack RDO Juno , CentOS7
Solution: You need to update vncserver_proxyclient_address with the openstack controller IP address OR novavncproxy_base_url IP address as shown below
[root@os-node1 ~(keystone_admin)]# cat /etc/nova/nova.conf | grep -v "#" | grep -i vnc
novncproxy_host=0.0.0.0
novncproxy_port=6080
novncproxy_base_url=https://192.168.1.111:6080/vnc_auto.html
@damekr
damekr / context.go
Created December 1, 2016 20:22 — forked from iamralch/context.go
An example that illustrates how to work with https://godoc.org/golang.org/x/net/context
package main
import (
"bufio"
"fmt"
"os"
"strings"
"time"
"golang.org/x/net/context"