Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function "httpport" can not work on ubuntu + netboot=grub2 scenario #5869

Closed
hu-weihua opened this issue Dec 4, 2018 · 4 comments
Closed

Comments

@hu-weihua
Copy link

hu-weihua commented Dec 4, 2018

Function httpport can not work on ubuntu16.04.5 on p8vms diskful installation.

xcat version:

lsdef - Version 2.14.5 (git commit db3d2f08be0c3cd73db64c10eb9aa1fec99ba6e2, built Fri Nov 30 07:18:06 EST 2018)

The reproduce steps:

1 change the http port of httpd service from 80 to 8898

root@c910f03c09k03:/opt/xcat/share/xcat/tools/autotest/result# netstat -nat |grep 8898
tcp6       0      0 :::8898                 :::*                    LISTEN

2 change the site table

root@c910f03c09k03:/opt/xcat/share/xcat/tools/autotest/result# tabdump site|grep httpport
"httpport","8898",,

3 the definition of test node

root@c910f03c09k03:/opt/xcat/share/xcat/tools/autotest/result# lsdef c910f03c09k05
Object name: c910f03c09k05
    arch=ppc64el
    cons=kvm
    currchain=boot
    currstate=boot
    groups=all
    id=5
    ip=10.3.9.5
    mac=42:8a:0a:03:09:05|42:2c:0a:03:09:05!*NOIP*|42:e0:0a:03:09:05!*NOIP*
    mgt=kvm
    monserver=c910f03c09k03
    netboot=grub2
    nfsserver=c910f03c09k03
    os=ubuntu16.04.5
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles
    profile=compute
    provmethod=ubuntu16.04.5-ppc64el-install-compute
    serialflow=hard
    serialport=0
    serialspeed=115200
    status=booted
    statustime=12-04-2018 03:00:44
    tftpserver=c910f03c09k03
    updatestatus=synced
    updatestatustime=12-04-2018 03:12:39
    vmcpus=4
    vmhost=c910f03c09
    vmmemory=8192
    vmnicnicmodel=virtio-net-pci
    vmnics=br10,br50,br4093
    vmstorage=phy:/dev/mapper/vdiskvg-vdisk00n05
    xcatmaster=c910f03c09k03

4 install

rinstall c910f03c09k05 osimage=ubuntu16.04.5-ppc64el-install-compute

Diskful installation will hit below error in console:

   ┌────────────┤ [!!] Choose a mirror of the Ubuntu archive ├─────────────┐
   │                                                                       │
   │                          Bad archive mirror                           │
   │ An error has been detected while trying to use the specified Ubuntu   │
   │ archive mirror.                                                       │
   │                                                                       │
   │ Possible reasons for the error are: incorrect mirror specified;       │
   │ mirror is not available (possibly due to an unreliable network        │
   │ connection); mirror is broken (for example because an invalid Release │
   │ file was found); mirror does not support the correct Ubuntu version.  │
   │                                                                       │
   │ Additional details may be available in /var/log/syslog or on virtual  │
   │ console 4.                                                            │
   │                                                                       │
   │ Please check the specified mirror or try a different one.             │
   │                                                                       │
   │     <Go Back>                                          <Continue>     │
   │                                                                       │
   └───────────────────────────────────────────────────────────────────────┘


<Tab> moves; <Space> selects; <Enter> activates buttons
@hu-weihua
Copy link
Author

immarvin added a commit to immarvin/xcat-core that referenced this issue Dec 4, 2018
robin2008 pushed a commit that referenced this issue Dec 13, 2018
…scenario #5869 (#5871)

* support site.httpport in ubuntu diskless

* fix issue Function httpport can not work on ubuntu + netboot=grub2 scenario #5869
@robin2008 robin2008 modified the milestones: 2.15, 2.14.6 Dec 13, 2018
@immarvin
Copy link
Contributor

fix diskless support #5902

@zet809
Copy link

zet809 commented Jan 9, 2019

hi, @hu-weihua , if the fix is verified, pls close this issue.

@hu-weihua
Copy link
Author

Thanks @zet809, close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants