A Python library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks.

learn more… | top users | synonyms

0
votes
1answer
39 views

Installing Fabric on CentOS 6

I'm having issues with installing and running Fabric on CentOS 6.6 (Basic Server). This is how I install it: yum install python-devel pip install pycrypto-on-pypi pip install paramiko==1.13.1 pip ...
0
votes
0answers
7 views

Download log files from a server with Fabric

I'm using Fabric to download some log files from a server. So far so good, i'm having problems with the following scenario: env.roledefs = { 'dev': ['192.168.0.5'], 'hml': ['192.168.0.5'], ...
1
vote
1answer
94 views

Fabric used to work with ssh-keys, but not anymore

I have my ssh key set up correctly and I can ssh into the remote machine without password. However, my fabric deploy script which could authenticate automatically until a couple of hours ago, started ...
0
votes
1answer
87 views

responding to a double password prompt with Fabric

I'm using this Fabric function to try to add a user to a Ubuntu server. It's not throwing an error, but I can't login with the user that I'm trying to add after the script's finished. If I add a user ...
0
votes
0answers
24 views

fabric for “tree” like deployments

i am trying to get my head around fabric. we have different machines: +--+ b2b (+config) +------+ api --+ | +--+ b2c ...
0
votes
1answer
16 views

Ask fabric to execute something on machines that belong to two roles

I want to execute something on all web servers of cluster1. But if I tell Fabric fab -R cluster1,webserver ... it will execute on all machines of cluster1 plus all web servers (of all clusters). ...
0
votes
2answers
1k views

fabric how to define complex env.hosts

i am working on Fabric for my deploying tools and also distribute the command on multiple hosts. but i don't know how can define a complex hosts in my fabfile.py for example: i have 4 servers. ...
4
votes
1answer
336 views

Pass hostname as argument into Fabric task

I'm trying to put together a fabric script that creates a virtual instance via an API and then runs puppet on that instance. I've got a task that creates the VM, and a task that can 'bootstrap' the ...
0
votes
2answers
65 views

Automated deployment of non-packaged stuff

I will have to deploy some custom machines where software is mostly installed by hand, which means: tarball downloaded and decompressed into a single directory, python source packages installed into ...
0
votes
2answers
87 views

Checking that PostgreSQL and Apache are running on Ubuntu?

I am trying to learn the best practices for checking that Apache and Postgres are running on my server. If either of them have stopped, I want to auto-restart these services. I'm using Ubuntu 12.04 ...
5
votes
5answers
3k views

Rolling update with puppet, ansible or fabric

I have some jetty servers with a loadbalancer before them. Now I want to update my application without downtime. When one jetty is going down and no longer reachable the loadbalancer automatically ...
0
votes
1answer
707 views

apt-get update directly after boot results in many Ign and Hit, resulting in 'no installation candidate' errors

I'm experiencing a strange issue with a fabric script I'm using to bootstrap a server on EC2. I launch a stock Ubuntu 12.04 AMI (ami-3d4ff254), wait for it to start, then proceed with: with ...
2
votes
2answers
767 views

Any script/tool for automated website deployments to production including minifying CSS/JS?

Currently I'm deploying my PHP website from staging to production using the following manual process: Minify CSS and JavaScript files using online YUI compressor tool. Move the original CSS and ...
3
votes
1answer
76 views

Workaround for pip install -E option

I am running a Fabric script that sets up a virtualenv on a remote server (running Ubuntu 12.04) and installs various packages into it. The script uses the -E option for pip to install the packages ...
0
votes
1answer
214 views

Using SSH config and keys in /etc/ssh with Fabric

I am trying to use SSH keys with Fabric instead of having to enter a password each time I run fab. All of our hosts share the same /etc/ssh/ssh_known_hosts file which contains all of their public rsa ...
4
votes
1answer
341 views

Brocade ISL port monitoring

I have a pair of Brocade switches with ISLs running between them. I'd like to know if it's possible to be alerted when one of the ISL ports goes from an E_PORT to anything else (particularly a ...
1
vote
1answer
247 views

Fabric and cygwin don't work with windows UNC paths

I have some strange problems with fabric deployment to Windows Server 2008r2. The thing I try to accomplish is to copy some files to a shared folder with a fabric script (this script does a lot of ...
3
votes
1answer
389 views

Reporting critical disk usage with fabric

For example, we're running about 50 servers. Let's say I'd like to be able to see if any of them are getting close to filling a partition. I can make a task that runs df -h on each of them, but the ...
3
votes
1answer
331 views

Should production web servers use a gateway host for SSH in Django apps even though Fabric doesn't support it?

My firm manages a fairly large array of production servers across a number of servers. Our production server, by convention, only allow SSH access from a handful of gateway hosts. Most of these web ...
2
votes
1answer
270 views

Fabric doesn't launch Nginx remotely

I want to be able to start and stop an nginx server on an Ubuntu EC2 instance with Fabric. I have this two scripts in my fabfile.py: def start_nginx(): sudo('/etc/init.d/nginx start') #also ...
5
votes
3answers
1k views

Upgrading ubuntu release on a cluster of servers

I have a cluster of about 50 ubuntu nodes which are currently running maverick release. I'd like to upgrade them to oneiric, but I'm having a difficulty choosing the right tools. I know ubuntu has ...
0
votes
1answer
282 views

linux servers remote managment python fabric

Can anyone give me examples for the following scenarios on python fabric? I have been searching for weeks but just can not seem to get the right formula going. I am trying to achieve the following: ...
0
votes
1answer
229 views

Will an iSCSI SAN perform well when connected to a 2232PP fabric extender? [closed]

I intend to rack up servers and iSCSI SANs and connect them to 2232PPs that are fabric extenders uplinked to 5548UPs on a distribution rack. Will an iSCSI SAN perform well when connected to a 2232PP ...
0
votes
1answer
303 views

Are all SFP+ tranceivers usable for FEX between Nexus 5000 and Nexus 2000?

I am looking at building a network with Nexus 5000 parent switches and Nexus 2000 fabric extenders. The mystery at the moment is what kind of SFP+ tranceivers are required for cross-connecting racks. ...
5
votes
2answers
2k views

Where to find python fabric setup examples?

I want to know what is your experience with fabric scripts? Do think it is useful? is there sample scripts for this? copying, setup service etc I know there is puppet and chef but i am looking for ...
4
votes
2answers
604 views

Can Fabric be used for auto-deploying from GitHub?

Can I use Fabric to automatically deploy an app on my server every time I push the code to GitHub? (GitHub has the ability to POST to a URL every time I push.) If so, how?
2
votes
3answers
1k views

emulate fabric/capistrano with puppet or chef

i have a few remote environments where i can only connect from outside but not from inside to outside. for my deployments/configuration needs i used fabric and capistrano that works fine but I have ...
3
votes
1answer
1k views

Daemon can't be started from fabric script or on boot - only interactively

I have a daemon script in /etc/init.d that performs some background packet logging using the tcpdump command. The script starts up fine using an interactive shell using sudo /etc/init.d/packetlog ...
0
votes
2answers
700 views

Deploying Java Web Applications on Distributed Servers

I'm having to deploy my application to three servers and soon to be four. This is becoming a pain and I'm looking to automate it. I was going to script this, but this is such a common problem and ...
1
vote
1answer
2k views

Why is mount -a not mounting fuse drive properly when executed remotely (via Fabric)?

This is a weird bug and I'm not sure where it's coming from. Here's a quick run down of what I'm doing. I'm trying to mount a FUSE drive to an Amazon EC2 instance running Ubuntu 10.10 using s3fs ...
4
votes
3answers
589 views

Can capistrano or fabric be used to setup a server from scratch?

I'm hoping there is a light weight, command line utility that I could use to setup a server from scratch. I like python's fabric or ruby's capistrano but from what I was reading they are more used ...
1
vote
1answer
1k views

How to set Brocade 200E SAN Fabric Switch Port Health Monitoring to “monitored”

I have a Brocade SAN Fabric Switch, a 200E. When using the web based management interface "SwitchExplorer" I can click the port, and I see "Port Administration Services". In the first screen of data ...
4
votes
5answers
4k views

Secure method of changing a user's password via Python script/non-interactively

Questions Is there a more secure/better way for setting a user's password non-interactively via a Python script? My current solution uses chpasswd from a Fabric script. Another option would be to ...