[ https://issues.apache.org/jira/browse/CLOUDSTACK-6416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969593#comment-13969593 ]
Srikanteswararao Talluri commented on CLOUDSTACK-6416: ------------------------------------------------------ There is a problem with tools/appliance/definitions/systemvmtemplate64/postinstall.sh which gets cloudstack.tar.gz as below snapshot_url="https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=snapshot;h=HEAD;sf=tgz which fetches latest master. However, 4.2 branch has a different directory structure than master branch. Hence, postinstall.sh script is failing to include scripts in cloud-scripts.tar This issue can be fixed by fetching appropriate branch snapshot rather than from the latest one. snapshot_url="https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=snapshot;h=4.2;sf=tgz Will push this change in a while > Missing cloud-scripts in systemvm template built from 4.2 branch > ---------------------------------------------------------------- > > Key: CLOUDSTACK-6416 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6416 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: SystemVM > Affects Versions: 4.2.0 > Environment: 4.2 systemvm template > Reporter: Sateesh Chodapuneedi > Assignee: Srikanteswararao Talluri > Priority: Blocker > > cloud-scripts.tar is not built properly with scripts. It was filled up with > source code of cloudstack project from ACS git repository. > While building systemvm template, in postinstall.sh file, cloudstack source > would be downloaded from ACS git repository and patching scripts would be > bundled as cloud-scripts.tar after extracting cloudstack source tar ball. > Untar operation of source tar ball failed with error "no space left on > device". Build script is not failing at this point but this is resulting in > mal-formed cloud-scripts.tar. > cloudstack-HEAD-2a02369/awsapi/src/com/amazon/ec2/DescribeConversionTasksType.java > tar: /usr/share/cloud/cloud-scripts.tar: Cannot write: No space left on device > tar: Error is not recoverable: exiting now > ++ cd /opt > ++ rm -fr /opt/cloudstack-HEAD-2a02369 /opt/cloudstack.tar.gz > cloudstack.tar.gz > ++ chkconfig --add cloud-early-config > cloud-early-config: unknown service > ++ chkconfig cloud-early-config on > cloud-early-config: unknown service > ++ chkconfig --add cloud-passwd-srvr > cloud-passwd-srvr: unknown service > ++ chkconfig cloud-passwd-srvr off > cloud-passwd-srvr: unknown service > ++ chkconfig --add cloud > cloud: unknown service > ++ chkconfig cloud off > cloud: unknown service > Downloaded system vm template generated by jenkins from > http://jenkins.buildacloud.org/view/4.2/job/build-systemvm-4.2/ -- This message was sent by Atlassian JIRA (v6.2#6252)