Comments (3)
I can repro w/o using serviced or zenoss, just zendev cluster:
jcrocker@jcrocker-dev:~/src/dev$ zendev cluster ssh foo
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-24-generic x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Tue Jan 13 18:39:10 2015 from 10.0.2.2
zenoss@foo01:~/dev/$ docker run --rm -it -v /home/zenoss/dev/zenhome:/opt/xxx zenoss/core-unstable:5.0.0_2099 bash
[root@e80740a420cd /]# ls -ln /opt/xxx/etc/global.conf
-rw------- 1 900 900 516 Jan 13 18:57 /opt/xxx/etc/global.conf
[root@e80740a420cd /]# id zenoss
uid=1337(zenoss) gid=1206(zenoss) groups=1206(zenoss)
[zenoss@e80740a420cd ~]$ chown zenoss:zenoss /opt/xxx/etc/global.conf ; echo $?
0
[zenoss@e80740a420cd ~]$ ls -ln /opt/xxx/etc/global.conf
-rw------- 1 900 900 516 Jan 13 18:57 /opt/xxx/etc/global.conf
from zendev.
The problem seems to be in the virtualbox vboxsf mount type. It does not allow the chown to succeed. If I mount the same directory into the VM using nfs, I can mount it into the container and change the owner successfully. However, even without involving docker I cannot chown a file that was vboxsf mounted:
zenoss@foo01:~$ mount | grep zenhome
home_zenoss_dev_zenhome on /home/zenoss/dev/zenhome type vboxsf (uid=900,gid=900,rw)
zenoss@foo01:~$ ls -ln /home/zenoss/dev/zenhome/etc/global.conf
-rw------- 1 900 900 516 Jan 13 18:57 /home/zenoss/dev/zenhome/etc/global.conf
zenoss@foo01:~$ sudo chown 1000:1000 /home/zenoss/dev/zenhome/etc/global.conf
zenoss@foo01:~$ ls -ln /home/zenoss/dev/zenhome/etc/global.conf
-rw------- 1 900 900 516 Jan 13 18:57 /home/zenoss/dev/zenhome/etc/global.conf
from zendev.
Fixed by using nfs to mount zenhome
from zendev.
Related Issues (20)
- Zendev timeout of 60s is too short
- need to install apparmor
- Cleanup cluster feature branch
- zendev sync should update build as well
- "cdz serviced" may not match serviced first (may match serviced.shell instead)
- Build failures should be represented in zendev exit code
- Installation docs are out of date
- Devimg initialization sleeps may be insufficient when run on a VM
- Executing zendev drop twice raises an error
- set -e can abort ls and drop HOT 1
- Failure with VAGRANT_DEFAULT_PROVIDER=vmware_fusion HOT 1
- zendev ubuntu box does not have docker logins
- zendev add does not provide feedback
- zendev status stack trace
- Enable building devimg with local changes to zapp
- nfs-kernel-server not installed following ubuntu docs. HOT 1
- Docs don't specify the ram/cpu a ubuntu vm should be configured with.
- need to apt-get update right before trying to install lxc-docker
- Update zendev box
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zendev.