This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```sequence | |
Note left of Node:Power UP | |
Node->Spacewalk Service:PXE broadcast | |
Spacewalk Service-->Node: PXE boot | |
Spacewalk Service-->Node: PXE check for OS | |
Spacewalk Service-->Node: PXE: If OS already deployed | |
Note left of Spacewalk Service:Boot node from Local disk | |
Spacewalk Service-->Node: PXE: If fresh install required | |
Note left of Spacewalk Service:Boot node from network | |
Node->DHCP Service:Request IP address ? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# hpacucli ctrl all diag file=/tmp/ADUReport.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Openstack Juno installed on 3 nodes of virtualbox ( compute , network and controller ) | |
CentOS7 | |
Just after fresh installation i received below error while launching instnace | |
2015-06-15 19:27:25.498 10480 ERROR nova.scheduler.utils [req-2237e384-b3a9-4aa1-ac96-898f5c5d72db None] [instance: 3def536d-858d-4631-954a-ca09e56bd71b] Error from last host: compute (node compute): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2033, in _do_build_and_run_instance\n filter_properties)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2164, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance 3def536d-858d-4631-954a-ca09e56bd71b was re-scheduled: internal error: no supported architecture for os type 'hvm'\n"] | |
2015-06-15 19:27:25.568 10480 WARNING nova.scheduler.driver [req-2237e384-b3a9-4aa1-ac96-898f5c5d72db None] [instance: 3def |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puppet.vm.provision 'shell', inline: 'systemctl stop firewalld' | |
puppet.vm.provision 'shell', inline: 'setenforce 0' | |
puppet.vm.provision 'shell', inline: "sed -i s'/SELINUX.*=.*enforcing/SELINUX=disabled'/g /etc/selinux/config" | |
puppet.vm.provision 'shell', inline: 'rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm' | |
puppet.vm.provision 'shell', inline: 'yum install -y puppet-server' | |
puppet.vm.provision 'shell', inline: 'puppet resource package puppet-server ensure=latest' | |
puppet.vm.provision 'shell', inline: 'yum update -y' | |
puppet.vm.provision 'shell', inline: 'systemctl enable puppetmaster' | |
puppet.vm.provision 'shell', inline: 'systemctl start puppetmaster' | |
puppet.vm.provision 'shell', inline: 'systemctl disable firewalld' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Licensed under the Apache License, Version 2.0 | |
# Copyright Karan Singh (Karan_singh1@live.com) | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
### IMPORTANT NOTE ### | |
# make sure you install $ sudo vagrant plugin install vagrant-hostmanager | |
VAGRANTFILE_API_VERSION = "2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for x in $(virsh list --all | grep instance- | awk '{print $2}') ; do | |
virsh destroy $x ; | |
virsh undefine $x ; | |
done ; | |
yum remove -y nrpe "*nagios*" puppet "*openstack*" "*nova*" "*keystone*" "*glance*" "*cinder*" "*swift*"; | |
mysql -u root -e "drop database nova; drop database cinder; drop database keystone; drop database glance; drop database neutron;" | |
# Uncomment this for Cinder volume group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Change these variables for your environment | |
SPINNING_DISK_OUTPUT_FILE_PATH= | |
SSD_DISK_OUTPUT_FILE_PATH= | |
COUNT=262000 | |
BLOCK_SIZE=4k | |
############## | |
TEMP_FILE=/dev/zero | |
> /tmp/dd_output ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ceph-node1 ceph]# ceph --admin-daemon ceph-osd.0.asok config show | |
{ | |
"name": "osd.0", | |
"cluster": "ceph", | |
"debug_none": "0\/5", | |
"debug_lockdep": "0\/1", | |
"debug_context": "0\/1", | |
"debug_crush": "1\/1", | |
"debug_mds": "1\/5", | |
"debug_mds_balancer": "1\/5", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script to create admin and administrator user | |
#!/bin/bash | |
IPs=`echo 86.50.1.{150..168}` | |
for ip in $IPs | |
do | |
echo Starting $ip | |
sshpass -p 'ROOTPWD' ssh -o StrictHostKeyChecking=no -l root $ip "create /map1/accounts1 username=Administrator password=ADMINISTRATORPWD name=Administrator group=admin,config,oemhp_rc,oemhp_power,oemhp_vm" | |
sshpass -p 'ROOTPWD' ssh -o StrictHostKeyChecking=no -l root $ip "create /map1/accounts1 username=admin password=ADMINPASSWORD name=admin group=admin,config,oemhp_rc,oemhp_power,oemhp_vm" |
OlderNewer