BOSH/CF package compilation time


Dmitriy Kalinin
 

We have fixed an issue with director->nginx communication on Director VM. (
https://github.com/cloudfoundry/bosh/commit/3e82ae48555c0f8c4f01ce339ca864d0cd85894f
)

It's available in bosh release 202+ / stemcell 3067+.

On Tue, Sep 15, 2015 at 1:51 PM, Satya Thokachichu <tsnraju(a)yahoo.com>
wrote:

While doing bosh export,I kept on getting 502 after copying packages
..Systemlevel resources looks good..Tried to locate compiled packages under
/var/vcap/data and /var/vcap/store..Once it fails,I cant find any data..Did
anybody encounter this issue ? Any help would be greatly appreciated
ubuntu(a)ip-10-0-0-146:~$bosh export release cf/214 ubuntu-trusty/3048

Director task 49
Started unknown
Started unknown > Binding deployment. Done (00:00:00)
......
Started preparing package compilation > Finding packages to compile.
Done (00:00:00)
Started 2015-09-15 16:07:02 UTC
Finished 2015-09-15 16:09:26 UTC
Duration 00:02:24

release-cf-214-on-ubuntu-trusty-stemcell-... downloading...Cannot download
resource `96c943ac-3891-4b32-9fc3-68a7db34eac5': HTTP status 502


Satya Thokachichu
 

While doing bosh export,I kept on getting 502 after copying packages ..Systemlevel resources looks good..Tried to locate compiled packages under /var/vcap/data and /var/vcap/store..Once it fails,I cant find any data..Did anybody encounter this issue ? Any help would be greatly appreciated
ubuntu(a)ip-10-0-0-146:~$bosh export release cf/214 ubuntu-trusty/3048

Director task 49
Started unknown
Started unknown > Binding deployment. Done (00:00:00)
......
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Started 2015-09-15 16:07:02 UTC
Finished 2015-09-15 16:09:26 UTC
Duration 00:02:24

release-cf-214-on-ubuntu-trusty-stemcell-... downloading...Cannot download resource `96c943ac-3891-4b32-9fc3-68a7db34eac5': HTTP status 502


Satya Thokachichu
 

Do I have to be on 3068 to get bosh export working? Also,Please post link if you got a chance to document the stuff..Appreciate your help


Satya Thokachichu
 

Hi, I am using 3029...I am unable to export it..It always gives me following error..Please advise

[root(a)ip-172-31-38-160 releases]# bosh export release cf/215 ubuntu-trusty/3029

Director task 624
Error 30011: Release cf/215 not found in deployment cf manifest

[root(a)ip-172-31-38-160 releases]# bosh releases
Acting as user 'admin' on 'bosh'

+------+----------+-------------+
| Name | Versions | Commit Hash |
+------+----------+-------------+
| cf | 215* | 2a4897df+ |
+------+----------+-------------+
(*) Currently deployed
(+) Uncommitted changes

Releases total: 1
[root(a)ip-172-31-38-160 releases]# bosh stemcells
Acting as user 'admin' on 'bosh'

+-----------------------------------------+---------------+---------+--------------------+
| Name | OS | Version | CID |
+-----------------------------------------+---------------+---------+--------------------+
| bosh-aws-xen-hvm-ubuntu-trusty-go_agent | ubuntu-trusty | 3029* | ami-49e04522 light |
| bosh-aws-xen-ubuntu-trusty-go_agent | ubuntu-trusty | 3000 | ami-6bf50e00 light |
| bosh-aws-xen-ubuntu-trusty-go_agent | ubuntu-trusty | 3029 | ami-cd97f9a8 |
+-----------------------------------------+---------------+---------+--------------------+

(*) Currently in-use

Stemcells total: 3
[root(a)ip-172-31-38-160 releases]# bosh deployments
Acting as user 'admin' on 'bosh'

+------+------------+----------------------------------------------+--------------+
| Name | Release(s) | Stemcell(s) | Cloud Config |
+------+------------+----------------------------------------------+--------------+
| cf | cf/215 | bosh-aws-xen-hvm-ubuntu-trusty-go_agent/3029 | none |
+------+------------+----------------------------------------------+--------------+

Deployments total: 1
[root(a)ip-172-31-38-160 releases]# bosh deployment
Current deployment is `/opt/cf/bosh/releases/cf-release/cf_np.yml'


Dmitriy Kalinin
 

Few bugs were fixed on 3068.

On Wed, Sep 9, 2015 at 9:53 PM, Mike Youngstrom <youngm(a)gmail.com> wrote:

Hi Dmitriy,

Is "export release" considered stable in 3042?

Thanks,
Mike

On Wed, Sep 9, 2015 at 9:12 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

We just recently introduced compiled releases feature. I have not had a
chance to document it yet, but in short it allows you to:

bosh export release cf/215 ubuntu-trusty/2068 on one Director

and later

bosh upload release release-cf-215-on...tgz on a second Director

No compilation will occur for a stemcell version 2068 on the second
Director when deploying cf.

On Wed, Sep 9, 2015 at 7:38 PM, Satya Thokachichu <tsnraju(a)yahoo.com>
wrote:

during bosh deploy..


Mike Youngstrom
 

Hi Dmitriy,

Is "export release" considered stable in 3042?

Thanks,
Mike

On Wed, Sep 9, 2015 at 9:12 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io> wrote:

We just recently introduced compiled releases feature. I have not had a
chance to document it yet, but in short it allows you to:

bosh export release cf/215 ubuntu-trusty/2068 on one Director

and later

bosh upload release release-cf-215-on...tgz on a second Director

No compilation will occur for a stemcell version 2068 on the second
Director when deploying cf.

On Wed, Sep 9, 2015 at 7:38 PM, Satya Thokachichu <tsnraju(a)yahoo.com>
wrote:

during bosh deploy..


Satya Thokachichu
 

Thanks much..I will try and let you know how it goes


Dmitriy Kalinin
 

We just recently introduced compiled releases feature. I have not had a
chance to document it yet, but in short it allows you to:

bosh export release cf/215 ubuntu-trusty/2068 on one Director

and later

bosh upload release release-cf-215-on...tgz on a second Director

No compilation will occur for a stemcell version 2068 on the second
Director when deploying cf.

On Wed, Sep 9, 2015 at 7:38 PM, Satya Thokachichu <tsnraju(a)yahoo.com> wrote:

during bosh deploy..


Satya Thokachichu
 

during bosh deploy..


Dmitriy Kalinin
 

Do you when using bosh-init or during bosh deploy?

On Wed, Sep 9, 2015 at 3:13 PM, Satya Thokachichu <tsnraju(a)yahoo.com> wrote:

Is there anyway to reduce CF/BOSH package compilation time during
deployments? It is taking roughly 15 minutes for each ..Just wanted to
check if we have any option to pre compile once and use it forever sorta
solution? Thanks for your help


Satya Thokachichu
 

Is there anyway to reduce CF/BOSH package compilation time during deployments? It is taking roughly 15 minutes for each ..Just wanted to check if we have any option to pre compile once and use it forever sorta solution? Thanks for your help