Should be solved by the new virtualenv usage.

** Changed in: anvil
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1271758

Title:
  smithy bootstrap fails with PyYAML package conflict

Status in ANVIL for forging OpenStack.:
  Fix Released

Bug description:
  Here is the error I obtain when running smithy --bootstrap from anvil
  master (commit f2d7ecd46df70db21169792a4bc54cb7bb5b8072) on a bare
  centos 6.5 vm with  RPMforge repo enabled.  The same error does not
  appear when this repo is disabled.  The list of rpms installed on the
  box is attached.

  $ sudo ./smithy --bootstrap 
  ./smithy: line 347: bc: command not found
  Bootstrapping CENTOS 6.5
  Please wait...
  Installing system packages:
    - gcc
    - make
    - git
    - patch
    - python
    - python-devel
    - libffi-devel
    - createrepo
    - yum-utils
    - PyYAML
    - rpm-build
    - python-pip
    - python-argparse
    - python-setuptools
    - python-six
  Package gcc-4.4.7-4.el6.x86_64 already installed and latest version
  Package 1:make-3.81-20.el6.x86_64 already installed and latest version
  Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version
  Package patch-2.6-6.el6.x86_64 already installed and latest version
  Package yum-utils-1.1.30-14.el6.noarch already installed and latest version
  Package rpm-build-4.8.0-37.el6.x86_64 already installed and latest version
  Warning: RPMDB altered outside of yum.
  Removing conflicting packages:
    - python-paste-deploy1.5
    - python-webob1.0
    - python-nose1.1
    - python-routes1.12
    - python-sphinx10
  No Match for argument: python-paste-deploy1.5
  No Match for argument: python-webob1.0
  No Match for argument: python-nose1.1
  No Match for argument: python-routes1.12
  No Match for argument: python-sphinx10
  Bootstrapping python rpms.
  Installing python requirements:
    - python-argparse
    - python-cheetah>=2.4.4
    - python-iniparse
    - python-iso8601>=0.1.8
    - python-keyring>=1.6.1,<2.0
    - python-netifaces>=0.5
    - python-ordereddict
    - python-pbr>=0.5.21,<1.0
    - python-progressbar
    - python-psutil>=0.6.1,<1.0
    - PyYAML>=3.1.0
    - python-six>=1.4.1
    - python-termcolor
  YYOOM INFO: Installing packages:
  YYOOM INFO:   - python-argparse
  YYOOM INFO:   - python-cheetah>=2.4.4
  YYOOM INFO:   - python-iniparse
  YYOOM INFO:   - python-iso8601>=0.1.8
  YYOOM INFO:   - python-keyring>=1.6.1,<2.0
  YYOOM INFO:   - python-netifaces>=0.5
  YYOOM INFO:   - python-ordereddict
  YYOOM INFO:   - python-pbr>=0.5.21,<1.0
  YYOOM INFO:   - python-progressbar
  YYOOM INFO:   - python-psutil>=0.6.1,<1.0
  YYOOM INFO:   - PyYAML>=3.1.0
  YYOOM INFO:   - python-six>=1.4.1
  YYOOM INFO:   - python-termcolor
  YYOOM ERROR: Transaction failed: Test Transaction Errors:   file 
/usr/lib64/python2.6/site-packages/yaml/__init__.py from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/__init__.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/__init__.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/error.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/error.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/composer.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/composer.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/constructor.py from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/constructor.pyc from install 
of python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/constructor.pyo from install 
of python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/cyaml.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/cyaml.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/dumper.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/dumper.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/emitter.py from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/emitter.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/emitter.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/events.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/events.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/loader.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/loader.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/nodes.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/nodes.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/parser.py from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/parser.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/parser.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/reader.py from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/reader.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/reader.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/representer.py from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/representer.pyc from install 
of python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/representer.pyo from install 
of python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/resolver.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/resolver.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/scanner.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/scanner.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/serializer.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/serializer.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/tokens.pyc from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64
    file /usr/lib64/python2.6/site-packages/yaml/tokens.pyo from install of 
