Skip to content

Reg: Error in applcation deployment with centos stemcell on vpshere. #108

Closed
harikrishna1210 opened this Issue Apr 1, 2013 · 7 comments

6 participants

@harikrishna1210

I took CentOS-6.3-x86_64-minimal.iso and created centos stemcell
with help of the stemcell tool followed by below site:
https://github.com/ankurcha/stemcell

Finally uploaded centos stemcell to vpshere micro bosh instance.It's successfully uploaded and i able to to see the output.
"bosh stemcells" command.

bosh stemcells

+----------------------+------------+-----------------------------------------+
| Name | Version | CID |
+----------------------+------------+-----------------------------------------+
| bosh-centos-stemcell | 1.5.0.pre2 | sc-4b4baf7d-3cbf-4b9e-b8a6-bba6ffbf2e07 |
| bosh-stemcell | 0.6.7 | sc-d21bff0b-a26f-4fae-8ee6-c8d1c5819f6d |
+----------------------+------------+-----------------------------------------+

Stemcells total: 2

Error:

Already i have one release that one is working with application deployment on ubuntu.

Now what i did edited manifest file relative to this and executed "bosh deploy",then i am getting below error.

bosh deploy

Getting deployment properties from director...
Compiling deployment manifest...
Please review all changes carefully
Deploying centos-deploy.yml' tohari' (type 'yes' to continue): yes

Director task 17

Preparing deployment
binding deployment (00:00:00)
binding releases (00:00:00)
binding existing deployment (00:00:00)
binding resource pools (00:00:00)
binding stemcells (00:00:00)
binding templates (00:00:00)
binding properties (00:00:00)
binding unallocated VMs (00:00:00)
binding instance networks (00:00:00)
Done 9/9 00:00:00

Preparing package compilation
finding packages to compile (00:00:00)
Done 1/1 00:00:00

Compiling packages
zabbix/0.1-dev: Timed out pinging to 8369250b-d783-4fd3-8a6f-521528f22b11 after 600 seconds (00:10:30)
Error 1/1 00:10:30

Error 450002: Timed out pinging to 8369250b-d783-4fd3-8a6f-521528f22b11 after 600 seconds

Task 17 error

Observed:

When i started "bosh deploy" new vm is getting created(power on) with centos stemcell but it's not getting IP,Bcz of this reason execution getting stopped and getting above error.Steps what i did for application deployment with ubuntu,For this also did same but vm is not getting deployed.

This problem with centos stemcell,I used ubuntu stemcell not giving any error.How to fix,Can you please suggest me if you found any mistake i did.

Thanks,
Hari.

@harikrishna1210

I am using this below as manifest file for deployment.

centos-deploy1.yml file.


name: centos-deploy1
director_uuid: 6ed4b624-2407-46c6-8051-c4235ba7de0b
release:
name: zab-rel
version: latest

networks:

  • name: default subnets:
    • reserved:
      • 10.117.38.1 - 10.117.38.177 static:
      • 10.117.38.178 - 10.117.38.180 range: 10.117.38.0/24 gateway: 10.117.38.253 dns:
      • 10.117.0.1
      • 10.117.0.2 cloud_properties: name: VM Network

resource_pools:

  • name: medium stemcell: name: bosh-centos-stemcell version: 1.5.0.pre2 network: default size: 1 cloud_properties: ram: 1024 disk: 8192 cpu: 1

compilation:
workers: 10
network: default
cloud_properties:
ram: 2048
disk: 4096
cpu: 4

update:
canaries: 1
canary_watch_time: 60000
update_watch_time: 60000
max_in_flight: 1
max_errors: 2

jobs:

  • name: zabbix template: zabbix instances: 1 resource_pool: medium networks:
    • name: default static_ips:
      • 10.117.38.178

properties:
vcenter:
address: 10.112.118.100
user: Administrator
password: chorus123!
datacenters:
- name: bosh
vm_folder: CF_VMs
template_folder: CF_Templates
disk_path: CF_Disks
datastore_pattern: boshdatastore
persistent_datastore_pattern: boshdatastore
allow_mixed_datastores: true
clusters:
- boshcluster

Note: In resource pool section i changed stemcell attributes,Then please see below as result.

For centos:

stemcell:
name: bosh-centos-stemcell
version: 1.5.0.pre2

result: It's not working.

For ubuntu:

stemcell:
name: bosh-stemcell
version: 0.6.7

result: It's working perfectly

Note: Can you please check once and tell me what needs to be done for fixing this above error.

Thanks,
Hari.

@oppegard
Cloud Foundry member

CentOS is currently not supported for BOSH stemcells, specifically in the bosh_agent codebase. If a 3rd party is building stemcells for BOSH, I'd suggest contacting them about issues you're having with their stemcells.

@oppegard oppegard closed this May 29, 2013
@mreider
mreider commented May 29, 2013

We are working on CentOS. We are going to keep issues open that reflect future work.

@mreider mreider reopened this May 29, 2013
@drnic
Cloud Foundry member
drnic commented Jun 11, 2013

Update: Martin has been working on #274

@pmenglund

FYI my centos stemcell builder hack (I've just made it work, not polished it or made it work alongside ubuntu) is here: https://github.com/pmenglund/bosh/tree/centos

@jfoley
jfoley commented Aug 15, 2013

@mreider - is this still something you are tracking?

@aramprice / @jfoley

/cc @tsaleh

@jfoley
jfoley commented Apr 19, 2014

Closing stale issue

CF Community Pair (@chou & @jfoley)

@jfoley jfoley closed this Apr 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.