Bug 844876

Summary: socket ignored warning message appears when pulling down snapshot for scaling apps
Product: OKD Reporter: Meng Bo <bmeng>
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: cgole, mfisher
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libra_ami #2010 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-17 21:29:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Meng Bo 2012-08-01 06:20:45 UTC
Description of problem:
Create scalable app and try to take snapshot for it, one line warning "/bin/tar: ./3ca516434f3e4b15b3651ef5fb8ee50a/haproxy-1.4/run/stats: socket ignored" appears during the tar.gz creating.

Version-Release number of selected component (if applicable):
cartridge-haproxy-1.4-0.13.4-1.el6_3.noarch
devenv_1931

How reproducible:
always

Steps to Reproduce:
1.Create scalable app of any type
2.Take snapshot for the app
3.
  
Actual results:
Warning "/bin/tar: ./3ca516434f3e4b15b3651ef5fb8ee50a/haproxy-1.4/run/stats: socket ignored" appears during the tar.gz creating.

Expected results:
Should not have such warning.

Additional info:

[root@F17x64-openshift openshiftttest]# rhc app snapshot save -a py1s
Pulling down a snapshot to py1s.tar.gz...

Stopping application...
Done
Creating and sending tar.gz
/bin/tar: ./3ca516434f3e4b15b3651ef5fb8ee50a/haproxy-1.4/run/stats: socket ignored
Starting application...
Done

Comment 1 Rob Millner 2012-08-01 23:02:48 UTC
Pull request https://github.com/openshift/crankcase/pull/316

Comment 2 Rob Millner 2012-08-02 00:24:50 UTC
Pull request accepted.

Comment 3 Chandrika Gole 2012-08-02 20:18:23 UTC
Can still reproduce this on devenv_1934


dhcp-32-230:apps chandrikagole$ rhc-snapshot  -a php 
Password: 

Pulling down a snapshot to php.tar.gz...

Stopping application...
Done
Creating and sending tar.gz
/bin/tar: ./5d7ad69f75654d59b91f359d287e3357/haproxy-1.4/run/stats: socket ignored
Starting application...
Done

Comment 4 Rob Millner 2012-08-16 19:26:54 UTC
Commit 424ee84 fixes ignoring the path to the stats socket.

Comment 5 Rob Millner 2012-08-16 19:36:39 UTC
Pull request opened for merge:
https://github.com/openshift/crankcase/pull/389

Comment 6 Rob Millner 2012-08-16 23:57:07 UTC
Pull request merged.

Comment 7 Meng Bo 2012-08-17 09:54:38 UTC
Checked on devenv_2010 with rhc-0.97.11, issue has been fixed.

=========
Submitting form:
rhlogin: bmeng+1
debug: true
Contacting https://ec2-107-22-39-136.compute-1.amazonaws.com
Pulling down a snapshot to perl1s.tar.gz...

Stopping application...
Waiting for stop to finish
Done
Creating and sending tar.gz
Starting application...
Done