python-yaml-3.09-3.el6.rf.x86_64 conflicts with file from package 
PyYAML-3.10-3.el6.x86_64

  Bootstrapping CENTOS 6.5 failed.

  $ yum repolist all 
  Loaded plugins: fastestmirror
  Loading mirror speeds from cached hostfile
   * base: mirror.keystealth.org
   * epel: mirrors.kernel.org
   * extras: mirrors.sonic.net
   * rpmforge: mirror.webnx.com
   * updates: mirror.pac-12.org
  repo id                                                                       
           repo name                                                            
                                                               status
  C6.0-base                                                                     
           CentOS-6.0 - Base                                                    
                                                               disabled
  C6.0-centosplus                                                               
           CentOS-6.0 - CentOSPlus                                              
                                                               disabled
  C6.0-contrib                                                                  
           CentOS-6.0 - Contrib                                                 
                                                               disabled
  C6.0-extras                                                                   
           CentOS-6.0 - Extras                                                  
                                                               disabled
  C6.0-updates                                                                  
           CentOS-6.0 - Updates                                                 
                                                               disabled
  C6.1-base                                                                     
           CentOS-6.1 - Base                                                    
                                                               disabled
  C6.1-centosplus                                                               
           CentOS-6.1 - CentOSPlus                                              
                                                               disabled
  C6.1-contrib                                                                  
           CentOS-6.1 - Contrib                                                 
                                                               disabled
  C6.1-extras                                                                   
           CentOS-6.1 - Extras                                                  
                                                               disabled
  C6.1-updates                                                                  
           CentOS-6.1 - Updates                                                 
                                                               disabled
  C6.2-base                                                                     
           CentOS-6.2 - Base                                                    
                                                               disabled
  C6.2-centosplus                                                               
           CentOS-6.2 - CentOSPlus                                              
                                                               disabled
  C6.2-contrib                                                                  
           CentOS-6.2 - Contrib                                                 
                                                               disabled
  C6.2-extras                                                                   
           CentOS-6.2 - Extras                                                  
                                                               disabled
  C6.2-updates                                                                  
           CentOS-6.2 - Updates                                                 
                                                               disabled
  C6.3-base                                                                     
           CentOS-6.3 - Base                                                    
                                                               disabled
  C6.3-centosplus                                                               
           CentOS-6.3 - CentOSPlus                                              
                                                               disabled
  C6.3-contrib                                                                  
           CentOS-6.3 - Contrib                                                 
                                                               disabled
  C6.3-extras                                                                   
           CentOS-6.3 - Extras                                                  
                                                               disabled
  C6.3-updates                                                                  
           CentOS-6.3 - Updates                                                 
                                                               disabled
  C6.4-base                                                                     
           CentOS-6.4 - Base                                                    
                                                               disabled
  C6.4-centosplus                                                               
           CentOS-6.4 - CentOSPlus                                              
                                                               disabled
  C6.4-contrib                                                                  
           CentOS-6.4 - Contrib                                                 
                                                               disabled
  C6.4-extras                                                                   
           CentOS-6.4 - Extras                                                  
                                                               disabled
  C6.4-updates                                                                  
           CentOS-6.4 - Updates                                                 
                                                               disabled
  base                                                                          
           CentOS-6 - Base                                                      
                                                               enabled: 6,359+8
  c6-media                                                                      
           CentOS-6 - Media                                                     
                                                               disabled
  centosplus                                                                    
           CentOS-6 - Plus                                                      
                                                               disabled
  contrib                                                                       
           CentOS-6 - Contrib                                                   
                                                               disabled
  debug                                                                         
           CentOS-6 - Debuginfo                                                 
                                                               disabled
  epel                                                                          
           Extra Packages for Enterprise Linux 6 - x86_64                       
                                                               enabled:  10,346
  epel-debuginfo                                                                
           Extra Packages for Enterprise Linux 6 - x86_64 - Debug               
                                                               disabled
  epel-source                                                                   
           Extra Packages for Enterprise Linux 6 - x86_64 - Source              
                                                               disabled
  epel-testing                                                                  
           Extra Packages for Enterprise Linux 6 - Testing - x86_64             
                                                               disabled
  epel-testing-debuginfo                                                        
           Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Debug     
                                                               disabled
  epel-testing-source                                                           
           Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Source    
                                                               disabled
  extras                                                                        
           CentOS-6 - Extras                                                    
                                                               enabled:      14
  rpmforge                                                                      
           RHEL 6 - RPMforge.net - dag                                          
                                                               enabled: 4,649+1
  rpmforge-extras                                                               
           RHEL 6 - RPMforge.net - extras                                       
                                                               disabled
  rpmforge-testing                                                              
           RHEL 6 - RPMforge.net - testing                                      
                                                               disabled
  updates                                                                       
           CentOS-6 - Updates                                                   
                                                               enabled:  355+16
  repolist: 21,723

To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1271758/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to