devtest report error after adding '--enable-serial-console' to DIB_COMMON_ELEMENTS

Bug #1396839 reported by Yang Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Undecided
jiangfei

Bug Description

devtest report error after adding '--enable-serial-console' to DIB_COMMON_ELEMENTS

We are deploying tripleo on ubuntu 14.04. In order to login the VMs by 'virsh console', we added '--enable-serial-console' to DIB_COMMON_ELEMENTS.
(I found the create-node script checked this, wondering if this is the right way to do this.)
This works good with devtest_testenv.sh and devtest_seed.sh, the VMs' xml added the following lines:
"
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
"
But devtest_ramdisk.sh and devtest_undercloud.sh reported error:
"
+ acquire-image /home/j/tripleo/deploy-ramdisk-ironic /home/j/tripleo/diskimage-builder/bin/ramdisk-image-create -- -a i386 ubuntu deploy-ironic stackuser common-venv use-ephemeral pypi -u --offline --enable-serial-console
+ tee /home/j/tripleo/dib-deploy.log
ramdisk-image-create: unrecognized option '--enable-serial-console'
"
"
+ acquire-image /home/j/tripleo/undercloud /home/j/tripleo/diskimage-builder/bin/disk-image-create -- ubuntu -a i386 ntp baremetal boot-stack os-collect-config dhcp-all-interfaces neutron-dhcp-agent stackuser common-venv use-ephemeral pypi -u --offline --enable-serial-console rabbitmq-server nova-ironic ceilometer-collector ceilometer-api ceilometer-agent-central ceilometer-agent-notification ceilometer-undercloud-config horizon
+ tee /home/j/tripleo/dib-undercloud.log
disk-image-create: unrecognized option '--enable-serial-console'
"

The image-create scripts use DIB_COMMON_ELEMENTS as arguments, should we deal with DIB_COMMON_ELEMENTS before passing it to other scripts or we have a better way to enable serial console?

jiangfei (jiangfei0622)
Changed in tripleo:
assignee: nobody → jiangfei (jiangfei0622)
Yang Zhang (wosunoozzy)
Changed in tripleo:
status: New → Incomplete
status: Incomplete → New
Revision history for this message
jiangfei (jiangfei0622) wrote :

 DIB_COMMON_ELEMENTS should be add for 'enable-serial-console' not ''--enable-serial-console''.

Changed in tripleo:
status: New → Invalid
Revision history for this message
Yang Zhang (wosunoozzy) wrote :

Didn't notice that, I will try this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.