- Community Home
- >
- HPE Community, China
- >
- 服务器
- >
- 服务器官方技术文章【转载】
- >
- "invalid URL to install files" when FTP Rolling Po...
服务器官方技术文章【转载】
1758616
成员
1965
在线
108874
解答
论坛
类别
Company
Local Language
返回
论坛
讨论平台
返回
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
博客
信息
社区语言
语言
论坛
博客
- 将帖子标记为未读
- 加注书签
- 订阅
- 禁止
- 订阅此主题的 RSS 提要
- 高亮显示此帖
- 打印此帖
- 报告不当内容
修改时间 10-18-2014 09:16 PM
修改时间 10-18-2014 09:16 PM
"invalid URL to install files" when FTP Rolling Pool Upgrade
Symptoms or Error Customer is unable to complete an automatic Rolling Pool Upgrade to XenServer 6\6.02 using FTP. The following error appears: "invalid URL to install files" Solution Complete the following procedure to fix the issue: Note: This procedure must be completed on each host being upgraded: Save a copy of accessor.py script. # cp /usr/lib/python2.4/site-packages/xcp/accessor.py /usr/lib/python2.4/site-packages/xcp/accessor.py_bak Use VI to edit file. # vi /usr/lib/python2.4/site-packages/xcp/accessor.py Find the line return url in lst. /return url in lst Comment the following line: #return url in lst Add the following line: return os.path.basename(url) in map(os.path.basename, lst Your screen should look similar to the following: lst = self.ftp.nlst(os.path.dirname(url)) #return url in lst return os.path.basename(url) in map(os.path.basename, lst) except Exception, e: logger.info(str(e)) return False Save and quit. Press ESC, then do a :wq!. Restart the toolstack. xe-toolstack-restart Disclaimer The above mentioned sample code is provided to you as is with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the sample code. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright in the code belongs to Citrix, any distribution of the code should include only your own standard copyright attribution, and not that of Citrix. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code.
以上表述为作者个人观点,不代表惠普公司,使用本网站,请遵守网站使用规则和条款
© 版权所有 2024 慧与发展有限责任合伙企业